DROP MAPPING

The DROP MAPPING statement removes a mapping from the public schema.

Syntax Summary

This code block is a quick reference with all the parameters that you can use with the DROP MAPPING statement.

See some practical examples.

DROP MAPPING [IF EXISTS] mapping_name

Parameters

The DROP MAPPING statement accepts the following parameters.

Parameter Description Example

IF EXISTS

Fail silently if the mapping does not exist.

mapping_name (required)

The name of the mapping to delete.

Restricting Access to Mappings

In Hazelcast Enterprise, you can grant or deny permission for certain clients to use this statement.

Examples

This section lists some example SQL queries that show you how to use the DROP MAPPING statement.

Delete a Mapping

DROP MAPPING IF EXISTS myMap;