Are subqueries faster than joins?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More SQL PLSQL Interview Questions

What is latest version of sql?

0 Answers  


Is sql scripting language?

0 Answers  


how to delete an existing column in a table? : Sql dba

0 Answers  


List the different type of joins?

0 Answers  


What are the most important ddl statements in sql?

0 Answers  






what is purge command explain about oracle performance tuning

2 Answers   Accenture, eCentric Solutions,


what is innodb? : Sql dba

0 Answers  


What is nvl?

0 Answers  


What is a unique constraint?

0 Answers  


What is scalar function in sql?

0 Answers  


how to findout the 100th maximum salary

28 Answers   Amdocs,


Hi All, I am new to both this blog and technology. I was able to see a response for one of the questions on triggers as below. I would like to know why are we using " if rtrim(to_char(sysdate,'day'))=rtrim('sunday') then" instead, can't we use " if sysdate = 'sunday' then". I can understand the use of "rtrim", but dont know y v r using to_char. I have seen this in many cases but did not get a convincible explaination. Please help me with this and do excuse if this question sounds silly. Thanks in advance...... create or replace trigger trg_sun before insert on <table name> begin if rtrim(to_char(sysdate,'day'))=rtrim('sunday') then raise_application_error(-20345,'no transaction in sunday'); end if; end trg_sun;

2 Answers  


Categories