Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

if statements in where clause

Status
Not open for further replies.

lunchbox88

Programmer
Feb 17, 2004
208
US
Is it possible to use an if...then statement in the WHERE clause of a stored proc? If so, what is the proper syntax?
 
No you cannot, look up the Case statement in Books online.

Questions about posting. See faq183-874
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top