以下是我尝试过但未通过的一些代码。第一次尝试:
UPDATE criminals
set criminal_id = '&criminal_id'
set "last" = '&last'
set "first" = '&first'
set street = '&street'
set city = '&city'
set state = '&state'
set zip = '&zip'
set phone = '&phone';enter code here
第二次尝试:
INSERT INTO criminals (&criminal_id, &last, &first, &street, &city, &state, &zip, &phone);
第三次尝试:
INSERT INTO criminals
VALUES (set criminal_id = '&criminal_id'
set "last" = '&last'
set "first" = '&first'
set street = '&street'
set city = '&city'
set state = '&state'
set zip = '&zip'
set phone = '&phone');
我的1,000,000次其他尝试只是对这些主题的变化。我知道它相对简单,但我的品牌打破了数据库设计和Oracle的新手,我谦卑地请求你的帮助。谢谢:))
答案 0 :(得分:0)
以下对我有用。
插入犯罪分子 价值观('& Criminal_ID','&最后','&''& Street',' & City''& State''& Zip','& Phone''& v_status' ,'& p_status');