Skip to Content.
Sympa Menu

freetds - RE: [freetds] [ freetds-Patches-1106465 ] quote column names for bcp

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] [ freetds-Patches-1106465 ] quote column names for bcp
  • Date: Fri, 21 Jan 2005 10:53:28 +0100

>
> 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




Archive powered by MHonArc 2.6.24.

Top of Page