src/Pdo/Oci8.php
public function checkSequence($name)
    {
        try {
            $stmt = $this->query(
                "SELECT count(*) FROM ALL_SEQUENCES WHERE SEQUENCE_NAME=UPPER('{$name}') AND SEQUENCE_OWNER=UPPER(USER)",
                PDO::FETCH_COLUMN
            );

            return $stmt->fetch();
        } catch (\Exception $e) {
            return false;
        }
    }
public function checkSequence($name)
    {
        try {
            $stmt = $this->query(
                "SELECT count(*) FROM ALL_SEQUENCES WHERE SEQUENCE_NAME=UPPER('{$name}') AND SEQUENCE_OWNER=UPPER(USER)",
                PDO::FETCH_COLUMN
            );

            return $stmt->fetch();
        } catch (\Exception $e) {
            return false;
        }
    }
public function checkSequence ( $ name ) { try { $ stmt = $ this -> query ( "SELECT count(*) FROM ALL_SEQUENCES WHERE SEQUENCE_NAME=UPPER('{$name}') AND SEQUENCE_OWNER=UPPER(USER)" , PDO :: FETCH_COLUMN ) ; return $ stmt -> fetch ( ) ; } catch ( \ Exception $ e ) { return false ; } }
Special non PDO function to check if sequence exists.

@param  string $name
@return bool
Special non PDO function to check if sequence exists .