[freetds] [ freetds-Patches-1106465 ] quote column names for bcp
ZIGLIO, Frediano, VF-IT
Frediano.Ziglio at vodafone.com
Fri Jan 21 04:53:28 EST 2005
>
> Its only in TDS 7.0 (for SQL) that we need to send the table
> desciption
> as part of the bcp init syntax.
> So the square brackets are safe.
>
I didn't notice it... however it do not cause a problem if code detect
TDS version. For names like "test]xx" whoever you have to quote as
"[test]]xx]", not "[test]xx]". Current code handle even this weird
condition.
freddy77
More information about the FreeTDS
mailing list