salmeida@ciasc.gov.br

  • Hi all,

    I'm trying to run via .bat a script .sql using -osql, but i don't receipt messages of .sql execution.. anybody can help me?

    my .bat:

    osql -E -i d:\producao\multimidia.sql

    -o d:\producao\multimidia.log

    thanks

  • From the directory where my.bat exists, open a CMD window and issue: osql /?

    Do you see any message about not finding osql?

    If you see the help message, have you examined d:\producao\multimidia.log? You should see the same output that you would see in Query Analyzer results when running this script.

    Does the account that runs my.bat have permissions to execute and perform all tasks in d:\producao\multimidia.sql?

    Andy

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply