﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-天生我才-文章分类-Database</title><link>http://www.blogjava.net/oscar-1981/category/3515.html</link><description /><language>zh-cn</language><lastBuildDate>Tue, 27 Feb 2007 11:45:39 GMT</lastBuildDate><pubDate>Tue, 27 Feb 2007 11:45:39 GMT</pubDate><ttl>60</ttl><item><title>Ms sqlserver的郁闷</title><link>http://www.blogjava.net/oscar-1981/articles/13665.html</link><dc:creator>天生我才</dc:creator><author>天生我才</author><pubDate>Wed, 21 Sep 2005 10:24:00 GMT</pubDate><guid>http://www.blogjava.net/oscar-1981/articles/13665.html</guid><wfw:comment>http://www.blogjava.net/oscar-1981/comments/13665.html</wfw:comment><comments>http://www.blogjava.net/oscar-1981/articles/13665.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/oscar-1981/comments/commentRss/13665.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/oscar-1981/services/trackbacks/13665.html</trackback:ping><description><![CDATA[java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]对<BR>象名 'room' 无效。<BR>at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source<BR>)<BR>at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)<BR>at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown<BR>Source)<BR>at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown<BR>Source)<BR>at com.microsoft.jdbc.sqlserver.tds.TDSExecuteRequest.processReplyToken(<BR>Unknown Source)<BR>at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Sour<BR>ce)<BR>at com.microsoft.jdbc.sqlserver.SQLServerImplStatement.getNextResultType<BR>(Unknown Source)<BR>at com.microsoft.jdbc.base.BaseStatement.commonTransitionToState(Unknown<BR>Source)<BR>at com.microsoft.jdbc.base.BaseStatement.postImplExecu<BR>te(Unknown Source)<BR><BR>at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source)<BR>at com.microsoft.jdbc.base.BaseStatement.executeQueryInternal(Unknown So<BR>urce)<BR>at com.microsoft.jdbc.base.BaseStatement.executeQuery(Unknown Source)<BR>at DbTest.init(DbTest.java:35)<BR>at DbTest.&lt;init&gt;(DbTest.java:25)<BR>at DbTest.main(DbTest.java:46)<BR>Press any key to continue...<BR><BR>在这儿，用户已经登陆上去，但是却不能访问里边的数据表，出现这个问题的原因在于sa用户为系统用户<BR>它虽然能够登陆数据库，但是storeManager数据库里边却没有这个用户的访问权限，所以，我们现在为这个数据库重新建立一个用户<BR>share ,建立过程如下：在storeManager数据库中选重用户 ---〉新建用户 -- 〉名称选择（这一步中有两个关键点 1：身份验证选sql身份验证，默认数据库选StoreManager）-〉建立新教色share ,此时更改程序，将用户登陆名和密码修改一下，重新运行程序<BR><BR><BR><BR>java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer] ????user?<BR><BR>这个错误搞了我半天，最后发现原来数据库表不能命名为user，靠 真是弱智！<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><img src ="http://www.blogjava.net/oscar-1981/aggbug/13665.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/oscar-1981/" target="_blank">天生我才</a> 2005-09-21 18:24 <a href="http://www.blogjava.net/oscar-1981/articles/13665.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>