added SQL statements

guid generator