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

Extend the use of colon prefix for read/assignment OLD/NEW fields and assignment to variables [CORE4434] #4754

Closed
firebird-automations opened this issue May 19, 2014 · 2 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @asfernandes

As part of CORE4403, it's possible to use the colon prefix to read cursor fields.

This ticket is to document the change for OLD/NEW fields and aissgnments to variables. This is now valid syntax:

create trigger t1 before insert on t1
as
declare v integer;
begin
:v = :old.n;
:new.n = :v;
end

Commits: 3f8de25 FirebirdSQL/fbt-repository@03f4f5f

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

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

resolution: Fixed [ 1 ]

Fix Version: 3.0 Beta 1 [ 10332 ]

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

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