Oracle DBA by Example. Code samples, Scripts, Reference.
Pages
(Move to ...)
Home
▼
Tuesday, July 26, 2022
Code Example - Run PL/SQL from bash.
›
=========== General: =========== Example for Calling stored procedure from bash. In this case, the stored procedure is using input paramete...
Wednesday, June 8, 2022
When setting the table to NOLOGGING, what is the expected result?
›
When setting the table to NOLOGGING , what is the expected result? The actual result would depend if database is in ARCHIVE MODE or not, and...
Monday, May 16, 2022
Stop Cluster, unmount and remount oracle shared storage, Start Cluster .
›
=========== General =========== In short: Stop Cluster unmount Oracle shared storage Do DBA work remount Oracle shared storage Start Clus...
Thursday, May 12, 2022
User Permissions SQL Server
›
db_owner Members of the fixed database role can perform all configuration and maintenance activities on the database, and can also drop the...
Rename files in SQL Server
›
USE [master]; GO --Disconnect all existing session. ALTER DATABASE jiradev4 SET SINGLE_USER WITH ROLLBACK IMMEDIATE GO --Change database in ...
SQL Server Copy Database options
›
Need to copy database from databaseName= dba_util to dba_util_test . In SQL Server, several options to do that. Option 1 – Using Backup an...
Sunday, May 8, 2022
check connection bash script
›
================== General ================== Bash script that takes 3 parameters, and returns 1 if connection was bad or zero if connection...
‹
›
Home
View web version