SQL Articles

Page 11 of 12

Overview of Packages in Oracle

Alex Onsman
Alex Onsman
Updated on 20-Jun-2020 944 Views

Packages are SQL procedures, functions, variables, statements etc. that are grouped into a single unit. Many different applications can share the contents of a package, as it is stored in the database.Parts of a PackageThe following are the parts of a package in Oracle −Package SpecificationThe package specifications contains information about all the procedures, functions, variables, constants etc. stored inside it. It has the declaration of all the components but not the code.All the objects that are in the specification are known as public objects. If there is any object that is not available in the specification but is coded ...

Read More

Creating a new table in SAP HANA

SAP Expert
SAP Expert
Updated on 18-Jun-2020 3K+ Views

New tables can be created using the two methods given below −Using SQL editorUsing GUI optionThe new table can be created using SQL Create Table statement –Create column Table Test1 (    ID INTEGER,    NAME VARCHAR(10),    PRIMARY KEY (ID) );When you run this SQL query, you get a message like this:The statement 'Create column Table Test1 ( ID INTEGER, NAME VARCHAR(10), PRIMARY KEY (ID) )' successfully executed in 5 ms 136 μs (server processing time: 4 ms 432 μs) - Rows Affected: 0To create a table using GUI, you need to right-click on any schema name -> New ...

Read More

Component Name in SAP HANA architecture

SAP Expert
SAP Expert
Updated on 18-Jun-2020 241 Views

The following table lists all the key server components in HANA, the corresponding services, and OS process details.

Read More

Manual compression of a table in SAP HANA

John SAP
John SAP
Updated on 18-Jun-2020 1K+ Views

It is also possible to compress a table in SAP HANA system manually by executing the following SQL statement.UPDATE "table_name" WITH PARAMETERS ('OPTIMIZE_COMPRESSION' = 'YES')This results in deciding whether a compression is required or an existing compression can be optimized. In this scenario, HANA system uses most suitable compression algorithm.When you run the above SQL command, compression status remains the same. You can also force the database to reevaluate compression using the following SQL status UPDATE "AA_HANA11"."SHOP_FACTS" WITH PARAMETERS ('OPTIMIZE_COMPRESSION' = 'FORCE')

Read More

Loading an individual column in SAP HANA using SQL

SAP Developer
SAP Developer
Updated on 13-Mar-2020 485 Views

Yes, you can open SQL console and execute the statement −LOAD (, ...);This SQL query will load or unload entire column into or from main memory. Its load status is TRUE or FALSE. The table's load status is PARTIALLY.

Read More

Checking Compression ratio of a table in SAP HANA

SAP Expert
SAP Expert
Updated on 06-Mar-2020 1K+ Views

To check the Compression ratio for a table, you can navigate to Table Definition. Go to Runtime Information.To see Compression Ratio, go to Columns tab. You can see the compression ratio in the Main Size Compression Ratio [%] column.

Read More

Creating a Standard user in SAP HANA system using SQL

SAP Expert
SAP Expert
Updated on 21-Feb-2020 592 Views

This can be created using following SQL query −CREATE USER TEST_122 PASSWORD Pass123$$

Read More

Create User SQL in SAP HANA database

SAP ABAP Expert
SAP ABAP Expert
Updated on 21-Feb-2020 3K+ Views

You can achieve this by running the below SQL query −>CREATE USER TEST password “Welcome1$$”  VALID FROM ‘2017-12-05 11:00:00’ UNTIL ‘2018-12-08 12:00:00’; CREATE USER DUMMY password “Welcome1$$”  VALID FROM NOW UNTIL FOREVER;Note that password passed in this SQL should meet password policy of SAP HANA system otherwise user creation will be failed.

Read More

Difference between Inner and Outer join in SQL

Himanshu shriv
Himanshu shriv
Updated on 21-Jan-2020 2K+ Views

In Relational database tables are associated with each other and we used foreign key to maintain relationships between tables. We used join clause to retrieve data from associated tables. The join condition indicates how column in each table are matched against each other. There are two types of joins clause in SQL Inner join Outer joinOuter join is again divided into parts −LEFT OUTER JOIN - It will return all data of the left table and matched  records in both table RIGHT OUTER JOIN - it will return all the data of the right table and matched records in both tableSr. No.KeyInner joinOuter join1Basic It ...

Read More

What is NoSQL and is it the next big trend in databases?

Sharon Christine
Sharon Christine
Updated on 16-Jan-2020 2K+ Views

What is NoSQL?As per the official Wiki definition: “A NoSQL (originally referring to “non SQL” or “non relational”) database provides a mechanism for storage and retrieval of data that is modeled in means other than the tabular relations used in relation databases (RDBMS). It encompasses a wide variety of different database technologies that were developed in response to a rise in the volume of data stored about users, objects and products, the frequency in which this data is accessed, and performance and processing needs. Generally, NoSQL databases are structured in a key-value pair, graph database, document-oriented or column-oriented structure.Over decades ...

Read More
Showing 101–110 of 114 articles
« Prev 1 8 9 10 11 12 Next »
Advertisements