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.

Updated on: 2020-02-17T08:16:55+05:30

367 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements