Quote:
|
Originally Posted by Shefu
2. DB2 variables are non-case sensitive. Is there any option to make it case sensitive(like configurable option or installation option)
|
Don't know what you exactly mean with "variables", but if you mean database objects (table, column, ..) names, you can place the names between double quotes "", otherwise DB2 will convert them automatically to UPPERCASE.
create table Schemanm.TestTable1 (
Field1 INT not null);
internally, DB2 will interpret this as:
create table SCHEMANM.TESTTABLE1 (
FIELD1 INT not null);
create table "Schemanm"."TestTable2" (
"Field1" INT not null);
internally, DB2 will interpret this as:
create table Schemanm.TestTable2 (
Field1 INT not null);
SELECT * FROM Schemanm.TestTable1;
SELECT * FROM SchemaNm.TESTTable1;
SELECT * FROM SCHEMANM.TESTTABLE1;
SELECT * FROM "SCHEMANM"."TESTTABLE1";
will all work.
SELECT * FROM Schemanm.TestTable1;
will not work.
Only
SELECT * FROM "Schemanm"."TestTable2";
will work.