Solved

upsizing the queries to SQL server

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Activity Monitor detail 2 28
Syntax error with Dates where clause 10 49
Powershell v3 - SQLCMD 3 27
how to restore or keep sql2000  backups useful... 2 18
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.
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
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

827 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