Skip to content

Instantly share code, notes, and snippets.

@paul
Created October 8, 2008 20:37
Show Gist options
  • Save paul/15579 to your computer and use it in GitHub Desktop.
Save paul/15579 to your computer and use it in GitHub Desktop.
paul=# CREATE TABLE test (name VARCHAR(5));
CREATE TABLE
paul=# INSERT INTO TEST (name) VALUES ('123456');
ERROR: value too long for type character varying(5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment