Can we create multiple database in SAP HANA system?


In SAP HANA, you don’t have a concept of creating multiple databases in one container. To create a separate container for your database objects, you can create the schema in HANA db.

To create a schema, you can use below SQL query −

CREATE SCHEMA schema name

You can also define <user_name> as owner name while defining a schema.

CREATE SCHEMA <schema_name> [OWNED BY <user_name>]

If it is not defined, the system takes the current user as the owner of the schema.

Monica Mona
Monica Mona

Student of life, and a lifelong learner

Updated on: 17-Feb-2020

213 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements