DatabaseSQL Server Simple script to backup all SQL Server databases DECLARE @name VARCHAR(50) -- database name DECLARE @path VARCHAR(256) -- path for backup files DECLARE @fileName VARCHAR(256) --... malcolmMar 30, 2011
DatabaseSQL Server How to list all the databases on a SQL server You can list all the databases on a SQL server by running the following query. SQL> select name... malcolmMar 30, 2011
DatabaseSQL Server Creating a link between two SQL servers To create a link between two SQL Servers you need to use the sp_addlinkedserver and sp_addlinkedsrvlogin stored procedures.... malcolmFeb 7, 2011
DatabaseSQL Server Manually adding a mail account to SQL2005/2008 I was having trouble adding configuring Database Mail on a SQL2005 server today. I followed the wizard just... malcolmFeb 7, 2011
DatabaseProgrammingSQL Server Simple script to backup all SQL Server databases [draft] DECLARE @name VARCHAR(50) — database name DECLARE @path VARCHAR(256) — path for backup files DECLARE @fileName VARCHAR(256)... malcolmJan 17, 2011
DatabaseProgrammingSQL Server How to list all the databases on a SQL server You can list all the databases on a SQL server by running the following query. SQL> select name... malcolmJan 4, 2011
DatabaseOracle Show Oracle Database DBID The database ID or DBID is a unique identification number computed when the database is created. To find out this... malcolmSep 29, 2010
DatabaseOracle Cross checking oracle ArchiveLogs using RMAN in Oracle 8 and 9 In Oracle 10g you can run the following command to crosscheck and expire any expired archive logs: RMAN>... malcolmMay 19, 2010
DatabaseOracle RMAN-06172: no autobackup found While performing disaster recovery I get the error RMAN-06172 as below. RMAN> restore spfile to pfile ‘/oracle/app/oracle/product/10.2.0/db_1/dbs/initARJU.ora’ from... malcolmMar 31, 2010
DatabaseOracle How do you create Export/Import views Run the “catexp.sql” as SYS. The file is located in $ORACLE_HOME/rdbms/admin. SQL> @?/rdbms/admin/catexp.sql malcolmMar 4, 2010