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 > General > Applications & Tools > WinSQL Command Line options problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-27-04, 01:29
sshanker sshanker is offline
Registered User
 
Join Date: Apr 2004
Posts: 2
Exclamation WinSQL Command Line options problem

Hi All,
I am using WinSQL to run queries from a query file(.txt).
I am running a query file from the command prompt and giving a file as the output file parameter.
I have 2 queries regarding the same:

1. If I give the wrong output file, the file contents do not change (or if it does not exist, it is not created)

2.If I give an incorrect query, the output file is created blank i.e. the errors are not written in the output file.Instead, if I use the -g option(for debug mode), a debug.log file is created and it contains the errors.
However, the problem is I might need to execute multiple queries using one command and as the results of the queries executed successfully are saved in the results file and the errors in the .log file, I cannot make out which query executed successfully and which did not.


Why is this happening.
Is there any any solution?

And, have all the queries in my query file to be one-line queries?

Regards,
Siddharth.

Last edited by sshanker; 04-27-04 at 01:36.
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