File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: IDENTITY_INSERT