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
Calculating a CRC-16
system idle 99% however the cpu usage runs at between 25 & 45 %
Gateway SA1 shutting down intermittently
Scheduled Task Not Getting Scheduled Through Group Policy
How to enable/license terminal server
how to install certificate in SBS 2008
I am trying to load windows xp on a hp g71-340us laptop. The factory installed OS is windows 7 Home Premium. When the set-up disk is loading i get a Stop 0x0000007b BSOD.
VNC server Ubuntu 10.04
SQL 2008 SSIS Package Issue