It's not a secret anymore!
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 Head First Android this week in the Android 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
 
Don't get me started about those stupid light bulbs.
 
subject: SQL Statement to CREATE a Table with an Autonumber field as its unique identifier
 
It's not a secret anymore!