Solved

upsizing the queries to SQL server

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

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

Suggested Solutions

When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

867 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

20 Experts available now in Live!

Get 1:1 Help Now