To take backup manually or when cloning a database using the following SQL one can place the database in backup… READ MORE
If archive logs are missing RMAN will fail with the following error also in cases when the archive logs are… READ MORE
The following example shows how to loop through parameters in batch file. c:> TYPE script.bat @ECHO OFF :TOP IF (%1)… READ MORE
After scheduling a task through SQLServer Agent it generated the error below when executing the DTS. The DTS package required… READ MORE
|
Using QSlice one can monitor CPU usage for individual thread on a windows box. Qslice can be downloaded from the… READ MORE
Using the following SQL one can find tables that contain a column name. In SQLServer SELECT table_name, column_name FROM INFORMATION_SCHEMA.COLUMNS… READ MORE
In SQLSever 2005 msdb.dbo.sp_send_dbmail is the new way of sending email and it replaces xp_sendmail. Below are the steps how… READ MORE
|
The following article explains global statistics versus histogram with DBMS_STATS http://www.akadia.com/services/ora_gather_statistics.html READ MORE
— List processes currently running through SQLServer Agent select spid, program_name, blocked from master..sysprocesses where program_name like ‘SQLAgent%’ spid program_name… READ MORE
When using DBMS_STATS to gather table statics Oracle backups up the statistics before overwriting it. The following example shows how… READ MORE
Using the link below one can create SQL script to create database http://geekswithblogs.net/dotNETPlayground/archive/2008/04/18/121331.aspx READ MORE
|
' ' script to change computer date ' DIM objShell strComputer = "." ' current host ' get current time… READ MORE
Flash Tip: Running Profiler on a Busy SQL Server http://www.microsoft.com/technet/abouttn/flash/tips/tips_020205.mspx READ MORE
There was an issue the other day where the application session ran out of open cursors resulting the following error… READ MORE
|
In v$session the column last_call_et has value which tells us the last time (seconds) ago when the session performed any… READ MORE
|
Explain plan may not relay the correct execution plan optimizer may run, the following link shows an example Explain Plan… READ MORE
C-shell (csh) Example: set prompt=”[%n@%m %c] \! %” oracle@localhost ~] 39 % In this above example sets prompt to display… READ MORE
Using the following script it will find all version of a command in $PATH (from Unix Power Tools) $ cat… READ MORE
By setting trap one can run a logout script when a k-shell is being terminated. The built-in command trap in… READ MORE
|
Run the following SQL to find permissions granted on users on the database select case when p.protecttype = 205 then… READ MORE
“Control what I can control”
~ Alex Lima