I had a table with char(20) datatype column and i indexed this column.When i do:
select * from ex_table where charColumn = 'abc'
Exception No_Data_Found raised.Because data is 'abc '.How i can search like this without losing indexing?Thanks for helping!
The following recommendations will help you in your SQL tuning process.
You'll find 3 sections below:
CREATE INDEX ex_table_idx_charcolumn ON ex_table (charColumn);
SELECT
*
FROM
ex_table
WHERE
ex_table.charColumn = 'abc'