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

Facility to use cast(... as Domain) is not mentioned in Firebird 2.1 Release Notes [DOC50] #57

Closed
firebird-automations opened this issue Sep 10, 2010 · 5 comments

Comments

@firebird-automations
Copy link

Submitted by: Sergei Rubanik (sergeir)

If we define a domain:

CREATE DOMAIN DINTEGER AS INTEGER

FB2.1.3 allows

CAST(123 AS DINTEGER)
and
CAST(123 AS TYPE OF DINTEGER)

however I cannot find where this new feature is described in Release Notes.
Is it an official feature of just a side effect of something else?

@firebird-automations
Copy link
Author

Modified by: Sergei Rubanik (sergeir)

summary: Facility to use cast(... as Domain) is not mentioned in FB2.1 Release Notes => Facility to use cast(... as Domain) is not mentioned in Firebird 2.1 Release Notes

@firebird-automations
Copy link
Author

Commented by: @paulvink

I checked with the developer and yes, this too is a supported (but so far undocumented) feature from version 2.1 onward:

CAST(<expr> AS [TYPE OF] <domain>)

Again, I'll document it in the LangRef and pass the ticket on to Helen for the Release Notes.

@firebird-automations
Copy link
Author

Modified by: @paulvink

assignee: Paul Vinkenoog [ paulvink ] => Helen Borrie [ helebor ]

@firebird-automations
Copy link
Author

Modified by: @helebor

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

resolution: Fixed [ 1 ]

@firebird-automations
Copy link
Author

Modified by: @helebor

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

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