Y
yc-zhj
Unregistered / Unconfirmed
GUEST, unregistred user!
1。添加列
Alter Table stuDB Add 数学 integer
报错:
project manprj.exe vaised exception class EDBEngineError whith message 'Name not unique in this context.
File or directory does not exist.
File:E:/programe/Data/resttemp.DB
Table dose not exist.
table:E:/programe/Data/resttemp.DB
Tield:数学
Table:resttemp.DB
table:E:/programe/Data/stuDB.
process stopped use step or Run to continue.
2。删除列
Alter table StuDB drop column 数学
报错:
.......Class ENOResultse with message'Error creating cursor handle',
process stopped
.........
invalid field name
Field:数学
但以上两条语句可实现表的添加删除列,如将要添加或删除的字段学用
Edit1.text就不能实现添加删除如:
Query1.sql.add('Alter'+filelistbox1.fileName+'drop column '+Edit1.text);
报错:
....class ENOResultse with message'Error creating cursor handle',
process stopped.
........
invalid field name
Field:?
3。就连指定宽度或用SQL删除一个表下的所有记录也出现类似的报错消息,
不知如何实现,
望各位大虾多指教!
Alter Table stuDB Add 数学 integer
报错:
project manprj.exe vaised exception class EDBEngineError whith message 'Name not unique in this context.
File or directory does not exist.
File:E:/programe/Data/resttemp.DB
Table dose not exist.
table:E:/programe/Data/resttemp.DB
Tield:数学
Table:resttemp.DB
table:E:/programe/Data/stuDB.
process stopped use step or Run to continue.
2。删除列
Alter table StuDB drop column 数学
报错:
.......Class ENOResultse with message'Error creating cursor handle',
process stopped
.........
invalid field name
Field:数学
但以上两条语句可实现表的添加删除列,如将要添加或删除的字段学用
Edit1.text就不能实现添加删除如:
Query1.sql.add('Alter'+filelistbox1.fileName+'drop column '+Edit1.text);
报错:
....class ENOResultse with message'Error creating cursor handle',
process stopped.
........
invalid field name
Field:?
3。就连指定宽度或用SQL删除一个表下的所有记录也出现类似的报错消息,
不知如何实现,
望各位大虾多指教!