public SequenceExists ( string name ) : bool | ||
name | string | Name of the sequence to check for. |
return | bool |
public override bool SequenceExists(string name)
{
int count = SqlConnectionUtilities.XSafeIntQuery(_connDesc,
"SELECT count(*) FROM RDB$GENERATORS WHERE RDB$GENERATOR_NAME = '" +
name.ToUpper() + "'", null);
return count > 0;
}