Problems? Is your data what you think it is? | |
PerlMonks |
Re: Getting identity after autoincr in FreeTDS/MSSQL/DBIby Anonymous Monk |
on Nov 09, 2001 at 22:43 UTC ( [id://124433]=note: print w/replies, xml ) | Need Help?? |
I would bet that this is happening because you're trying to do both in one statement. try doing the insert, then grab the identity with a second call..
cooincidentally, my first post here spoke to this issue, albeit from Win32. Identity nabber for MSSQL
In Section
Seekers of Perl Wisdom
|
|