[freetds] Return the InsertID after an Insert?
James K. Lowden
jklowden at schemamania.org
Thu Mar 3 13:01:32 EST 2005
On Thu, 03 Mar 2005 12:02:47 +0000, craigs <s.craig at andronics.com> wrote:
> Cheers Bill,
>
> got it working now after taking a look on the link you supplied. Must
> bookmark it as well for future reference!
Shaun,
I wrote bsqldb as an illustration for writing db-lib programs. It binds
to any datatype, and deals with compute rows and such. It also correctly
sets the msg and err handlers, which is important but not usually
obviously so when starting out.
The comments are intended to help the newcomer understand what to do. I'd
appreciate it if you let me know if it's any help, or, if not, why not.
Regards,
--jkl
>
> Thanks,
>
> Shaun.
>
> Thompson, Bill D (London) wrote:
>
> >Shaun,
> >
> >You need a bit of db-library education!
> >I'd suggest you look at:
> >
> >http://sybooks.sybase.com/onlinebooks/group-cn/cng1250e/dblib
> >
> >or SQL server books online.
> >
> >Also a good place to start would be to look at some of the freetds
> >db-library unitttest programs:
> >
> ><freetds>/src/dblib/unittests
More information about the FreeTDS
mailing list