wolves Posted January 27, 2006 Share Posted January 27, 2006 is it possible?[code] SELECT * FROM table1 IF(SOMEFIELD = 'SOMETHING') BEGIN WHERE SOMEOTHERFIELD = 'SOMEOTHERTHING' END [/code]i'm trying to atribute some other clauses im my sql if somefield have somevalue is it possible? Quote Link to comment https://forums.phpfreaks.com/topic/3262-mssql-conditions/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.