Solved

Auto convert Jet SQL to T-SQL

Posted on 2000-03-22
4
254 Views
Last Modified: 2010-05-18
Does anyone know of a program which will take my access queries and convert them automatically into SQL7 stored procedures
0
Comment
Question by:freedmanrp
  • 2
4 Comments
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 2645155
Nope
0
 
LVL 32

Accepted Solution

by:
bhess1 earned 25 total points
ID: 2646069
Try looking over this document:

http://msdn.microsoft.com/library/officedev/off2000/acconChooseHowToUpsizeApplication.htm

It discusses using the Upsizing Wizard to convert to SQL Server.  You should be able to use this for your queries:

"Queries   The Upsizing Wizard changes queries by converting them to either views or stored procedures and upsizing Access SQL syntax to use SQL Server SQL syntax. Select queries are converted to views. Sorted queries are converted to a combination of views and stored procedures to allow for nesting and sorting (Views can be nested but can't contain ORDER BY clauses; stored procedures can contain ORDER BY clauses but can't be nested). Parameterized queries, queries that depend on a parameterized query, and action queries are converted to stored procedures. You may need to manually convert queries that did not upsize (such as those that were nested too deeply). SQL Passthrough queries, data definition queries, and union queries are not upsized. "
0
 

Author Comment

by:freedmanrp
ID: 2707380
Thank you very much.
0
 
LVL 32

Expert Comment

by:bhess1
ID: 2708695
You're quite welcome :)
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question