SQL Articles

Page 12 of 12

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 ...

Read More

Print pyramid of tutorialspoint in PL/SQL

Sunidhi Bansal
Sunidhi Bansal
Updated on 09-Aug-2019 1K+ Views

PL/SQL stands for “Procedural Language extension to SQL” . It is the mixture of SQL and Procedural features provided by programming language. It was developed by Oracle Corporation in the late 1980s as procedural extension language for SQL and the Oracle relational database.PL/SQL programs consists of blocks that can be nested and a block structure look likes this −DECLARE    -- it contains declaration statements BEGIN    -- It contains executable statements EXCEPTIONS    -- It contains exception handling statements END;ExampleIn PL/SQL single-line comments begin with double hyphen(--) and Multi-line comments begin with a slash-asterisk ( /* ) and end ...

Read More

How to execute DELETE SQL in a JSP?

Samual Sam
Samual Sam
Updated on 30-Jul-2019 976 Views

The tag executes an SQL statement that does not return data; for example, SQL INSERT, UPDATE, or DELETE statements.AttributeThe tag has the following attributes −AttributeDescriptionRequiredDefaultsqlSQL command to execute (should not return a ResultSet)NoBodydataSourceDatabase connection to use (overrides the default)NoDefault databasevarName of the variable to store the count of affected rowsNoNonescopeScope of the variable to store the count of affected rowsNoPageExampleTo start with basic concept, let us create a simple table Employees table in the TEST database and create few records in that table as follows −Step 1Open a Command Prompt and change to the installation directory as follows ...

Read More

SQL Script vs Graphical Calcualtion views in SAP HANA

SAP Developer
SAP Developer
Updated on 30-Jul-2019 1K+ Views

In SAP HANA Modeling, Graphical Information Views are faster as compared to SQLScript in almost every scenario and also Graphical Information Views are easier for others to understand, remodel and change.There are scenarios where you need SQLScript, but it shouldn’t be viewed as a general-purpose solution to modeling problems.Note:It is never recommended that you code a Calculation View with SQL Script and use it inside another Calculation View with CE Functions as it results in a very bad performance.

Read More

Executing a SQL query in SAP HANA Studio

John SAP
John SAP
Updated on 30-Jul-2019 2K+ Views

To run the query, click on green arrow button on top right corner or press F8.

Read More
Showing 111–115 of 115 articles
« Prev 1 8 9 10 11 12 Next »
Advertisements