Hi, all you happy people...
Big problem I have, hope you can help solve it!
Task looks like:
procedure makes command files *.sql to be executed on different servers
they are started by
exec master..xp_cmdshell 'osql ...'
Bad thing - commands perform VERY long time,
and control returns from windows to stored procedure AFTER the end of it execution.
It turns to be, that they execute ONE BY ONE!
People, help!
How can I start osql from stored procedure
and return immedeately??? Hm???