Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

Newbie Question - "N" ?

$
0
0

I'm trying to understand the following SQL:

SELECT empid, country, region, city, 
CONCAT(country, N',' + region, N',' + city) AS location
From HR.Employees

I understand the SELECT statement and the CONCAT function but what I don't understand are the "N"s.  Does "N" just cause the ',' to be omitted if the column is Null?  


Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>