Skip to content

Instantly share code, notes, and snippets.

@sugamasao
Created January 19, 2010 06:40
Show Gist options
  • Save sugamasao/280730 to your computer and use it in GitHub Desktop.
Save sugamasao/280730 to your computer and use it in GitHub Desktop.
private function dropTable():void {
trace("dropTable")
var stmt:SQLStatement = new SQLStatement();
stmt.sqlConnection = con;
stmt.text = "DROP TABLE IF EXISTS player;";
stmt.addEventListener(SQLEvent.RESULT, stmtCreateResult2);
stmt.addEventListener(SQLErrorEvent.ERROR,stmtErrorHandler2);
stmt.execute();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment