Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

CASESPECIFIC What is its purpose? - forum topic by zigzagdna

$
0
0

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: 

Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>