雅典之夏的小站
          知人者智 自知者明 Fighting!!

          今天在Mysql中建立了一個名叫Option的表,結果無論如何都不能訪問,后來換了個名字就OK了,應而想到了是Mysql的保留字,搜了一下,發現以下字段都是它的保留字

          action  add  aggregate  all 
          alter  after  and  as 
          asc  avg  avg_row_length  auto_increment 
          between  bigint  bit  binary 
          blob  bool  both  by 
          cascade  case  char  character 
          change  check  checksum  column 
          columns  comment  constraint  create 
          cross  current_date  current_time  current_timestamp 
          data  database  databases  date 
          datetime  day  day_hour  day_minute 
          day_second  dayofmonth  dayofweek  dayofyear 
          dec  decimal  default  delayed 
          delay_key_write  delete  desc  describe 
          distinct  distinctrow  double  drop 
          end  else  escape  escaped 
          enclosed  enum  explain  exists 
          fields  file  first  float 
          float4  float8  flush  foreign 
          from  for  full  function 
          global  grant  grants  group 
          having  heap  high_priority  hour 
          hour_minute  hour_second  hosts  identified 
          ignore  in  index  infile 
          inner  insert  insert_id  int 
          integer  interval  int1  int2 
          int3  int4  int8  into 
          if  is  isam  join 
          key  keys  kill  last_insert_id 
          leading  left  length  like 
          lines  limit  load  local 
          lock  logs  long  longblob 
          longtext  low_priority  max  max_rows 
          match  mediumblob  mediumtext  mediumint 
          middleint  min_rows  minute  minute_second 
          modify  month  monthname  myisam 
          natural  numeric  no  not 
          null  on  optimize  option 
          optionally  or  order  outer 
          outfile  pack_keys  partial  password 
          precision  primary  procedure  process 
          processlist  privileges  read  real 
          references  reload  regexp  rename 
          replace  restrict  returns  revoke 
          rlike  row  rows  second 
          select  set  show  shutdown 
          smallint  soname  sql_big_tables  sql_big_selects 
          sql_low_priority_updates  sql_log_off  sql_log_update  sql_select_limit 
          sql_small_result  sql_big_result  sql_warnings  straight_join 
          starting  status  string  table 
          tables  temporary  terminated  text 
          then  time  timestamp  tinyblob 
          tinytext  tinyint  trailing  to 
          type  use  using  unique 
          unlock  unsigned  update  usage 
          values  varchar  variables  varying 
          varbinary  with  write  when 
          where  year  year_month  zerofill 


          posted on 2005-10-27 13:05 rkind 閱讀(235) 評論(0)  編輯  收藏 所屬分類: JAVA基礎&數據庫
          主站蜘蛛池模板: 嘉定区| 桂平市| 唐海县| 浪卡子县| 上蔡县| 法库县| 闻喜县| 东丰县| 南漳县| 普洱| 剑川县| 滕州市| 昌图县| 旺苍县| 上虞市| 大兴区| 镇雄县| 秭归县| 手游| 临湘市| 西乌珠穆沁旗| 大兴区| 永泰县| 长顺县| 荃湾区| 滨海县| 连州市| 得荣县| 津南区| 娄烦县| 南京市| 台前县| 左贡县| 遵义县| 赤水市| 肥城市| 扶沟县| 赞皇县| 社会| 上思县| 安吉县|