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 |
|
sachinsamuel
Constraint Violating Yak Guru
383 Posts |
Posted - 2004-07-05 : 02:55:12
|
| Hi All,Is the queries which we write in the SQL Task are precompiled or do we need to write storeprocedures for them. Thanks in advanceSachin Samuel |
|
|
derrickleggett
Pointy Haired Yak DBA
4184 Posts |
Posted - 2004-07-05 : 11:55:38
|
| It's better to write a stored procedure for them and call the stored procedure from the SQL Task. There's a small possibility that the execution plan having the code directly in the SQL Task; however, it's small especially if there is very much time between uses.MeanOldDBAderrickleggett@hotmail.comWhen life gives you a lemon, fire the DBA. |
 |
|
|
|
|
|