on ‎2023 Feb 17 7:02 AM
I can create tables and views in the UI also I can read the space and table definitions using dwc-cli, but I am not able to create the table using the dwc-cli . I am getting this error "Required privileges are missing for the user to execute the request."

Is there any additional privilege required for DW modeler to create tables and views using dwc-cli?
Request clarification before answering.
Hi Atharva,
please make sure to not include the spaceDefinition property in case you only want to update the definitions. If you include the spaceDefinition property, the user is required to have update privilege on spaces. If you don't include it, DW Modeler privileges are sufficient.
Thanks,
Jascha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Creating a table in SAP Data Warehouse Cloud (DWC) using Command Line Interface (CLI) is a straightforward process. The following steps should be followed to create a table in DWC:
Login to your DWC account using the command line interface (CLI).
Run the "create table" command followed by the table name, column name, data type, and column length. For example, to create a table named "Employee" with columns "Name" and "Age", the command would be:
CREATE TABLE Employee (Name VARCHAR(20), Age INT);
The table is then created in DWC.
Insert data into the table using the "INSERT" command. This command is used to add values to the columns. For example, to insert a record into the previously created table, the command would be:
INSERT INTO Employee VALUES ('John', 24);
By following these steps, you can easily create a table in DWC using CLI.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 7 | |
| 5 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.