What are different types of keys?


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

Post New Answer

More SQL PLSQL Interview Questions

Differentiate between syntax and runtime errors.

0 Answers  


what is julian date in oracle

2 Answers  


What are different types of sql commands?

0 Answers  


What are the ways on commenting in a pl/sql code?

0 Answers  


What do you understand by pl/sql packages?

0 Answers  






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  


what are the differences between get and post methods in form submitting. Give the case where we can use get and we can use post methods? : Sql dba

0 Answers  


How do I save a sql query?

0 Answers  


what are the different types of joins?

4 Answers   Choice Solutions,


What is mdf ldf and ndf?

0 Answers  


how many no of table can be join in a sql query.

4 Answers  


What are expressions?

0 Answers  


Categories