Restore Snippets

An example code to restore MSSQL database from backup

Below shown how to Back Up and Restore a MySQL Database

29 December, 2012   

How to Back Up and Restore a MySQL Database

Oracle 10G has enhanced the flashback feature further and has turned it into a much more powerful feature by introducing a number of additional function. Some of the more common ones are discussed here. - Flashback Table - Flashback Drop - Flashback Database

14 May, 2011   

This is a general code to use when deleting an item from a MySQL database. This code isn't considered definitive and can be written in many varied ways. A variation of the code would be not to delete the record (as you tend to always need to restore or retrieve it sooner or later) you can add a 'status' field. If status='d' then it is...

06 July, 2013   

Draws angled text on a canvas at position X,Y.

In order for this to work, you will need to copy mysqldump.exe and mysql.exe from the MySQL bin Program Files folder into the same directory as your executing PHP script. If you know the direct path to these for your server, you can use those instead.

An example code for Delphi function to check drive letter to see if its valid