Re: Sybase DATE and TIME data types
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
Please remove me from this mailing list. Thanks. Sent from my iPhone > On Sep 11, 2015, at 4:04 AM, [email protected] wrote: > > Dear All, > > I'm not really a C programmer (or C++ for that matter) but I wanted to be able to use datacopy to copy tables with DATE and TIME data types. So, I decided to have a crack at adding them to FreeTDS. > > My testing has been successful, although I'm not sure the way I've coded it is correct so any help/fixes would be appreciated. > > I've attached a rich text document with the details. The first part proposes a quick and dirty fix, while the second is my best guess at the "correct" way of doing things. > > Bare in mind that this is currently only for Sybase to Sybase. I'm going to look at doing this for SQL Server too but that's a bit more complicated! > > Cheers, > > Matthew. > <Getting datacopy to correctly copy date and time data.rtf> > _______________________________________________ > FreeTDS mailing list > [email protected] > http://lists.ibiblio.org/mailman/listinfo/freetds