aspose 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
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