---
title: "OBJECT_EXISTS"
description: "The OBJECT_EXISTS SQL function determines whether an object such as a table exists in the data dictionary."
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/docs/invantive-universalsql/grammar/sql-functions/object-exists
original: https://documentation.invantive.eu/en/docs/invantive-universalsql/grammar/sql-functions/object-exists
updated: 2026-08-09T00:00:00Z
license: https://documentation.invantive.eu/en/
---

## Syntax
```mermaid
%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart LR
    Start((START)) --> OBJECT_EXISTS[OBJECT_EXISTS]:::quoted
    OBJECT_EXISTS --> End((END))
```

## Purpose
The `OBJECT_EXISTS` SQL function determines whether an object such as a table exists in the data dictionary.

Parameters:
- Name (`varchar2`): name of the object, optionally including a data container alias.

Returns: whether the object exists as a `boolean`.

## Examples
The following example determines whether the table `dual` exists in the data dictionary:
```sql
select object_exists('dual@DataDictionary')

-------------------
true
```
The following example determines whether the table `nonsense` exists in the data dictionary:
```sql
select object_exists('nonsense@DataDictionary')

-------------------
false
```