Solved

upsizing the queries to SQL server

Posted on 1998-06-22
1
197 Views
Last Modified: 2010-08-05
I have been able to link tables from MS Access to SQL server with no problem, my question is : is there a way to link or upsize the queries that I have done in Access to the SQL server along with the tables?
0
Comment
Question by:khal
1 Comment
 
LVL 2

Accepted Solution

by:
jbiswas earned 50 total points
ID: 1091582
Nope, you cannot move the queries. MS SQL Server is designed very differently from Access(and rightly so!). You have to learn to write stored procs which essentially contain these queries or you have to execute these queries from your front end. Writing a store dproc to execute these queries is not a big deal. If you just want output from a SQL query then just write the sql and store it in a .txt file and execute it using isql. For example if your sql query is stored in a file called test.txt here is how you can execute it.

isql -Uuser_name -Ppasswd -Sserver_name -itest.txt -otest.out

where test.out is a output file for the query results.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Introduced in Microsoft SQL Server 2005, the Copy Database Wizard (http://msdn.microsoft.com/en-us/library/ms188664.aspx) is useful in copying databases and associated objects between SQL instances; therefore, it is a good migration and upgrade tool…
Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.

707 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now