I am a newbie to Teradata; I have lot of experience with Oracle and SQL Server.
I am trying to understand what exactly is CASESPECIFIC?
I have created a table
CREATEMULTISETTABLE premtest.Employee
(
Name VARCHAR(80) CHARACTERSETLATINNOTCASESPECIFIC,
start_date date format 'MM/DD/YYYY'
)
PRIMARYINDEX ( Name )
;
Now I inserted two rows in the table from a file:
"Prem Mehrotra",06/23/2008
"Sushma Mehrotra",11/23/2012
My Teradata database is 14.x
I do see in database table (when viewing from Teradata Studio Express), that Name is in mixed case; i.e.
Prem Mehrotra
Sushma Mehrotra
So far so good. However when I query:
select * from premtest.EMPLOYEE where Name like'SUshma%'
No rows are returned.
However when I query
Select * from premtest.EMPLOYEE where Name like ‘Sushma%’
A row is returned.
So what is the purpose of NOT CASESPECIFIC?
Forums: