Skip to main content
Previous sectionNext section


Suppress error upon CREATE of a previously existing table.


[SQL]    No201=n

n is either 1 or 0. The default value is 0.


When DDLNo201 is enabled (n = 1), when an attempt is made to CREATE a previously existing table or view, InterSystems IRIS® data platform suppresses the SQLCODE -201 error. When this parameter is not enabled, InterSystems IRIS returns the error.

For further details, refer to the CREATE TABLE and CREATE VIEW commands.

Changing This Parameter

On the SQL page of the Management Portal (System Administration > Configuration > SQL and Object Settings > SQL), select Ignore redundant DDL statements to suppress redundant SQLCODE errors.

To set the desired value for DDLNo201 from the InterSystems Terminal, use the SetDDLNo201()Opens in a new window method of the %SYSTEM.SQLOpens in a new window class. See the class reference for details.

You can also change DDLNo201 with the Config.SQLOpens in a new window class (as described in the class reference) or by editing the CPF in a text editor (as described in the Editing the Active CPF section of the “Introduction to the Configuration Parameter File” chapter in this book).

FeedbackOpens in a new window