Microsoft
Software
Hardware
Network
Question : Casting local variable int as varchar to concatenate into another string using transact-sql
I'm trying to add a local variable of type int to a string to display to the user but I keep getting a null value.
Code Snippet:
1:
set @denial_reason = 'Patient does not meet income criteria: ' + CAST(@poverty_level as varchar)
Open in New Window
Select All
Answer : Casting local variable int as varchar to concatenate into another string using transact-sql
Try this
set @denial_reason = 'Patient does not meet income criteria: ' + CAST(ISNULL(@poverty_level
,'') as varchar)
Random Solutions
"You don't have the license required to use this Active X Control"
Network Icons in Taskbar NOT Working Properly
Looking for software to draw simple shapes as seen in attached screen shot
Moving and Renaming Files using Excel/VB
Using ADO in VBA for Query with multiple parameters
SSRS Add Group Names to Totals
PHP Web Service
File Copying through CopyFileEx of kernel32.dll in vb.net
Can't enable store passwords using reversible encryption
why is edgetransport.exe running...It is not intalled!