This function inserts a row into a SQL database and needs to return the identity number created:
Function WriteDatabase(backupTypeID, numImages, folderSize,
Use "SET NOCOUNT ON; " at the beginning of your query