Minimalistic Oracle

Minimalistic Oracle contains a collection of practical examples from my encounters with Oracle technologies. When relevant, I also write about other technologies, like Linux or PostgreSQL. Many of the posts starts with "how to" since they derive directly from my own personal experience. My goal is to provide simple examples, so that they can be easily adapted to other situations.

Showing posts with label DML. Show all posts
Showing posts with label DML. Show all posts
Monday, January 28, 2019

How to enable DML logging

›
DML logging can be used as a workaround if you have a large number of rows to process, and you expect that some of these will fail to be i...
Wednesday, November 8, 2017

How to use ROWTYPE to fetch entire rows for insert into an interim table

›
Here is how I used a PL/SQL record to insert rows from a table into an interim table, using parallel slaves and direct path: alter session ...
Wednesday, February 22, 2017

Insert As Select statements

›
The syntax for an Insert As Select Statement would be: INSERT INTO MY_INTERIM_TABLE (E_ID, ENAME,CREATED_DT, REVISION, FISCALYEAR, FPERIOD,...
Friday, August 19, 2016

Example on how to use WITH CHECK OPTION in an INSERT statement

›
The table "ALBUM" has the following columns: Name Null Type ------------ -------- ---------...
Thursday, May 7, 2015

How to add a logfile group and a logfile member - syntax

›
alter database add logfile group 2 ( '/u01/app/oracle/flash_recovery_area/mydb/onlinelog/redo02a.log', '/u01/app/oracle/oradata...
Thursday, February 13, 2014

An easy way to find DML locks

›
The view DBA_DML_LOCKS is a convenient view to use if you want to identify locks caused by uncommited DML statements. Consider the follow...
›
Home
View web version

About Me

My photo
Name: Vegard Kåsa
My career as an Oracle DBA startet in 2001, when I acceptet a request to take on the responsibility as my current employer's DBA. From that point and onwards, managing Oracle databases has kept me busy and engaged. I enjoy my work, and particulary appreciate the constant learning and devlopment that comes with the job. From 2014, I am self-employed through my company Oric Consulting AS (Norway), and from 2024 Oric Consulting AB (Sweden) I currently live in Göteborg, Sweden, with my family.
View my complete profile
Powered by Blogger.