freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Michael Peppler <mpeppler AT peppler.org>
- To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
- Subject: Re: datetime format
- Date: Thu, 20 Dec 2001 07:52:13 -0800
Bradley Bell writes:
> On Tue, Dec 18, 2001 at 02:09:44AM -0500, James K. Lowden wrote:
> > Hi Bradley,
> >
> > Bradley Bell wrote:
> > > isql uses db-lib, so maybe this is a limitation of db-lib?
> >
> > What you're seeing in isql is db-lib's default conversion, the result (I
> > assume) of calling dbbind to make a string of a datetime field. A
> > db-lib application can call dbdatecrack() and construct any string it
> > likes (or rely on server-side conversions, of course).
>
> Ah, I think I see now. I think that php's mssql module does this.
> Maybe I should try and make the sybase modules follow the same convention
> (I'm using the sybase_ct, so I think I would need to use cs_dt_info().
Actually that'd be cs_dt_crack() (although I don't know if FreeTDS
implements that yet).
Michael
--
Michael Peppler - Data Migrations Inc. - http://www.mbay.net/~mpeppler
mpeppler AT peppler.org - mpeppler AT mbay.net
International Sybase User Group - http://www.isug.com
-
Re: datetime format
, (continued)
- Re: datetime format, Bradley Bell, 12/17/2001
- Re: datetime format, James Cameron, 12/17/2001
- Re: datetime format, Michael Peppler, 12/17/2001
- Re: datetime format, James K. Lowden, 12/18/2001
- Re: datetime format, Steve Langasek, 12/19/2001
- Re: datetime format, Brian Bruns, 12/19/2001
- Re: datetime format, Franck Martin, 12/19/2001
- Re: datetime format, Steve Langasek, 12/19/2001
- Re: datetime format, Bradley Bell, 12/19/2001
- Re: datetime format, Bradley Bell, 12/19/2001
- Re: datetime format, Michael Peppler, 12/20/2001
- Re: datetime format, Geoff Winkless, 12/24/2001
Archive powered by MHonArc 2.6.24.