Skip to content

Database Tips

DatabaseTips.Net – From SQL to database tuning; here you can find it all!

Category: ORACLE

3 ways to remove duplicate data

April 16, 2019 Database Tips Microsoft SQL Server, MySQL, ORACLE, PL/SQL, PostgreSQL, SQL, SQLite, Transact-SQL functions

Duplicate data can be generated in the database due to design error, software bugs or misuse by end users. Depending[…]

Read more

NOT IN and NULL: a dangerous combination

March 29, 2019 Database Tips Microsoft SQL Server, MySQL, ORACLE, PostgreSQL, SQL

Non-correlated subqueries (where the inner query does not have any column from the outer query tables) are usually implemented using[…]

Read more

Using SQL in Python

February 22, 2019 Database Tips Microsoft Access, Microsoft SQL Server, ORACLE, Python, SQL, SQLite

Python has become one of the most popular programming languages and is used in various contexts, including in WEB applications[…]

Read more

LEAD and LAG: accessing multiple rows without self join

February 12, 2019 Database Tips Microsoft Access, Microsoft SQL Server, MySQL, ORACLE, PL/SQL, PostgreSQL, SQL, Transact-SQL functions

LEAD and LAG are window functions that enable the simultaneous access to a table’s row and to other row related[…]

Read more

Coalesce, NVL, ISNULL, Case, … What should a I use?

January 14, 2019 Database Tips Microsoft Access, Microsoft SQL Server, MySQL, ORACLE, PL/SQL, PostgreSQL, SQL, Transact-SQL functions

There are a lot of options to use when testing for NULL values in SQL. One should use built-in functions[…]

Read more

Looking for missing values using recursive queries

December 26, 2018 Database Tips ORACLE, PL/SQL, SQL

In most of application databases, we can find one or more numeric columns representing IDs or used as primary keys.[…]

Read more

Sending Mail in Oracle with UTL_SMTP

November 13, 2018 Database Tips ORACLE, PL/SQL, SQL

Let’s take a look on how to send mail in Oracle DBMS using the UTL_SMTP package in a step-by-step basis:[…]

Read more

Are ROWNUM and ROWID the same column?

November 2, 2018 Database Tips ORACLE, SQL

No. In Oracle DBMS, ROWNUM and ROWID are pseudocolumns that can be accessed in SQL queries, but they aren’t  the[…]

Read more

Using a recursive query to create a list of dates

October 15, 2018 Database Tips ORACLE, SQL

In enterprise database systems, one may commonly find business events (e.g. sales, revenue, etc) associated to dates or months. In[…]

Read more

Database Users and Schemas – concepts and tricks

July 20, 2018 Database Tips Database schemas, Database users, Microsoft SQL Server, MySQL, ORACLE, PostgreSQL

There is some confusion when dealing with some users and schemas. Some DBMS support several schemas per database, while other[…]

Read more

Posts pagination

«Previous Posts 1 2 3 Next Posts»

Subscribe to DatabaseTips

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Top Posts

Database Tuning and Buffer Cache Hit ratio

Categories

  • Big data
  • Blog Presentation
  • Database schemas
  • Database tuning
  • Database users
  • Error messages
  • History
  • Microsoft Access
  • Microsoft SQL Server
  • MySQL
  • ORACLE
  • PL/SQL
  • PostgreSQL
  • Python
  • RAC
  • SQL
  • SQLite
  • Transact-SQL functions




Tags

Access Archive Backup CASE CAST Coalesce data types DB2 Group by Having initialization ISNULL Joins LAG LEAD Mail MariaDB Microsoft Access; Microsoft SQL Server Missing values MySQL Not Exists NVL NVL2 ORACLE Packages PostgreSQL Privileges Python RAC Recovery Recursive Query Rowid Rownum Row_Number Schemas shutdown split brain SQL SQLite Top N Transaction control Tuning Users Where
WordPress Theme: Poseidon by ThemeZee.
 

Loading Comments...