Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get the sql statement of the queries of MS Access?

 
Steve Gao
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone!

I tried many methods to get the defination of the queries of MS Access. But no result could be returned. First, I used ODBC and DatabaseMetaData interface to try. Secondly, downloaded jdbc from Microsoft. No use. Help! I need convert these queries to stored procedures of MS Sql server. Who can help me? Thanks a lot.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can just use DTS for this. Through SQL Server Enterprise Manager, use the Import tool, point it at your Access schema and let SQL Server handle the conversion - its going to be pretty awkward trying to do this through JDBC.
 
Glen D'cruz
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Steve Gao:
Hi everyone!

I tried many methods to get the defination of the queries of MS Access. But no result could be returned. First, I used ODBC and DatabaseMetaData interface to try. Secondly, downloaded jdbc from Microsoft. No use. Help! I need convert these queries to stored procedures of MS Sql server. Who can help me? Thanks a lot.


I cannot understand your problem. Are you trying to use stored procedures using MS Excel as the database ? If you are trying this. I had the same problem when using callable statements. I figure the format is different.
Try using SQLServer as it works well. If you need help in this I will send out an example during the weekend. Do reply.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic