If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Microsoft SQL Server > Append error in text file

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-08-03, 07:12
Franky Franky is offline
Registered User
 
Join Date: Dec 2001
Location: Canada
Posts: 45
Question Append error in text file

I am running a script in batch ... with isqlw and oSql...

I want to loog all error in the process but a each command the file was reseted.... who can I append the error in a text file??

Command exemples:
isqlw.exe -S %SERVER_NAME% -E -d master -o log_install.log - i install.sql
echo ...
isqlw.exe -S %SERVER_NAME% -E -d %DATABASE_NAME% -o log_install.log -i create_table.sql

At the end only error in create_table.sql was there!!

Who can I do??

thanks
__________________
Franky
FBoucheros@hotmail.com
Reply With Quote
  #2 (permalink)  
Old 10-08-03, 21:37
sqlguy7777 sqlguy7777 is offline
Registered User
 
Join Date: May 2003
Location: UK
Posts: 220
Howdy

Try coding the job as a job, not iSQL. Then you CAN append output to a file in the Advanced section of the job step.

Cheers

SG
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On