首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > PB >

对象有关问题

2012-12-29 
对象问题int stunumber,stuagestring stuname//获得用户输入的学号stunumber integer(sle_1.text)select

对象问题
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.你的表名是否区分大小写

热点排行