How I can create a table with oracle but with small characters, when I create a table with small characters it converts auto to capital characters.
相关问题
- Can I skip certificate verification oracle utl_htt
- how to calculate sum time with data type char in o
- keeping one connection to DB or opening closing pe
- System.Data.OracleClient not working with 64 bit O
- How can I get rid of dynamic SQL
相关文章
- node连接远程oracle报错
- oracle 11g expdp导出作业调用失败,提示丢包。
- 执行一复杂的SQL语句效率高,还是执行多少简单的语句效率高
- Oracle equivalent of PostgreSQL INSERT…RETURNING *
- Difference between FOR UPDATE OF and FOR UPDATE
- Oracle USING clause best practice
- Is there a method in PL/SQL to convert/encode text
- PHP PDO installation on windows (xampp)
Folding (non-quoted) table names to upper case is required by the ANSI SQL standard.
You can create tables (and columns) with lowercase names using a quoted identifier (again this follows the SQL standard):
I would however strongly advise you, to not do that.
Once you have your tables created that way, you have to always use double quotes because any non-quoted name will (following the rules for SQL identifiers) again be folded to upper-case and thus won't match the name as it is stored in the system catalogs.
Therefor the following statement will not work:
You have to use a quoted identifier:
For more details on (quoted) identifiers, please read the chapter Database Object Naming Rules in the manual.
Enclose table name in quotation marks (
"
). Also create your table like thisNow your table name is
t
in lowercase. You have to use quotation marks always, when you access your table. For exampleYou can use same construct for other objects (columns, indexes, ...).
Anyway, SQL is case insensitive, you need a good reason to use case dependent object names.