freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- 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
-
[freetds] bcp, for browse and flags,
ZIGLIO Frediano, 04/29/2003
- <Possible follow-up(s)>
- RE: [freetds] bcp, for browse and flags, Lowden, James K, 04/29/2003
- RE: [freetds] bcp, for browse and flags, Thompson, Bill D (London), 04/29/2003
- RE: [freetds] bcp, for browse and flags, ZIGLIO Frediano, 04/29/2003
- RE: [freetds] bcp, for browse and flags, Thompson, Bill D (London), 04/29/2003
Archive powered by MHonArc 2.6.24.