Check a Table Inside a Schema in SAP HANA Database

John SAP
Updated on 27-Feb-2020 10:55:51

3K+ Views

Note that you need to check table under schema name under which it is created. You can confirm schema name on top of SQL editor.In below snapshot, you can Current Schema: AA_HANA11.To check if table is created, go to schema name under Catalog folder → Tables and search for the table name used in SQL query.

Viewing Table Definition in SAP HANA

John SAP
Updated on 27-Feb-2020 10:53:53

3K+ Views

To check table definition, you need to right click on table name → Open Definition and this will open table structure under HANA database.

Use of SQL MDX Processor in SAP HANA Index Server

Anil SAP Gupta
Updated on 27-Feb-2020 10:45:44

524 Views

SQL/MDX processor in HANA system processes all SQL and MDX statements executed in HANA system. SQL statements are generated for all the tables, schemas and MDX statements are raised for OLAP data processing. SQL stands for Structured Query Language and is Relational database language to manage two dimensional objects in HANA db.MDX stands for Multi Dimension Expression and is an OLAP language for processing MDX statements for multidimensional models.SQL/MDX Processor directs all the statement to relevant engines for processing and Engine optimization. It is used for authorization management in executing queries and Error handling while processing SQL/MDX statements.Following functions are ... Read More

Different Engine Types in SAP HANA Architecture

Anil SAP Gupta
Updated on 27-Feb-2020 10:43:28

1K+ Views

In SAP HANA system, there are three basic engines used to processes queries in SAP HANA. Following engines are used −Join EngineOLAP EngineCalculation EngineJoin EngineUsed when querying an Attribute View in SAP HANAOLAP EngineAnalytic Views (without derived columns) use the OLAP EngineCalculation EngineCalculation Views or Analytic Views with derived columns use this engine

Create Restricted User in SAP HANA

SAP Expert
Updated on 27-Feb-2020 10:36:12

511 Views

It is very simple. You can create a Restricted user with below query −CREATE [RESTRICTED] USER    []    [ ]    [ ]    [ ]    [ ]    [ ]    []In above SQL query, you have to pass following parameters −Specifies a database user in another tenant database as the remote identity of the database user being created.Specifies the user password of the user being created.Defines an external identification mechanism.Defines an external identity that is used to authenticate the user.

Check Create Time for All Users in SAP HANA

SAP ABAP Expert
Updated on 27-Feb-2020 10:33:29

973 Views

This can be found using following SQL command −SELECT * from USERS;

Understanding a Database View in SAP HANA

SAP ABAP Expert
Updated on 27-Feb-2020 10:31:37

547 Views

Consider the following example −Example            Id            Empl. NameEmpl.userEmpl.passwordJoining Date1 Employee 1  Emp1Emp1Pwd      9/11/20162 Employee 2Emp2Emp2Pwd16/08/20153Employee 3 Emp3Emp3Pwd  15/09/20164Employee 4Emp4  Emp4Pwd3/07/20145Employee 5  Emp5    Emp5Pwd 10/09/20126 Employee 6Emp6  Emp6Pwd  1/10/2013         Consider a scenario when a developer needs to analyze some data of Employee Table with the above fields. Using database view, an administrator can create a virtual table which only contains information about Employee Id, Employee name, and date of joining and give permission to developer to use that view.

Frequently Used MySQL Import Options for Command Line

usharani
Updated on 27-Feb-2020 07:32:01

165 Views

mysqlimport can be run with a number of options. Followings are some options for mysqlimport and their effect on import.OptionAction-r or –replaceCause imported rows to overwrite existing rows if they have the same unique key value.-i or –ignoreIgnore rows that have the same unique key value as existing rows.-f or –forceForce mysqlimport to continue inserting data even if errors are encountered.-l or --lock-tablesLock each table before importing (a good option on a busy server).-d or –deleteEmpty the table before inserting.--fields-terminated- by='char'Specify the separator used between values of the same row, default \t (tab).--fields-enclosed- by='char'Specify the delimiter that encloses each field; ... Read More

Apply EXTRACT Function with WHERE Clause in MySQL

V Jyothi
Updated on 27-Feb-2020 06:34:26

991 Views

With the help of following MySQL query, we can apply EXTRACT() function with WHERE clause on the dates stored in a table.mysql> Select StudentName,EXTRACT(Year from dateofreg)AS YEAR from testing WHERE StudentName = 'Gaurav'; +-------------+------+ | StudentName | YEAR | +-------------+------+ | Gaurav      | 2017 | +-------------+------+ 1 row in set (0.00 sec)

isupper and islower Functions and Their Application in C++

Sunidhi Bansal
Updated on 27-Feb-2020 05:48:09

6K+ Views

The functions isupper() and islower() in C++ are inbuilt functions present in “ctype.h” header file. It checks whether the given character or string is in uppercase or lowercase.What is isupper()?This function is used to check whether the given string contains any uppercase letter or not and also if we have one character as an input then it checks whether the character is in uppercase or not.Syntaxint isupper ( int arg)ExplanationThis function has return type as int as it returns non zero value when the string contains uppercase letter and 0 otherwise. It has one parameter which will contain the character ... Read More

Advertisements