|
Posted by Erland Sommarskog on 08/14/05 01:07
Marcin Zmyslowski (marcinz@kapy.bydg.pl) writes:
> Hello everyone!
>
> I have the following problem. I`ve opened a Query Analyser and write the
> statement:
>
> -isql -S 'PL6XXXX' -i 'd:\SQL_Server_2000\Raport_WWW.sql'
>
> I got the following erorr message:
>
> Incorrect syntax near -S
>
> How to call the statement which is placed inside the 'Raport_WWW.sql'
> file, which is located on folder D:\SQL_Server_2000??? Do I have to do
> it in the cmd panel???
Yes, you must open a command-line window. Query Analyzer is for running
T-SQL commands. ISQL is a Windows program, and not an SQL command.
--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinfo/productdoc/2000/books.asp
Navigation:
[Reply to this message]
|