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 |
|
mikejohnson
Posting Yak Master
153 Posts |
Posted - 2004-05-27 : 15:47:39
|
| is it possible to pass a complete where clause into an sp? i tried and received errors. i ask this cuz i need to create the where clause on the client side. so...CREATE PROCEDURE spTest(@vcWHERE varchar(50)) AS select * from table where @vcWHEREGO |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2004-05-27 : 15:53:30
|
| No you can't. But you can do something similar if you use dynamic sql. Search the forums for examples.Tara |
 |
|
|
|
|
|