Quantcast
Channel: Answers for "need help in stored procedures"
Browsing all 6 articles
Browse latest View live

Answer by Kev Riley

your stored procedure will need to look like thiscreate proc emp_select ( @empname varchar(50) ) as select * from emp where empname like @empname +'%'

View Article



Answer by Fatherjack

I would have added this as a comment on Kev's answer but the code wont format ...Just to make the search a little more flexible you might want to add a leading %create proc emp_select ( @empname...

View Article

Answer by Matt Whitfield

I'm also adding an answer due to lack of code format and lack of characters :)I would do a few things differently...I would use nvarchar rather than varchar, simply because of internationalisation.I...

View Article

Answer by Kev Riley

your stored procedure will need to look like thiscreate proc emp_select ( @empname varchar(50) ) as select * from emp where empname like @empname +'%'

View Article

Answer by Fatherjack

I would have added this as a comment on Kev's answer but the code wont format ...Just to make the search a little more flexible you might want to add a leading %create proc emp_select ( @empname...

View Article


Answer by Matt Whitfield

I'm also adding an answer due to lack of code format and lack of characters :)I would do a few things differently...I would use nvarchar rather than varchar, simply because of internationalisation.I...

View Article
Browsing all 6 articles
Browse latest View live


Latest Images