Created
December 14, 2012 18:34
-
-
Save jstenquist/4287537 to your computer and use it in GitHub Desktop.
Standard MySQL Alter table process
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// connect to database | |
mysql -h 192.168.1.1 -u myuser -p'mypass' db_phonebook | |
// alter the table | |
ALTER TABLE contacts MODIFY first_name varchar2(100) not null; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment