Skip to Content.
Sympa Menu

freetds - RE: [freetds] bcp, for browse and flags

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO Frediano" <Frediano.Ziglio AT vodafoneomnitel.it>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] bcp, for browse and flags
  • Date: Tue, 29 Apr 2003 17:33:41 +0200

>
> Hi,
>
> Do we hreally have an issue, or have I misunderstood...?
>
> in tds_get_data_info (TDS 5) we have :
>
> curcol->column_identity = (curcol->column_flags & 0x40) > 1;
>
> in tds7_get_data_info (TDS 7) we have :
>
> curcol->column_identity = (curcol->column_flags & 0x10) > 0;
>
> so we can get this already from the dummy select issued in
> bcp_init()....
>
> Bill
>

Yes, but for tds4.2 the best way is do a "select * from table_name for
browse" FOR BROWSE garant that key/id informations are returned from your
select in all tds versions.

freddy77




Archive powered by MHonArc 2.6.24.

Top of Page