How do you declare a variable in pl sql?
No Answer is Posted For this Question
Be the First to Post Answer
What does := mean in pl sql?
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;
Is postgresql a server?
why does the selected column have to be in the group by clause or part of an aggregate function? : Sql dba
How do you optimize a stored procedure in sql?
Explain the insert into statements in sql?
how will i became good database developer?
Enlist the characteristics of pl/sql?
Explain select statements in sql?
Is crud a cuss word?
What is a primary key? Explain
What is meaning of <> in sql?