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 Programming. Show all posts
Showing posts with label Programming. Show all posts
Thursday, August 31, 2023

How to extract all datafile names without path using substr and instr functions

›
select trim( substr(file_name, (instr(file_name,'/', -1, 1) +1) ) ) ...
Thursday, February 15, 2018

How to use dbms_application_info to create session details

›
The package dbms_application_info lets you add supplemental information in your session, which can be picked up in the V$SESSION view. A...
Wednesday, July 13, 2016

SYSTIMESTAMP and SYSDATE VS. CURRENT_TIMESTAMP and CURRENT_DAY

›
Most DBAs I've spoken to are familiar with the function SYSDATE, but there are some other functions, too, that may prove to be useful, e...
Tuesday, January 6, 2015

How to use multiple delimiters in awk

›
When creating a script for cloning, I wanted to perform some initial checks. One of them was to make sure the listener for the source datab...
Wednesday, April 30, 2014

Using the procedure SEARCHFILES in DBMS_BACKUP_RESTORE

›
I found the following great article about how to list files in directory from within sqlplus here , written by David Marco. As pointed out b...
1 comment:
Tuesday, January 28, 2014

How to save a value in a bind variable

›
Useful for tracing or explaining queries that use bind variables: connect scott/tiger var leom char(10); var eod char(10); exec :leom := t...
›
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.