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
Creating Next and Previous Record Button
Autofill Date Field in Access 2007
Visual Basic Code - Excel - Merge multiple worksheets in an excel workbook into single worksheet
TMG - UDP NAT
migrating SQL databases to another server and get some weird error messages
Microsoft Access ADP file and Office Service Pack 3 problem
bodytype.
Block DNS Lookups for certain domains
Need to connect a DataGridView with a database
Question on how deep can I go with the IIF()