Git Product home page Git Product logo

Comments (7)

vadim-tropashko avatar vadim-tropashko commented on August 25, 2024

1.2.1:

create table foo (
    id     number generated by default on null as identity
           constraint foo_id_pk primary key,
    bar    varchar2(1 char) default on null 'y'
           constraint foo_bar check (bar in ('Y','N'))
);

from quicksql.

neilfernandez avatar neilfernandez commented on August 25, 2024

@vadim-tropashko this fixes the syntax issue, but will we ever have boolean support for database 23 and newer?

Let me know if separate issue needed for that please.

from quicksql.

vadim-tropashko avatar vadim-tropashko commented on August 25, 2024

Boolean datatype it is

from quicksql.

vadim-tropashko avatar vadim-tropashko commented on August 25, 2024
#boolean: yn           -- default
#boolean: native     -- 23c

from quicksql.

neilfernandez avatar neilfernandez commented on August 25, 2024

Brilliant. So if my db setting < 23, even if I put boolean, can we convert it to varchar2 for that scenario?

image

from quicksql.

vadim-tropashko avatar vadim-tropashko commented on August 25, 2024

db parameter is not used. If there is another db-dependent feature, then we might reintroduce it to influence the dependent options default values in bulk

from quicksql.

vadim-tropashko avatar vadim-tropashko commented on August 25, 2024

The db option is right there in the doc; will nuke it until further notice (that is, more than one db dependent parameter appearing in the future).

from quicksql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.