SQL AND PL/SQL

Everything From how to write simple SQL and PL/SQL  statements to new features of the language, Creating functions, Stored procedures, complex queries, solutions to real world challenges and much more. In this Category I will post about the Language that has been around for a while and is still going strong Oracle SQL and it’s procedural extension PL/SQL

Non-Positional Inserts in Oracle AI Database 26ai

Background Oracle AI Database 26ai provides new, easier and self documenting syntax for insert statements: Non-positional Inserts. This makes use of the INSERT INTO SET  and BY NAME clauses The SET clause works similarly to the existing set clause for update statements, and the by name clause makes it easier to insert the results of […]

Non-Positional Inserts in Oracle AI Database 26ai Read More »

Simpler Update and Delete logic with direct joins in Oracle 26ai

Background Historically, updating a table based on values from another table in oracle database required developers to rely on correlated subqueries and or merge statements or other workarounds. Oracle ai database 26ai allows tables to be joined directly using an update and/or a delete statement. The result is cleaner SQL, more intuitive data modification queries,

Simpler Update and Delete logic with direct joins in Oracle 26ai Read More »

Solving Complex BOM Structures with Oracle Hierarchical Queries

Unlock the secrets of Oracle’s hierarchical queries and discover how to tackle complex Bill of Material (BOM) structures! In this insightful blog post, we delve into a real-world challenge: calculating the total reorder lead time for parts needed to build a car or bike. With a blend of SQL and PL/SQL, we explore the intricacies of parent-child relationships in data, revealing how to efficiently navigate through layers of components. Join us on this journey to master hierarchical queries and enhance your database skills—your BOM management will never be the same!

Solving Complex BOM Structures with Oracle Hierarchical Queries Read More »