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
Scimore Embedded in VB 6
Change SQL Server language setting
how to export the SSL certificate from Microsoft exchange 2003 in the .p12 format for mobile phone HTC Desire
Flash screen in vb.net 2005
After Windows update, NIC has limited or no connectivity
How to configure Remote SPAN or alternative option on HP Procurve 2626-PWR switch ?
'similar items' thumbnail linkusing php and mysql
Solaris 10 License Expire questions
fully uninstall Acrobat 8.2.2
Default User/Password for Panasonic DP-C405 Web Interface