-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Date expressions #276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Date expressions #276
Conversation
Added Substring function
…sions # Conflicts: # src/main/java/net/sf/jsqlparser/expression/ExpressionVisitor.java # src/main/java/net/sf/jsqlparser/expression/ExpressionVisitorAdapter.java # src/main/java/net/sf/jsqlparser/util/deparser/ExpressionDeParser.java # src/main/jjtree/net/sf/jsqlparser/parser/JSqlParserCC.jjt
Date expressions
-- parametrized distribution management URLs
Added scalar function CURRENT_TIME
…ssary, since repo is different)
Please sqash all connected commits to one. Make a pull request for each change (means issue). You know although github does state your PR as mergable, I still want to check the changes. Why should something like CURRENT_TIMESTAMP be a keyword? This could be easily handeled as a normal identifier or column name. This would be the more general approach too, since CURRENT_TIMESTAMP is a very SQLServer specific one. So each time an oracle user defines a column CURRENT_TIMESTAMP he will get it as a function. |
As you can see in http://users.atw.hu/sqlnut/sqlnut2-chp-4-sect-4.html#sqlnut2-CHP-4-SECT-4.1 not only the MS SQL Server supports this scalar functions. |
As I said (column names), were is the problem? Saying that I at the moment learned that CURRENT_TIMESTAMP is ANSI Sql. So provide a single squashed commit pr for exactly this issue and I will merge it. |
New pull request: #280 |
Added ANSI SQL scalar functions CURRENT_TIMESTAMP, CURRENT_TIME and CURRENT_DATE