Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

upsizing the queries to SQL server

Posted on 1998-06-22
1
Medium Priority
?
222 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
jbiswas earned 200 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

705 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