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

sql: introduce <CREATE CAST> statement #3836

Open
Korablev77 opened this issue Nov 26, 2018 · 0 comments
Open

sql: introduce <CREATE CAST> statement #3836

Korablev77 opened this issue Nov 26, 2018 · 0 comments
Labels
Milestone

Comments

@Korablev77
Copy link
Contributor

As a part of introducing advanced strict typing, we may add <CREATE CAST> statement, which determines or overrides types casting. It can be useful for users who get used to behaviour demonstrated by other DBs.

Syntax according to ANSI (11.63 <user-defined cast definition>):

<user-defined cast definition> ::=
CREATE CAST <left paren> <source data type> AS <target data type> <right paren> WITH <cast function> [ AS ASSIGNMENT ]
<cast function> ::= <specific routine designator>
<source data type> ::= <data type>
<target data type> ::= <data type>
@kyukhin kyukhin added this to the 2.2.0 milestone Dec 7, 2018
@kyukhin kyukhin modified the milestones: 2.2.0, 2.3.0 Mar 27, 2019
@kyukhin kyukhin modified the milestones: 2.3.1, 2.4.0 Aug 6, 2019
@kyukhin kyukhin modified the milestones: 2.4.1, 2.5.1 Jan 23, 2020
@kyukhin kyukhin modified the milestones: 2.5.1, 2.6.1 Apr 10, 2020
@kyukhin kyukhin modified the milestones: 2.6.1, wishlist Oct 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants