What is parameter substitution in sql?
No Answer is Posted For this Question
Be the First to Post Answer
How to fetch values from testtable1 that are not in testtable2 without using not keyword?
Is id a reserved word in sql?
What is the life of an sql statement?
What is a trigger ?
11 Answers Accenture, BirlaSoft,
how to analyze tables with 'mysqlcheck'? : Sql dba
How to start oracle sql developer?
What are the cursor attributes used in PL/SQL ?
How to run sql*plus commands in sql developer?
How do you update a table in sql?
Given two tables Student(SID, Name, Course) and Level(SID, level) write the SQL statement to get the name and SID of the student who are taking course = 3 and at freshman level.
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 is the difference between the conventional and direct path loader? : aql loader
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)