In Most of the interview, Interviewer asked write down a query to find out the how many rows have upper case data.
so here is the answer to crack this question in the interview.
select * from T(table_name)
where fld(coloum_name) = upper(fld) collate SQL_Latin1_General_CP1_CS_AS
You can force to check the case sensitive collation.
No comments:
Post a Comment