Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Update sql from Batch File

Author  Topic 

Stevie
Starting Member

2 Posts

Posted - 2011-07-07 : 06:22:19
Hi All

I want to create a batch file to update a database on sql...This is my Batch file please help..."SQLCMD -U STEVIE-PC -P 68791 -S SQL Server10.0.1600-STEVIE-PC\Admin -v dbname = LINKTEC -i C:\Program Files\Import Update.sql"
pause.
Any help pls

Kind Regards Stevie

STM

nigelrivett
Master Smack Fu Yak Hacker

3385 Posts

Posted - 2011-07-07 : 06:23:42
Not sure what you are asking for - seems like you already have the batch file.

==========================================
Cursors are useful if you don't know sql.
SSIS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -