If you are using SQL Server, the @@IDENTITYID is what you want

miketany (kat)
(#95015@0)
2001-6-8 -05:00

回到话题: I can insert client data into db, but I can not query the recordId immidiately.

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论

URL:   
http://www.rolia.net/zh/post.php?f=0&p=95015