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
Where to buy Office 2003 OEM Basic CHEAP (but leagal)?
Problem with telephone format in access form
Macro to export outlook contacts to Excel hangs
Best way to virtualise existing windows PC's
File Conversion window opens when I try open a Word .doc
New removable HDD not detected
Windows 2003 Server R2 Gives intermittent stop error 0000007f
How to create links in access tables
Adding user-input date range to query in MS Access
SSRS 2008 images after text