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
Create linked server from MS Sql to oracle server
Difference between SSID and BSSID
What are the different types of .NET assemblies?
XenServer 5.5 The Storage repository is not available.
VB.Net 2008 Problem passing data between forms
SSL Certificates for Exchange 2010
Restoring a Dell studio 1535 to factory default
Email Being Blocked
Find button on form
Not Allowing Scheduling Set Minutes Before or After An Already Scheduled Event