Does truncate require commit?
No Answer is Posted For this Question
Be the First to Post Answer
what are the limitations of mysql in comparison of oracle? Mysql vs. Oracle. : Sql dba
Why we use stored procedure instead of query?
what is a unique key ? : Sql dba
If i insert record in table A and these record should update in table B by using Trigger.How to achieve this.
What is a loop in sql?
what does it mean to have quoted_identifier on? What are the implications of having it off? : Sql dba
Will truncate release space?
What is the largest value that can be stored in a byte data field?
HOW TO TUNE ORACLE SQL QUERIES GIVE ME STEP BY SREP
define sql delete statement ? : Sql dba
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;
When you have to use a default "rollback to" savepoint of plvlog?
Oracle (3259)
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)