不知道错误是什么,但是得到了这个错误。 java.sql.SQLSyntaxErrorException:ORA-00936:缺少表达式
INSERT INTO DATABASE_APP_INFO
(
TECHNOLOGY, SERVICE_DOMAIN, SYSTEM, BUSINESS_PROCESS_SEQUENCE
, APPLICATION, BUSINESS_VALUE, INTERFACE_BATCH_JOB_SCRIPT
, TECHNOLOGY_OWNER, TECHNOLOGY_MANAGER, TECHNOLOGY_SME
, BUSINESS_OWNER, OWNER_NAME, PLATFORM, PREFIX
)
VALUES
.NET/C++, x Recognition, Metadata & Reporting System,
, Aardvark, User interface to listen to TV station audio recorded by Monitoring System, Interface
,Graves, Graves, K.Ray, T.Nuccio
, LANDMARK, ORACLE RAC, LDSMETA
答案 0 :(得分:1)
添加括号和引号:
INSERT INTO DATABASE_APP_INFO
(
TECHNOLOGY, SERVICE_DOMAIN, SYSTEM, BUSINESS_PROCESS_SEQUENCE
, APPLICATION, BUSINESS_VALUE, INTERFACE_BATCH_JOB_SCRIPT
, TECHNOLOGY_OWNER, TECHNOLOGY_MANAGER, TECHNOLOGY_SME
, BUSINESS_OWNER, OWNER_NAME, PLATFORM, PREFIX
)
VALUES
(
'.NET/C++', 'x Recognition', 'Metadata & Reporting System', ''
, 'Aardvark', 'User interface to listen to TV station audio recorded by Monitoring System', 'Interface'
, 'Graves', 'Graves', 'K.Ray'
, 'T.Nuccio', 'LANDMARK', 'ORACLE RAC', 'LDSMETA'
)
值周围的引号用于将引号之间的字符分组为字符串;所以很明显哪些角色属于每个领域。
VALUES之后的括号需要显示当前行的开始和结束。