jeffshumphreys / MySQLCLRFunctions

Free SQLCLR functions tested on SQL Server 2019. That are used.
MIT License
7 stars 1 forks source link

NVARCHAR(MAX) is probably a bad idea #12

Closed jeffshumphreys closed 9 months ago

jeffshumphreys commented 4 years ago

Not a bug per se, but if it keeps blowing memory because of it, then it's a bug.

Try SqlChar and alternate named functions like "Left{100}C" Ugh!!!!! bizarro function names!

Not SubString4K for heaven's sake.

And I want a variant whereby VARCHAR(100) is used. Maybe even the default, which is another breaking change, but is NVARCHAR really the standard? Over double the space for ASCII? Now "FirstName" is NVARCHAR of course. That is also another reason to have hyper-specific naming.