Microsoft
Software
Hardware
Network
Question : Reading in and set value in stored procedure
I have a parameter passed in to a stored procedure. I need to check the first 4 characters if they are = to 'abcd' I need to set another variable to 'defg' and vice versa I tried this with a case statement but couldn't get it too run. Any ideas?
Answer : Reading in and set value in stored procedure
SELECT @var = CASE WHEN LEFT(@param, 4) = 'abcd' THEN 'defg' ELSE @param END
Random Solutions
Maxtor OneTouch 4 Family drive is no longer working
prstat vs top command
date input as string
Syntax error (missing operator) in query expression
Replacing Keyboard on Toshiba Portege A600
Looking for Excel User Function not Text to Columns to Convert text values to date values.
Sysprep failed to set computername
How to declare the document I'm working in
extending jQuery autocomplete plugin functionality
how the BIOS read (load) the first 512 bytes of a bootable hard disk