Skip to content

Instantly share code, notes, and snippets.

@loiclefevre
Created April 13, 2022 08:04
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save loiclefevre/7ca0a67b7f4f7e6546de0704029fb003 to your computer and use it in GitHub Desktop.
Long identifiers since 12.2 release (2017)
-- Supporting 128 bytes long identifiers since 2017
CREATE TABLE my_table_which_really_deserves_such_a_long_name (
unique_identifier_that_explains_it_all_very_easily NUMBER,
-- Also supporting 32767 bytes for VARCHAR2 since 2013
message VARCHAR2(32767)
);
INSERT INTO my_table_which_really_deserves_such_a_long_name
VALUES ( 1, 'Hello World!' );
1 row inserted.
SELECT * FROM my_table_which_really_deserves_such_a_long_name;
UNIQUE_IDENTIFIER_THAT_EXPLAINS_IT_ALL_VERY_EASILY MESSAGE
--------------------------------------------------- -------------
1 Hello World!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment