Solved

Default path for ISQL

Posted on 2000-05-10
3
1,156 Views
Last Modified: 2012-08-13
I have just started using SQL server a few weeks ago.  How can I set the default path in ISQL for scripts?  Every time I go to open a script it defaults to C:\mssql\binn  I keep my scripts in a different folder, how can I change this default?  A registry setting or something?

Jsan
0
Comment
Question by:Jsan
3 Comments
 
LVL 8

Expert Comment

by:chigrik
ID: 2798551
You can not change this :(
ISQL always uses by default the directory ISQL was run from.
0
 
LVL 1

Author Comment

by:Jsan
ID: 2798607
Can I use a shortcut from a different folder?
0
 
LVL 1

Accepted Solution

by:
manchula earned 50 total points
ID: 2798666
Run isql from the folder, where you have the script files. You need not have to give path for either the isql exe file, or for your script files.

(When you install SQL Server, automatically, its Binn directory will be added to the Path variable.)

Hope this helps you.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
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
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

786 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