Navigation:  NexusDB Guide > SQL Reference > SQL Statements > Special Statements >

ASSERT TABLE statement

Previous pageReturn to chapter overviewNext page

NexusDB V3 Manual

ASSERT TABLE statement

button_main button_prev button_next

NexusDB Manual V3 > SQL Reference > SQL Statements > Special Statements

Syntax

 

<assert table statement> ::= ASSERT TABLE table-name = TABLE table-name

 

 

Usage

 

The assert table statement checks if the two tables have identical column definitions and row data, and throws an exception if any difference is detected.

 

 

Examples

 

1)

ASSERT TABLE students = TABLE  students_backup_20040810;

 

 


Conformance

 

NexusDB extensions

-

ASSERT TABLE statement

 

© Nexus Database Systems Pty Ltd.

nexus_logo