• Mysql保留字列表


     

     

    Mysql保留字列表。吠品整理。

    尝试使用一个识别符,例如使用嵌入式MySQL 数据类型或函数名作为表名或列名,例如TIMESTAMP 或GROUP,会造成一个常见问题。允许你这样操作( 例如,ABS 可以作为一个列名) 。但是,默认情况下,在数调用中在函数名和后面的‘( ’字符之间不允许有空格。该要求使函数调用与列名引用不同。

     MySQL 5.6.23

    accessible
    add
    all
    alter
    analyze
    and
    as
    asc
    asensitive
    before
    between
    bigint
    binary
    blob
    both
    by
    call
    cascade
    case
    change
    char
    character
    check
    collate
    column
    condition
    constraint
    continue
    convert
    create
    cross
    current_date
    current_time
    current_timestamp
    current_user
    cursor
    database
    databases
    day_hour
    day_microsecond
    day_minute
    day_second
    dec
    decimal
    declare
    default
    delayed
    delete
    desc
    describe
    deterministic
    distinct
    distinctrow
    div
    double
    drop
    dual
    each
    else
    elseif
    enclosed
    escaped
    exists
    exit
    explain
    false
    fetch
    float
    float4
    float8
    for
    force
    foreign
    from
    fulltext
    get
    grant
    group
    having
    high_priority
    hour_microsecond
    hour_minute
    hour_second
    if
    ignore
    in
    index
    infile
    inner
    inout
    insensitive
    insert
    int
    int1
    int2
    int3
    int4
    int8
    integer
    interval
    into
    io_after_gtids
    io_before_gtids
    is
    iterate
    join
    key
    keys
    kill
    leading
    leave
    left
    like
    limit
    linear
    lines
    load
    localtime
    localtimestamp
    lock
    long
    longblob
    longtext
    loop
    low_priority
    master_bind
    master_ssl_verify_server_cert
    match
    maxvalue
    mediumblob
    mediumint
    mediumtext
    middleint
    minute_microsecond
    minute_second
    mod
    modifies
    natural
    not
    no_write_to_binlog
    null
    numeric
    on
    optimize
    option
    optionally
    or
    order
    out
    outer
    outfile
    partition
    precision
    primary
    procedure
    purge
    range
    read
    reads
    read_write
    real
    references
    regexp
    release
    rename
    repeat
    replace
    require
    resignal
    restrict
    return
    revoke
    right
    rlike
    schema
    schemas
    second_microsecond
    select
    sensitive
    separator
    set
    show
    signal
    smallint
    spatial
    specific
    sql
    sqlexception
    sqlstate
    sqlwarning
    sql_big_result
    sql_calc_found_rows
    sql_small_result
    ssl
    starting
    straight_join
    table
    terminated
    then
    tinyblob
    tinyint
    tinytext
    to
    trailing
    trigger
    true
    undo
    union
    unique
    unlock
    unsigned
    update
    usage
    use
    using
    utc_date
    utc_time
    utc_timestamp
    values
    varbinary
    varchar
    varcharacter
    varying
    when
    where
    while
    with
    write
    xor
    year_month
    zerofill


      

    NewReserved Words in MySQL 5.6    
    GET IO_AFTER_GTIDS IO_BEFORE_GTIDS
    MASTER_BIND ONE_SHOT PARTITION
    SQL_AFTER_GTIDS SQL_BEFORE_GTIDS  

    MySQL permits some keywords to be used as unquoted identifiers because many people previously used them. Examples are those in the following list:

    ACTION
    BIT
    DATE
    ENUM
    NO
    TEXT
    TIME
    TIMESTAMP

  • 相关阅读:
    随机数生成器
    赌博的艺术
    基本算法——包罗万象
    对于搜索的新理解
    关于动态规格的新理解
    发现的好东西——bitset
    高精度(重定义版)——来自
    ac自动机(模板)
    数据采集框架Gobblin简介
    Hadoop的数据采集框架
  • 原文地址:https://www.cnblogs.com/timssd/p/7066690.html
Copyright © 2020-2023  润新知