读书人

对象有关问题

发布时间: 2012-12-29 10:28:09 作者: rapoo

对象问题
int stunumber,stuage
string stuname
//获得用户输入的学号
stunumber = integer(sle_1.text)

select Students.StuName,Students.StuAge
into :stuname,:stuage
from Students
where Students.StuNumber = :stunumber
using SQLca;

上面是我写的代码老是报错误
错误如下:
DataBase C0038:SQLTATE=S0002[Microsoft][ODBC SQL Server][SQL Server]对象名'Students'无效


大神求解决
只要是能出现这种情况的错误都给我说下的
[解决办法]
1.你的表名确实没有
2.你的数据库database是否设置正确
3.你的表名是否区分大小写

读书人网 >PB

热点推荐