Skip to content

Commit

Permalink
0005513: Prevented SQL Server GETDATE() and GETUTCDATE() functions fr…
Browse files Browse the repository at this point in the history
…om getting surrounded by quotes when imported as default values
  • Loading branch information
evan-miller-jumpmind committed Oct 5, 2022
1 parent 7f43af0 commit 7e62aa0
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -1881,6 +1881,8 @@ protected void printDefaultValue(String defaultValue, int typeCode, StringBuilde
|| defaultValueStr.toUpperCase().startsWith("SYSDATE")
|| defaultValueStr.toUpperCase().startsWith("SYSTIMESTAMP")
|| defaultValueStr.toUpperCase().startsWith("SYS_EXTRACT_UTC(")
|| defaultValueStr.toUpperCase().startsWith("GETDATE(")
|| defaultValueStr.toUpperCase().startsWith("GETUTCDATE(")
|| defaultValueStr.toUpperCase().startsWith("CURRENT_TIMESTAMP")
|| defaultValueStr.toUpperCase().startsWith("CURRENT_TIME")
|| defaultValueStr.toUpperCase().startsWith("CURRENT_DATE")
Expand Down

0 comments on commit 7e62aa0

Please sign in to comment.