This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes SQL Statement to CREATE a Table with an Autonumber field as its unique identifier Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "SQL Statement to CREATE a Table with an Autonumber field as its unique identifier" Watch "SQL Statement to CREATE a Table with an Autonumber field as its unique identifier" New topic
Author

SQL Statement to CREATE a Table with an Autonumber field as its unique identifier

Dave Turner
Ranch Hand

Joined: Mar 13, 2001
Posts: 60
Hi,
just wondering if it is possible to create a table with an autonumber field using an SQL, statement. I am using Hypersonic SQL for my database at the moment, but im hoping to find an SQL statement that will work with any db.
Thanks
Dave
 
rocket mass heater kickstarter
 
subject: SQL Statement to CREATE a Table with an Autonumber field as its unique identifier