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.
Author |
Topic |
Ali.M.Habib
Yak Posting Veteran
54 Posts |
Posted - 2012-05-07 : 04:24:43
|
I save query in .sql fileI need to call this query using bcp and execute it . any idea how to do that |
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2012-05-07 : 07:40:46
|
You wouldn't use bcp to execute a SQL script, you'd use sqlcmd. Details are here: http://msdn.microsoft.com/en-us/library/ms162773.aspx |
|
|
|
|
|