/**
* @see net.sourceforge.squirrel_sql.fw.dialects.DB2DialectExt#getDropPrimaryKeySQL(java.lang.String,
* java.lang.String, DatabaseObjectQualifier, SqlGenerationPreferences)
*/
/**
* @see net.sourceforge.squirrel_sql.fw.dialects.CommonHibernateDialect#getDropPrimaryKeySQL(java.lang.String,
* java.lang.String, DatabaseObjectQualifier, SqlGenerationPreferences)
*/
/**
* Returns the SQL command to drop the specified table's primary key. alter table <tableName> drop
* constraint <pkName>
*
* @param pkName
* the name of the primary key that should be dropped
* @param tableName
* the name of the table whose primary key should be dropped
* @return
*/
/**
* Returns the SQL command to drop the specified table's primary key.
*
* @param pkName
* the name of the primary key that should be dropped
* @param tableName
* the name of the table whose primary key should be dropped
* @return
*/
@Override public String getDropPrimaryKeySQL( final String pkName, final String tableName, DatabaseObjectQualifier qualifier, SqlGenerationPreferences prefs) {
return DialectUtils.getDropPrimaryKeySQL(pkName, tableName, [[#variable18ca3980]], [[#variable18ca3940]], qualifier, prefs, this );
}
/**
* @see net.sourceforge.squirrel_sql.fw.dialects.DB2DialectExt#getDropForeignKeySQL(java.lang.String,
* java.lang.String, DatabaseObjectQualifier, SqlGenerationPreferences)
*/
/**
* @see net.sourceforge.squirrel_sql.fw.dialects.CommonHibernateDialect#getDropForeignKeySQL(java.lang.String,
* java.lang.String, DatabaseObjectQualifier, SqlGenerationPreferences)
*/
/**
* Returns the SQL command to drop the specified table's foreign key constraint.
*
* @param fkName
* the name of the foreign key that should be dropped
* @param tableName
* the name of the table whose foreign key should be dropped
* @return
*/
@Override public String getDropForeignKeySQL( final String fkName, final String tableName, DatabaseObjectQualifier qualifier, SqlGenerationPreferences prefs) {
return DialectUtils.getDropForeignKeySQL(fkName, tableName, qualifier, prefs, this );
}
|