To start off, it would be wise to look through Apple's NSFileManager documentation for the iPhone: NSFileManager Class Reference. Second, look at NSFileManager's -removeItemAtPath:error: method and its documentation. That's what you're looking for.

How to remove a directory and its contents using NSFileManager
Totally at the beginning in administering a database.

Using EMS SQL Manager ... latest version.  How do I over come below 

ALTER DATABASE joneslocker2
MODIFY FILE (
    NAME = joneslocker2, 
    MAXSIZE = UNLIMITED )
GO


which results in an error:


  User does not have permission to alter database 'joneslocker2', the
  database does not exist, or the database is not in a state that allows
  access checks.


I don't have a clue what to set next.
