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
Exchange Server mail delay.
Windows Server 2008 R2: missing start menu of installed applications
Inventory System (Freeware) Recommendation
Creating an AD Query
DPM 2010 - Agent Install Problem (On 2k3 DC)
Virus and/or Malware redirecting my links
How to Combine The Data in Two Excel Sheet into One Using VBA
Jmagick how to resample when changing DPI
importing mdb into sql server 2008 with vb6
Change Username on SBS2008