What is the difference between python and sql?


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

Post New Answer

More SQL PLSQL Interview Questions

What is sqlcommand?

0 Answers  


Is there a pl/sql pragma similar to deterministic, but for the scope of one single sql select?

0 Answers  


Why stored procedures are faster than query?

0 Answers  


What is a unique constraint?

0 Answers  


Why is theta join required?

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  


Which one is faster ienumerable or iqueryable?

0 Answers  


What is varchar used for?

0 Answers  


What are different types of functions in sql?

0 Answers  


What is a temp table?

0 Answers  


What are records give examples?

0 Answers  


Mention what problem one might face while writing log information to a data-base table in pl/sql?

0 Answers  


Categories