I think it is different when running over freeTDS on linux, because when I tried to do it as two seperate commands, @@IDENTITY was empty. I think it has something to do with the concept of "current session", but I don't really know.
Nice work in Identity nabber for MSSQL, by the way.
Thanks,
Scott
In reply to Re: Re: Re: Getting identity after autoincr in FreeTDS/MSSQL/DBI
by scain
in thread Getting identity after autoincr in FreeTDS/MSSQL/DBI
by scain
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |