Problems with string literals and etc.c.odbc.sql functions

Marc Schütz via Digitalmars-d-learn digitalmars-d-learn at
Sun Dec 20 04:04:04 PST 2015

On Saturday, 19 December 2015 at 17:30:02 UTC, Kagamin wrote:
> On Saturday, 19 December 2015 at 13:20:03 UTC, Marc Schütz 
> wrote:
>> As this is going to be passed to a C function
> No, ODBC API is designed with multilingual capability in mind, 
> it doesn't rely on null terminated strings heavily: all string 
> arguments support length specification.

Nice, then SQL_NTS means "null terminated string" and should be 
replaced by `mystring.length`...

More information about the Digitalmars-d-learn mailing list