How to write html code in pl sql?


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

Post New Answer

More SQL PLSQL Interview Questions

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  


List the ways to get the count of records in a table?

0 Answers  


What is recursive join in sql?

0 Answers  


What is raw datatype in sql?

0 Answers  


What is the difference between sql and t sql?

0 Answers  






what is data control language? : Sql dba

0 Answers  


What are the benefits of pl/sql packages?

0 Answers  


package specification-3 procedures package body-4 procedures how can i write for other procedure in package body

2 Answers   Reliance,


What are the most important ddl statements in sql?

0 Answers  


How do I find duplicates in a single column in sql?

0 Answers  


What is union?

0 Answers  


What is a schema in sql?

1 Answers  


Categories