CURRENT_TIMESTAMP inserted incorrectly
Dave Pendleton
Posts: 104 Bronze 3
SQL Prompt inserts
This is incorrect, the function does not allow (or require) the parens.
CURRENT_TIMESTAMP()
This is incorrect, the function does not allow (or require) the parens.
Comments
SELECT CURRENT_TIMESTAMP
I've tried this in SQL Prompt 3.6. Which version are you using?
I get the parens every time.
Does this make any difference. It doesn't change my version 'not' adding parentheses whether I tick it or not but it's the only option that might affect this.
[Yes, I know I can type them but then what's the point of the configurable option?]
If I tick this and refresh the cache then every time that I type CURRENT_TIMESTAMP SQL Prompt will insert parens. If I then untick this option it will still insert the parens. I need to close down SSMS for this change of option to take effect. This is unwanted behaviour and I'll bring it to the attention of the SQL Prompt developers.
Let me know if your software exerts the same behaviour.