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
ALTER TRIGGER / PROCEDURE wrong error message [CORE2374] #2796
Comments
Commented by: @asfernandes Your logic is not correct. Why would you assume that procedure not found error *must* be before compile the body? |
Commented by: Mustafa YILMAZ (myilmaz) PROCEDURE short sample but real problem with TRIGGERs CREATE TABLE TESTT COMMIT; CREATE EXCEPTION NOTMODIFY 'not modify'; SET TERM ^ ; CREATE TRIGGER TEST_BU FOR TESTT COMMIT ^ ALTER TRIGGER TEST_B now error: but I am sure FIELD1 exists in TESTT |
Commented by: Paulius Pazera (ppazera) I agree that current 'column unknown' error (when such column actually exists) is wrong and misleading (when altering non-existing trigger) |
Modified by: @asfernandesstatus: Open [ 1 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 3.0 Alpha 1 [ 10331 ] assignee: Adriano dos Santos Fernandes [ asfernandes ] |
Commented by: @pcisar Test created. |
Modified by: @pcisarstatus: Resolved [ 5 ] => Closed [ 6 ] |
Submitted by: Mustafa YILMAZ (myilmaz)
Is related to QA543
Votes: 1
ALTER PROCEDURE TEST1
AS
begin
IF (A = B) then
B = 1;
END
error message is
"Column unknown A At line 4, column 7"
but procedure not exists (correct message "Procedure TEST1 not found")
same result for ALTER TRIGGER
The text was updated successfully, but these errors were encountered: