How do I partition in sql?
No Answer is Posted For this Question
Be the First to Post Answer
What is mutating sql table?
Does google use sql?
What is sqlcontext?
How do I write a sql query in pgadmin 4?
Is and as keyword in pl sql?
how to include comments in sql statements? : Sql dba
What is mutating error in pl sql?
What are the cursor attributes used in PL/SQL ?
Are null values same as that of zero or a blank space?
Can we call procedure in select statement?
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;
What operating systems are supported by oracle sql developer?