I write the query in mssql like
PRINT N'Rahul'
PRINT ' And '
PRINT N'Sandeep'
PRINT ' And '
PRINT N'Sandeep'
When i execute the query result is display like:
Rahul
And
Sandeep
So i want the result is displayed in single line like:
Rahul And Sandeep
And what is the mean of N before the string.
Thanks in advance...

Sandeep KumarPosted Aug 17, 2015, 10:49 AM
Upendra Pratap ShahiPosted Aug 17, 2015, 12:47 PM
Rajeesh MenothPosted Aug 17, 2015, 11:49 AM
Rajeesh MenothPosted Aug 17, 2015, 11:45 AM
nvarchardata type, rather thanvarcharRahul PrajapatPosted Aug 17, 2015, 11:28 AM
@sandeep in many case we need to use many print statement .
Please give an example of query..
Manas MohapatraPosted Aug 17, 2015, 10:41 AM