Function SEQUENCE-EXISTS-P — Tests for the existence of a database sequence.
Function
sequence-exists-p name &key owner database => result
The name of the sequence as a string, symbol or SQL expression.
A string, NIL or :all.
A database object which defaults to *default-database*.
A Boolean.
Tests for the existence of an SQL sequence called name in database which defaults to *default-database*. owner is NIL by default which means that only sequences owned by users are examined. If owner is a string denoting a user name, only sequences owned by owner are examined. If owner is :all then all sequences are examined.
(sequence-exists-p [foo]) => NIL
None.
*default-database*
None.
sequence-exists-p is a CLSQL extension.