關於各種資料庫中表名的大小寫,中表大小寫

來源:互聯網
上載者:User

關於各種資料庫中表名的大小寫,中表大小寫

關於資料庫表名的大小寫

剛剛同事問了我一個HighGoDB 串連 Oracle的問題。大概是在HighGoDB串連Oracle時用的是小寫table名稱,導致在Oracle找不到該表。


我引申寫一下,各種database table名稱大小寫處理:

Oracle :create table abc (***)成功之後,oracle 資料字典中存放的是ABC。即:除非特別聲明,oracle 資料字典中存放的是轉為大寫後的表名。

Sybase ASE:預設就是區分大小寫。所以user.lei 和user.LEI 是同一個user下的兩個不同的表。

MSSQLserver: 在安裝SQLServer時,可以選擇定序,定序決定Table的大小寫。

PostgreSQL:除非特別聲明,PostgreSQL 資料字典中存放的是轉為小寫後的表名。

DB2:不瞭解。

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.