Posted by Kamyk on 08/14/05 01:10
Uzytkownik "Erland Sommarskog" <esquel@sommarskog.se> napisal w wiadomosci
news:Xns96B210B9EBAYazorman@127.0.0.1...
> 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
>
How would the statement look like if I would like to open run in in Query
Analyser??
Thank you very much for help
Marcin
[Back to original message]
|