Skip to content

Commit

Permalink
0005539: Support for a default value to generate a GUID using built in
Browse files Browse the repository at this point in the history
function on table creation
  • Loading branch information
joshahicks committed Oct 18, 2022
1 parent ff0a9be commit 65e8d16
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -1846,6 +1846,7 @@ protected void printDefaultValue(String defaultValue, int typeCode, StringBuilde
|| defaultValueStr.toUpperCase().startsWith("DATE '")
|| defaultValueStr.toUpperCase().startsWith("TIME '")
|| defaultValueStr.toUpperCase().startsWith("TIMESTAMP '")
|| defaultValueStr.toUpperCase().startsWith("UUID_GENERATE")
|| defaultValueStr.toUpperCase().startsWith("INTERVAL '")))
&& !(defaultValueStr.toUpperCase().startsWith("N'") && defaultValueStr.endsWith("'"));
if (shouldUseQuotes) {
Expand Down

0 comments on commit 65e8d16

Please sign in to comment.