Current location: Hot Scripts Forums » Other Discussions » Database » MS-SQL to Access query compatibility question


MS-SQL to Access query compatibility question

Reply
  #1 (permalink)  
Old 05-20-09, 12:41 PM
HammondEgger HammondEgger is offline
New Member
 
Join Date: Dec 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Question MS-SQL to Access query compatibility question

Hi Everyone,

This is my first post on this forum.

I have a question regarding a DB conversion project I am in the middle of. I'm migrating a site from a MS-Acess DB to MS-SQL. I can convert the DB without trouble, but my problem lies in the queries that were written to query the Access DB.

There are a few things different about the syntax between Access SQL and MS-SQL's SQL. Do any of you know if there is a switch within MS-SQL that will render MS-SQL compatible with SQL written for Access? I have found nothing on this so far so I am hoping some person on this forum smarter than myself might know.

Thanks in advance!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 05-21-09, 10:49 PM
Pat Phelan Pat Phelan is offline
Newbie Coder
 
Join Date: Apr 2009
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Microsoft Access uses the Microsoft Jet database engine, which is where the "intersting" SQL syntax originates. I don't know of any way to get Microsoft SQL to use the Jet dialect directly (from within MS-SQL), but you can get there another way.

You can leave the data in Microsoft SQL, but create an ADP file so that you get a Jet "front end" that can use the Jet syntax to access data from a Microsoft SQL Server.

I'm trying to remember to visit here more often, but I'm not always good about remembering especially when under deadlines (like I am right now). If you have questions about this process, you can post them here or you can visit DBForums which is another iNet site that deals specifically with database issues. You can visit the DBForums Microsoft Access Forum or DBForums Microsoft SQL Forum for more information.

-PatP
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OOP C-Sharp DB Access Wrapper Question digioz ASP.NET 1 09-08-08 10:54 AM
Problem comparing date in MS Access and c# query akshaycjoshi Windows .NET Programming 1 08-16-08 08:50 PM
Declared Functions skipper23 PHP 4 12-17-03 11:06 AM
index page not showing up skipper23 PHP 3 12-15-03 02:10 PM
change my field in this example sal21 ASP 3 07-14-03 03:49 AM


All times are GMT -5. The time now is 07:35 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.