• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SQL Server 2000,jdbc problem,

 
Aijaz Soomro
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear friends, i have created an odbc for SQL Server 2000, during jdbc, connection with databse is build, while, particular table is not accessible, an exception is thrown, while u know that using SQL Server first create data base, then come in that database, then use the tables of that database, while in jdbc there is only concept that creat odbc ,then use tables , so Pla tell me that how to,Select the Database ,and use the tables
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the database is defined in the jdbc url e.g.
jdbc:sybase:Tds:<DATABASESERVER>:<PORT>/<DATABASE>
then you also have to set up your login data properly
Olli
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic