protected void writeExternalForeignKeyDropStmt(Table table,ForeignKey foreignKey,StringBuilder ddl){
  writeTableAlterStmt(table,ddl);
  ddl.append("DROP CONSTRAINT ");
  printIdentifier(getForeignKeyName(table,foreignKey),ddl);
  printEndOfStatement(ddl);
}

protected void writeExternalForeignKeyDropStmt ( Table table , ForeignKey foreignKey , StringBuilder ddl ) { writeTableAlterStmt ( table , ddl ) ; ddl . append ( "DROP CONSTRAINT " ) ; printIdentifier ( getForeignKeyName ( table , foreignKey ) , ddl ) ; printEndOfStatement ( ddl ) ; }
generates the statement to drop a foreignkey constraint from the database using an alter table statement .
