— SQL server version SELECT @@version output: Microsoft SQL Server 2005 – 9.00.1399.06 (Intel X86) Oct 14 2005 00:33:37 Copyright… READ MORE
Information on sysjobhistory Information on sysjobs — shows job history with the most recent one to show the most recent… READ MORE
|
http://msmvps.com/blogs/ad/archive/2006/10/27/Run-Command-Shortcuts-for-Adminstrative-Tools.aspx READ MORE
http://www.dba-oracle.com/t_x$ksmlru_x$ksmsp_shared_pool_monitoring.htm READ MORE
|
Here are some of the windows tools that can be used when working on window internals. Autoruns (autoruns.exe) – http://technet.microsoft.com/en-us/sysinternals/bb963902.aspx… READ MORE
By querying msdb.dbo.backupset and msdb.obackupmediafamily one can see backup history like start and end time, type of backup, location of… READ MORE
|
Using the following T-SQL one can create differential backup or make it part of scheduled job. declare @datetimestamp varchar(20) declare… READ MORE
To find the trace file one using oradebug one can find it using the example below: SQL> oradebug mysetpid Statement… READ MORE
Using oradebug unlimit one can set to unlimit the size of the trace file. SQL> oradebug setmypid Statement processed. SQL>… READ MORE
|
To use oradebug one first needs to connect to a session using the process id or ora pid. One can… READ MORE
By calling msdb..sp_get_composite_job_info or msdb.dbo.sp_help_job one can find the current jobs running on SQLServer. Example: exec msdb..sp_get_composite_job_info @execution_status=1 Or exec… READ MORE
http://dioncho.wordpress.com/tag/copy_table_stats/ READ MORE
|
http://www.oracle.com/technology/oramag/oracle/09-jan/o19asktom.html READ MORE
One of the ways to extend the password of an expiring account is to change the profile of the user.… READ MORE
To disable to trigger that are enabled in cases when loading data manually in a particular schema or table can… READ MORE
|
As RMAN needs a consistent view of the control file it takes a backup of the controlfile by creating a… READ MORE
The “LEN” function cannot be used to find length of a column of datatype “TEXT” so using function “DATALENGTH” one… READ MORE
|
Run the following SQL to find permissions granted on individual objects on the database select case when p.protecttype = 205… READ MORE
Using the following PL/SQL code one can find average size of a row in a table, the following code samples… READ MORE
|
Table structure in Oracle SQL> desc scott.oracletable; Name Null? Type —————————————– ——– ———- TRANSDATE NOT NULL DATE SEQUENCE_NO NOT NULL… READ MORE
|
If a SQL script file has blank lines in between SQL statements one may see errors when executing the script… READ MORE
|
SQL> SHOW PARAMETER SEC_CASE_SENSITIVE_LOGON NAME TYPE VALUE ———————————— ———– —————————— sec_case_sensitive_logon boolean TRUE SQL> SQL> ALTER SYSTEM SET SEC_CASE_SENSITIVE_LOGON =… READ MORE
Now Oracle has a quick way to find users with detault password. SQL> SELECT * FROM dba_users_with_defpwd; And here is… READ MORE
“Control what I can control”
~ Alex Lima