Created
March 31, 2016 01:20
-
-
Save nullstyle/07d1a902155eaeca8456da7e0375cddc to your computer and use it in GitHub Desktop.
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
CREATE DATABASE test; | |
SET DATABASE = test; | |
CREATE TABLE test (v DECIMAL); | |
INSERT INTO test VALUES (DECIMAL '1.0'); | |
ALTER TABLE test ADD COLUMN v2 DECIMAL NOT NULL; | |
SELECT * FROM test; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment