Re: Trying to add primary key to existing database.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

  I don't know cPanel, but I expect it can run SQL directly, most panels
can.  Use the ALTER TABLE ADD {INDEX|KEY} syntax to add indexes/primary
keys.  You can use multiple columns, which together form a unique value
to create your primary key.

Niel

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux