What is the difference between the two statements
select * from table_name where column_name(number or numeric) = '1';
select * from table_name where column_name(number or numeric) = 1;
Both return the same result so why is that only when using string we have to use apostrophe
Example : -
select * from table_name where column_name(varchar)= 'searchstring' ;
And why is that when we use numeric datafield there is no affect can any 1 explain me this Funda ?
select * from table_name where column_name(number or numeric) = '1';
select * from table_name where column_name(number or numeric) = 1;
Both return the same result so why is that only when using string we have to use apostrophe
Example : -
select * from table_name where column_name(varchar)= 'searchstring' ;
And why is that when we use numeric datafield there is no affect can any 1 explain me this Funda ?
Last edited: