Skip to content
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

Not working example for buit-in function DATEADD in README.builtin_functions.txt [CORE3102] #3480

Closed
firebird-automations opened this issue Aug 9, 2010 · 6 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @livius2

in file README.builtin_functions.txt

example for use function DATEADD is bad

select dateadd(-1 day for current_date) as yesterday
from rdb$database

word "for" is not valid

should be
select dateadd(-1 day to current_date) as yesterday
from rdb$database

Commits: f4573ba 37d3a58 d29c9df

@firebird-automations
Copy link
Collaborator Author

Modified by: @paulvink

Workflow: jira [ 18869 ] => Firebird [ 18870 ]

Project: Documentation [ 10005 ] => Firebird Core [ 10000 ]

Target: 2.5 RC3, 2.1.3, 2.1.4, 2.5.0 [ 10381, 10302, 10361, 10221 ]

Key: DOC48 => CORE3102

Planning Status: Unspecified

assignee: Paul Vinkenoog [ paulvink ] =>

@firebird-automations
Copy link
Collaborator Author

Commented by: @paulvink

Confirmed; this is an error in the example (a leftover from the initially implemented syntax, which was later corrected).
Moved to core team, as the README.*s are not within my jurisdiction ;-)

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants