由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - JDBC: How to get Identity after insert
相关主题
DB2 identity column questionsome JDBC Oracle related questions
how to improve the performance of Oracle Insert operation?请教一个sql server的问题
PowerBuilder QBE problem一个JDBC的问题,希望大家指教!
a simple question about T-SQLHELP! SQL Server vs JDBC question
How to handle inserting value to Identity column in sql server 2005急问一个奇怪的sql server数据库问题
help! 怎么insert一个多行的string问一个可能看起来很怪的问题
[转载] JDBC 处理日期的问题(日期插入数据库)请教一个问题,big data入库
JDBC<======================>Oracle8iSQL server stored procedure 求助
相关话题的讨论汇总
话题: identity话题: jdbc话题: insert话题: get话题: after
进入Database版参与讨论
1 (共1页)
z*q
发帖数: 29
1
Hi,
Anybody know how to get Identity (MS-SQL) after the
"insert"? I mean get the Identity column value without using
another retrieve ("select"). And in some case, the addition
select can't work before the Identity is the ONLY primary
key. I know in PowerBuilder, there is some way to do that.
But I don't know how to do it in JDBC.
Thanks a lot.
1 (共1页)
进入Database版参与讨论
相关主题
SQL server stored procedure 求助How to handle inserting value to Identity column in sql server 2005
简单问题help! 怎么insert一个多行的string
Oracle 问 题 请 诸 位 大 侠 指 教, 急 急 急!!![转载] JDBC 处理日期的问题(日期插入数据库)
PowerBuilder help!!!!!!JDBC<======================>Oracle8i
DB2 identity column questionsome JDBC Oracle related questions
how to improve the performance of Oracle Insert operation?请教一个sql server的问题
PowerBuilder QBE problem一个JDBC的问题,希望大家指教!
a simple question about T-SQLHELP! SQL Server vs JDBC question
相关话题的讨论汇总
话题: identity话题: jdbc话题: insert话题: get话题: after