Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2001-12-04 : 09:17:51
|
| James Glover writes "Hello,First let me say, thanks for this stored procedure. I is ratheringenious. But I do have a question about it.Can you dynamically build a SELECT statement in the stored procedurewith this? By this, I mean if a user was to pass 3 values to the storedprocedure, can I take those three values and dynamically build thestatement so it can say "... WHERE ColumnName LIKE '%@array_value%' ANDColumnName LIKE '%@array_value%'. Then execute the sql statement.Not sure that this can be done. Any help you can give would be greatlyappreciated.Thanks,James Glover" |
|
|
|
|
|