• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

run sql file using JDBC

 
Tusshar Fasate
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have one sql file which contains number of sql commands like create table,inserting data into table ,select queries like.
i want to run this file on sql server and i should get output of this file also.
How can i do this?
 
Campbell Ritchie
Sheriff
Pie
Posts: 50188
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you been through the Java™ Tutorials? That is a good section.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic