Posts

How To Create Dynamic Table Using Mysql Stored Procedure..

Hi Guys,               Here I am writing the snippet code of mysql stored procedure which shows you how to create dynamic table using mysql stored procedure & dynamic SQL prepared statement and cursor. Many of the database developer needs this types of technique in there database developments , so I am writing the snippet for those  database developer who are facing the problems for developing the same. Go through the snippet code. DROP PROCEDURE IF EXISTS dynamictable; DELIMITER // CREATE PROCEDURE dynamictable() BEGIN DECLARE done INT DEFAULT 0; DECLARE tnm varchar(20); # Selecting the table Name from table in which you have stored one by one using Cursor. DECLARE curname cursor FOR SELECT distinct(tname)  FROM table_name; DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = 1; open curname ; FETCH curname INTO tnm; REPEAT # Dropping table dynamically if exist with same name which ...

How to Recover Oracle Database using RMAN(Recovery Manager)

Oracle Data Base Recovery Using Recovery Manager(RMAN) Recovery manager is an important & useful utility for coordinating our database and restoration procedures across the multiple servers.As per my experience it is very useful to recover or restore the whole database using the RMAN utility. The functionality of RMAN is too diverse to be covered in this article so I will be focus on the basic backup and recovery functionality. 1.             Create Recovery Catalog 2.             Register Database 3.             Cold Backup(Offline Databse) 4.             Hot Backup(Online Database) 5.             Restore & Recover the Complete Database 6.        ...

How to Install Cygwin 2.7 on Windows........

Image
Step by Step Installation of Cygwin on Windows  Hi guys,                      Here I am writing the steps for installing the cygwin on windows follow the steps :        1 . Download setup.exe from www.cygwin.com .        2 . Run the setup.exe of cygwin.                         3 . Click   on next button                      4. Select the option install form local directory and click next button.                     5. Select the path where you want to install.               ...