Differentiate between % rowtype and type record.


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

Post New Answer

More SQL PLSQL Interview Questions

What is the use of desc in sql?

0 Answers  


What is the use of index in hive?

0 Answers  


What is sqlerrm?

0 Answers  


Is sql between inclusive?

0 Answers  


Talk about views

10 Answers   Polaris,






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 is the limitation on the block size of pl/sql?

0 Answers  


What is an exception in pl/sql?

0 Answers  


How we can create a table in pl/sql block. Insert records into it? Is it possible by some procedure or function? Please give example?

0 Answers  


Write a query to find the names of users that begin with "um" in sql?

0 Answers  


List the differences between plsql - function & procedures

2 Answers   TCS, Verizon,


column A column b | output 10 7 | 10 5 8 | 8 7 -9 | 7 3 5 | 5 0 6 | 6 Write a sql query to print such output.

4 Answers  


Categories