- 论坛徽章:
- 0
|
sybase: ASE 12.0
操作系统: AIX
表结构:
create table lv_control
(
devno char(10) not null,
devdate char( not null,
devtime char(6) not null,
acno char(30) not null,
type char(4) not null,
limitamt char(20) ,
useamt char(20) ,
acur char(4) ,
remark1 char(30) ,
remark2 char(30) ,
remark3 char(30)
)
create index index_acnotype on lv_control(acno,type)
sql语句:EXEC SQL INSERT lv_control VALUES ("8000000001", "20080808", "100101", "775877587758", "7103", "28000.00", "0.00", "0","","","" ;
报错:sqlcode=[-128],errinfo=[The name '8000000001' is illegal in this context. Only c
onstants, constant expressions, or variables allowed here. Column names are ill
egal.
但是 我用脚本 或者 直接sql语句 是可以把记录插进去的。 请高人指点。谢谢 |
|