SAP HANA Articles

Page 45 of 58

Using Text join in SAP HANA Modeling

SAP Developer
SAP Developer
Updated on 24-Feb-2020 454 Views

To create an Attribute view, you have to navigate to Content tab → Package → New → Attribute ViewYou can select any of view type to implement a Text join in HANA.Add both the tables to Data Foundation and in Join type select Text join as shown below −Next is to save and activate Attribute view and text join is used.

Read More

Changing default schema in SQL console in SAP HANA

John SAP
John SAP
Updated on 21-Feb-2020 2K+ Views

To change the default schema, you have to select schema name from Catalog folder and click on SQL tab at the top.You can also right click on Schema in which you want to create Relational objects and select Open SQL Console. In below pic, you can see the Schema AA_HANA11 and right click → Open SQL Console.At the top of SQL console, you can see Schema name where the objects will be created using this console.

Read More

Granting _SYS_REPO with SELECT to user schema in SAP HANA

John SAP
John SAP
Updated on 21-Feb-2020 6K+ Views

In SAP HANA system _SYS_REPO user is required to create run time objects that are saved in HANA database under _SYS_BIC schema. When you activate modeling views in HANA, SYS REPO provides the read access to users on these modeling views. That is why it is required to grant _SYS_REPO with SELECT with GRANT privilege to user schemas.GRANT SELECT ON SCHEMA "SCHEMA_NAME" TO _SYS_REPO WITH GRANT OPTIONThis is required when you use objects of a table/view of a schema to build HANA Modeling Views. You need to grant _SYS_REPO the SELECT WITH GRANT privilege on this schema.

Read More

Refreshing a schema after creating a table in SAP HANA database

John SAP
John SAP
Updated on 21-Feb-2020 598 Views

Let us say you have executed the below create table SQL statement in HANA database −Create Table Demo_HANA ( ID INTEGER, NAME VARCHAR(10), PRIMARY KEY (ID) );To check the table in HANA database, navigate to AA_HANA11 schema and right click and refresh (F5). Navigate to “Table” folder and you can see new table with name Demo_HANA is created.

Read More

Inserting data in a table in SAP HANA

John SAP
John SAP
Updated on 21-Feb-2020 2K+ Views

To insert the data, you need to run the Insert statement in SQL editor. “Demo_HANA” is table name.Insert into Demo_HANA Values (1,'John'); Insert into Demo_HANA Values (2,'Anna'); Insert into Demo_HANA Values (3,'Jason'); Insert into Demo_HANA Values (4,'Nick');In SQL editor, add INSERT statements and execute (F8) as below −

Read More

Changing storage type of table in SAP HANA database

John SAP
John SAP
Updated on 21-Feb-2020 607 Views

You can also convert a Column store table to a Row store table or a Row store table to Column store table using ALTER table command.Alter table "AA_HANA11"."DEMO_HANA" column;

Read More

Development Perspective in SAP HANA Studio

Anil SAP Gupta
Anil SAP Gupta
Updated on 21-Feb-2020 732 Views

You have different ABAP and Java Perspectives to perform application development and to host applications on HANA system −ABAPABAP Connectivity and IntegrationABAP ProfilingJavaJava BrowsingJava EEJava Type HierarchyJava ScriptThese perspective can be opened by navigating to, navigate to Window option at the top → Perspective → Open Perspective → Other

Read More

SQL statement to add a table as Virtual table in SAP HANA Smart Data Access

Anil SAP Gupta
Anil SAP Gupta
Updated on 21-Feb-2020 1K+ Views

You can use following SQL statement for this −CREATE VIRTUAL TABLE ExampleCREATE VIRTUAL TABLE ABC.test_VT AT “ORCL_11G_WIN”.”NULL”.”OUTLN”.”Dept”;In this SQL statement, ABC.test_VT is Virtual table name“ORCL_11G_WIN”.”NULL”.”OUTLN”.”Dept”;- Remote location for creating Virtual table

Read More

Details maintained under Name server in SAP HANA

Anil SAP Gupta
Anil SAP Gupta
Updated on 21-Feb-2020 734 Views

In SAP HANA system architecture, Name server is used to maintain topology of SAP HANA system. It details complete information about system landscape- all hosts in distributed environment, active components and services running on each component in a distributed system environment.Topology details of SAP HANA system is maintained.Name server holds the detail of each component and services running on each host and hence reduces the re-indexing time.

Read More

Altering a database view in SAP HANA

SAP Expert
SAP Expert
Updated on 21-Feb-2020 1K+ Views

You can alter the view, then we can use the Alter View command to alter the view.ExampleAlter view View_EmpInfo as Select Emp_Details.Id, Emp_Details.EmplName, EmpProj.Projname from Emp_Details inner join EmpProjInfo on Emp_Details.Id=EmpProjInfo.Id;We have applied ALTER command to update an existing view with name- View_EmpInfo which is applying Inner Join on two tables on Id column to create a database view.

Read More
Showing 441–450 of 573 articles
« Prev 1 43 44 45 46 47 58 Next »
Advertisements