|
-
March 25th, 2001, 09:18 PM
#1
Stored Procedure
CREATE PROCEDURE sp_SearchName
@v2 char
AS
select name, sex from inf_tbl where name like @v2%
If the user input 'M' , the procedure can show all names start from 'Mxxxx',
but I can't show this .
What's wrong with this procedure ?
I think there is something wrong with operator 'like'.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|