• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Self destruct mode activated. Instructions for deactivation encoded in this tiny ad.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic