MSSQL Wert für Variable - wofür steht das N?
Hallo Admins,
ich habe eine Verständnisfrage. Wenn in MSSQL Werte für Variablen angegeben werden steht oft ein N mit dabei. Wofür ist das. Ich habe diesbezüglich leider nichts brauchbares gefunden. Danke für eure Hilfe.
EXEC HumanResources.uspGetEmployees @lastname = N'Ackerman', @firstname = N'Pilar';
Gruß Joni
EXEC HumanResources.uspGetEmployees @lastname = N'Ackerman', @firstname = N'Pilar';
Gruß Joni
Please also mark the comments that contributed to the solution of the article
Content-Key: 178549
Url: https://administrator.de/contentid/178549
Printed on: April 26, 2024 at 09:04 o'clock
2 Comments
Latest comment
Hallo Joni,
das N' (National language character set ) symbolisiert Unicode-Zeichen. You must precede all Unicode strings with a prefix N when you deal with Unicode string constants in SQL Server
Gruß,
gemini
das N' (National language character set ) symbolisiert Unicode-Zeichen. You must precede all Unicode strings with a prefix N when you deal with Unicode string constants in SQL Server
Gruß,
gemini