由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - DB2 identity column question
相关主题
JDBC: How to get Identity after insertOracle之JDBC问题
How to handle inserting value to Identity column in sql server 2005搞database的有必要知道java吗? java被oracle买了,2个是不是很紧密?
[转载] Whcich DB Software to Install?谁设置干过IBM ODBC to iSeries 400 上的DB2?
Question about Oracle DriverWhich server shoule I use
[转载] Java/JSP/Servlets... and Database(Oracle/DB2)Re: How to change Default Buffer Size for Long Columns?(string size exceeds 1K)
a question for JDBCHow to drop a column from a table in DB2
Desperate help neede: DB2 connection in JSP Through JDBC driverSQL问题请教: add one more column
Db2 里设置通信时TCP/IP的端口和远端用JDBC问题这个cassandra paging的解决方案怎么样? (转载)
相关话题的讨论汇总
话题: db2话题: identity话题: column话题: question话题: insert
进入Database版参与讨论
1 (共1页)
b****e
发帖数: 1275
1
The question is, after I insert a row to a DB2 table which has an identity
column, how do I go about retrieving the id that was automatically generated?
Is there a DB2 system function or something that I can call? I'm using Java
(JDBC) to make the insert if that makes a difference
aw
发帖数: 127
2
@@identity

generated?

【在 b****e 的大作中提到】
: The question is, after I insert a row to a DB2 table which has an identity
: column, how do I go about retrieving the id that was automatically generated?
: Is there a DB2 system function or something that I can call? I'm using Java
: (JDBC) to make the insert if that makes a difference

1 (共1页)
进入Database版参与讨论
相关主题
这个cassandra paging的解决方案怎么样? (转载)[转载] Java/JSP/Servlets... and Database(Oracle/DB2)
How to store data locally?a question for JDBC
Table Merge (SQL Server)Desperate help neede: DB2 connection in JSP Through JDBC driver
What are two methods of retrieving SQL?Db2 里设置通信时TCP/IP的端口和远端用JDBC问题
JDBC: How to get Identity after insertOracle之JDBC问题
How to handle inserting value to Identity column in sql server 2005搞database的有必要知道java吗? java被oracle买了,2个是不是很紧密?
[转载] Whcich DB Software to Install?谁设置干过IBM ODBC to iSeries 400 上的DB2?
Question about Oracle DriverWhich server shoule I use
相关话题的讨论汇总
话题: db2话题: identity话题: column话题: question话题: insert