Solved

upsizing the queries to SQL server

Posted on 1998-06-22
1
203 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Via a live example, show how to shrink a transaction log file down to a reasonable size.

808 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