what is the use of friend function? : Sql dba


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

Post New Answer

More SQL PLSQL Interview Questions

how many sql ddl commands are supported by 'mysql'? : Sql dba

0 Answers  


Where the sql database files are stored?

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 integrity rules?

0 Answers  


Why do we use %rowtype & %type in plsql?

0 Answers  






How does sql store data?

0 Answers  


What is #table in sql?

0 Answers  


What are different types of statements supported by sql?

0 Answers  


How do sql triggers work?

0 Answers  


How does sql profiler work?

0 Answers  


What is trigger in sql? Explain

0 Answers  


Are pl sql variables case sensitive?

0 Answers  


Categories