PG用双引号引起来,这意味着它不是字符串。字符串在SQL中用单引号分隔。但我建议将其编写为:
INSERT INTO ITEM ( list the columns here) SELECt item_s1.NEXTVAL, '786936161878', common_lookup_id,'The Sandlot', 'American baseball Classic', 'PG', TO_DATE('1993/04/01 01:00:00', 'yyyy/mm/dd hh24:mi:ss'), 1, SYSDATE, 1, SYSDATE FROM common_lookup WHERe common_lookup_type = 'DVD_WIDE_SCREEN';
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)