aspose file tools*
The moose likes JDBC and the fly likes MySQL adding property to a coloum Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "MySQL adding property to a coloum" Watch "MySQL adding property to a coloum" New topic
Author

MySQL adding property to a coloum

Pradeesh Pakkat
Greenhorn

Joined: Jul 09, 2014
Posts: 14
hi all,

I am new to MySQL.How can i add unique feature for my specified coloum? I am using MySQL.

Please help
E Armitage
Rancher

Joined: Mar 17, 2012
Posts: 892
    
    9
Do you mean add unique constraint? Look in the mysql refmanual for the syntax of ALTER TABLE ADD CONSTRAINT clauses which you can use to add a unique constraint.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: MySQL adding property to a coloum