We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Submitted by: Peter Peter (cuteqt)
Is related to QA609
Hey, I was told on Stackoverflow that this might be a bug, some I'm submitting it here.
I tried to following SQL statement:
create view FOO as select * from BAR where extract(year from BAR.SOME_DATE) = '2011' with check option;
But I receive an error massage, saying, "SQL error code = -203. Inappropriate self-reference of column."
However, the following statement will work properly:
create view FOO as select * from BAR where BAR.SOME_DATE between '2011-01-01' and '2011-12-31' with check option;
Commits: 778cf94 FirebirdSQL/fbt-repository@e77f2cb
====== Test Details ======
Source description was found here: http://stackoverflow.com/questions/20505769/inappropriate-self-reference-of-column-when-using-with-check-option-in-fireb
The text was updated successfully, but these errors were encountered:
assignee: Adriano dos Santos Fernandes [ asfernandes ]
Sorry, something went wrong.
status: Open [ 1 ] => Resolved [ 5 ]
resolution: Fixed [ 1 ]
Fix Version: 2.5.3 [ 10461 ]
status: Resolved [ 5 ] => Resolved [ 5 ]
QA Status: Done successfully
Test Details: Source description was found here: http://stackoverflow.com/questions/20505769/inappropriate-self-reference-of-column-when-using-with-check-option-in-fireb
Link: This issue is related to QA609 [ QA609 ]
asfernandes
No branches or pull requests
Submitted by: Peter Peter (cuteqt)
Is related to QA609
Hey, I was told on Stackoverflow that this might be a bug, some I'm submitting it here.
I tried to following SQL statement:
create view FOO as
select * from BAR
where extract(year from BAR.SOME_DATE) = '2011' with check option;
But I receive an error massage, saying, "SQL error code = -203. Inappropriate self-reference of column."
However, the following statement will work properly:
create view FOO as
select * from BAR
where BAR.SOME_DATE between '2011-01-01' and '2011-12-31' with check option;
Commits: 778cf94 FirebirdSQL/fbt-repository@e77f2cb
====== Test Details ======
Source description was found here:
http://stackoverflow.com/questions/20505769/inappropriate-self-reference-of-column-when-using-with-check-option-in-fireb
The text was updated successfully, but these errors were encountered: