[thelist] mssql stored procedure-using a variable for 'AND' and'OR'

Joel D Canfield joel at bizba6.com
Mon Aug 25 17:12:43 CDT 2008


I'm back . . .

> comma-separated-values in as a varchar, and then parsed it in the SQL
> stored procedure.

parsed it, how? my searches led me to some fairly convoluted SQL, which
I hope isn't the answer ;)

> In addition, I passed in some flags to say how the CSVs 
> should be handled.

I don't see in your example where we're setting whether the select is OR
or AND-is that what you mean here?

much thankage, honest

joel



More information about the thelist mailing list