Benutzer-Werkzeuge

Webseiten-Werkzeuge


csharp:nvarcharmax

Dies ist eine alte Version des Dokuments!


How to create NVarchar(max) Sqlparameter

This is how you explicitly set nvarchar(max):

script

cmd.Parameters.Add("@JobNumbers", SqlDbType.VarChar, -1);

If you're really concerned with performance you might want to consider passing a table of integers: http://stackoverflow.com/a/10779593/465509

Quelle: http://stackoverflow.com/questions/21087950/how-to-create-nvarcharmax-sqlparameter-in-c

csharp/nvarcharmax.1434539583.txt.gz · Zuletzt geändert: 2016/04/02 00:37 (Externe Bearbeitung)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki