This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes IDENTITY_INSERT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "IDENTITY_INSERT" Watch "IDENTITY_INSERT" New topic
Author

IDENTITY_INSERT

Raj Kumar
Ranch Hand

Joined: Sep 19, 2005
Posts: 65
Hi,
I want to identify if a table has an "IDENTITY_INSERT" property using java is there any method to identify that...


database : MSSQLServer.

Thanks in advance.
David Ulicny
Ranch Hand

Joined: Aug 04, 2004
Posts: 724
No, this is something MSSQL specific, so use some MSSQL mechanism to detect this. There are lot of system stored procedures which should give you this information.


SCJP<br />SCWCD <br />ICSD(286)<br />MCP 70-216
 
Consider Paul's rocket mass heater.
 
subject: IDENTITY_INSERT
 
Similar Threads
Problem with OJB
Identity feild in Sybase.
Trying to send "SET IDENTITY_INSERT...ON"
Delete file when the file downloaded.
Identifying use cases