Please anybody solve my this problem.I am connection my standalone application through sqlserver2000.Code is compile fine but at run time i got error .I create the table 'accounts' in master database .I run query successfuly and got the result fine in sql analyzer but error when i try to get the data through application. error is:
exception generated java.sql.SQLException:[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name 'accounts'
Well, this looks if you have some problem with SQL driver or the user you are using to get the data doesn't have enough credentials. Check the permisssions for the user you are using in the code and, if he has atleast read access.