Dec 23, 2008 #1 bhudc IS-IT--Management Dec 23, 2008 1 US I am trying to execute a sql: SELECT * FROM table1 WHERE first_name = 'John' This returns a record even when the data (column first_name) stored in the database is in upper case. Does Teradata ignore the case of strings?
I am trying to execute a sql: SELECT * FROM table1 WHERE first_name = 'John' This returns a record even when the data (column first_name) stored in the database is in upper case. Does Teradata ignore the case of strings?
Jan 21, 2009 #2 steph22 Technical User Oct 28, 2000 14 US Not sure of your specific needs, but this might be what you're looking for: SELECT * FROM table1 WHERE first_name(casespecific) = 'John'; The other option is to set up the column to be casespecific when you initially create the table: CREATE TABLE table1, ( first_name VARCHAR(20) CASESPECIFIC ); Hope this helps! Upvote 0 Downvote
Not sure of your specific needs, but this might be what you're looking for: SELECT * FROM table1 WHERE first_name(casespecific) = 'John'; The other option is to set up the column to be casespecific when you initially create the table: CREATE TABLE table1, ( first_name VARCHAR(20) CASESPECIFIC ); Hope this helps!