Microsoft
Software
Hardware
Network
Question : where case - parameteres
In reporting serives i have one parameter multivalue. I want the user type 'All ' appears all rows,
but i also want type some values '123213','2999', '345345'
then..my sql is :
... where (agrupador IN(@OlapAgrupador) OR @OlapAgrupador ='All ' )...
this is ok when only i type one value or when i type 'All ', but when i type 2 values is error ("AN EXPRESSION NON-BOOLEAN TYPE ESPECIFIED IN A CONTEXT WHERE A CONDITION IS EXPECTED, NEAR ',')
when my sql is only : where agrupador IN(@OlapAgrupador) , this is all right. (but i have not posibility 'All ')
Why not support multivalues (in) ?
Answer : where case - parameteres
Swap it
... where (agrupador IN(@OlapAgrupador) OR 'All' IN (@OlapAgrupador) )...
Random Solutions
Exchange 2010 inbound attachment size limit
ORA: 6533 Subscript out of range
Delete user from Bes Express but system still thinks they are in the database
Crystal Reports to Accept Parameters Then Display Reports Accordingly
Connect database created from Sharepoint 2010 beta in SharePoint 2010 RTM.
You Tube Download Software
Need help on rollover buttons in flash in Flash CS4 and AS 3
Get ckeditor textarea value with jquery
PC faxing error
Internet shortcut via batch file