Microsoft
Software
Hardware
Network
Question : Need help with CASE statement
I have read CASE syntax, but I am still confuse. I want to write a CASE base on targetID as follow:
targetID = 1
FabricToSend="1 yard"
targetID = 2
FabricToSend = "2 yard"
i have no clue on how to start. :(
can someone guide me?
thanks
Answer : Need help with CASE statement
SELECT FabricToSend = CASE (TargetID) when 1 then '1 yard' when 2 then '2 Yard' else null end
or
SELECT FabricToSend = = CAST (TargetID as varchar)+ ' yard'
Random Solutions
How can I Link Access 2003 to SQL 2005 Express through an ODBC when everything is on one PC?
Outlook, search through PST files
wpf property or data trigger
T-SQL -- INSERT Statement Continue On Error
Access file to create a map with links.
'Me.RecordsetClone.FindFir<wbr />st' with 2 criteria
Does anyone know how to create a check in check out Inventory.
Using Goal Seek Function in Access
ASP.NET 2.0 web app referencing adodb and adodb.net
Access control inside nested gridview