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 |
|
jung1975
Aged Yak Warrior
503 Posts |
Posted - 2005-04-03 : 18:11:12
|
| is there any way I can pass the parameters inside widecard?select * from Awhere p_name_last like '%@lname' and p_name_first like '%@fname'order by p_name_last |
|
|
Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)
7020 Posts |
Posted - 2005-04-03 : 18:46:55
|
| [code]select *from Awhere p_name_last like '%' + @lname and p_name_first like '%' + @fnameorder by p_name_last[/code]CODO ERGO SUM |
 |
|
|
|
|
|