+ -
当前位置:首页 → 问答吧 → 新手请教~~~~

新手请教~~~~

时间:2010-09-13

来源:互联网

程序中写sql:select a  fron   table  where b= 1234;
报错:SQLConnect failed: {error} STATE=46, CODE=1004, MSG=[DataDirect][ODBC 20101 driver][20101]ORA-01004: default username feature not supported; logon denied

也就是说是不是要在该SQL语句中加上数据库的用户名和密码及server,这个SQL该怎么写?谢谢。

作者: candytao819   发布时间: 2010-09-13

你没有建立连接吧。
还有是from不是fron

作者: renxiao2003   发布时间: 2010-09-13

看不明白

作者: duolanshizhe   发布时间: 2010-09-13

不太明白,或许是前面的条件设置的不对吧!
首先语句感觉有些不妥,比如数据库中有个表名为test ,语句我觉得应该是"select a from test where b=1234;"

作者: pennyc20090218   发布时间: 2010-09-13

相关阅读 更多

热门下载

更多