阅读背景:

检索sql server中新插入的行的值

来源:互联网 

I am developing android application. In my application i have used sql server2008 R2. I am inserting the row in the sql server on some click event. Now i want to fetch the first column's value from the newly inserted row. The first column's value of that schema is auto generated.I am inserting the value from the second column in my insert query. I am using jdbc. In .net to achieve this functionality method ExecuteScalar() is der. But what in java. I have done lots of googling but haven't found any thing. Help me if you the solution. I am developing android application. In my appl




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: