#NEWLINE# def _column_has_default( self , params ) : #NEWLINE# #INDENT# sql = "\n            SELECT a.RDB$DEFAULT_VALUE\n            FROM RDB$RELATION_FIELDS a\n            WHERE a.RDB$FIELD_NAME = '%(column)s'\n            AND a.RDB$RELATION_NAME = '%(table_name)s'\n        " #NEWLINE# value = self . execute ( ( sql % self ) ) #NEWLINE# return ( True if value else False )