Hi , i am executing my insert statements from .sql file ex:C:\Program Files\Microsoft SQL Server\90\tools\binn\osql.exe /S HostName\InstanceName /U xx /P xxxx /iD:InsertDB.sql
InsertDB.sql file having 5 insert statements,suppose if any one of the statement is failed how i can know that result. i want to see that result through text file . is it possible?
Hi visak, thanks for your replay, my problem is solved with :error command, could you help me how to append one text file to another text file.is it possible through commands?
Hi visak, thanks for your replay, my problem is solved with :error command, could you help me how to append one text file to another text file.is it possible through commands?
Thanks in advance.
fdfsd
fdfsd
you mean through sqlcmd line commands?
------------------------------------------------------------------------------------------------------ SQL Server MVP http://visakhm.blogspot.com/