Skip to content

Database Tips

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

Category: Microsoft SQL Server

Using Sequences in database systems

December 6, 2019 Database Tips Microsoft SQL Server, ORACLE, PostgreSQL, SQL

A Sequence is a database object capable to generate numbers (i.e. it is a number generator). One of the main[…]

Read more

SQL Count(*), Count(cte), Count(column), Count(pk), … x Inner and Outer Joins

November 8, 2019 Database Tips Microsoft Access, Microsoft SQL Server, MySQL, ORACLE, PostgreSQL, SQL, SQLite

In SQL, The Count function counts the number of values in a set. Such function accepts a parameter, that specifies[…]

Read more

How to delete millions of rows from a table

October 24, 2019 Database Tips Microsoft SQL Server, MySQL, ORACLE, PostgreSQL, SQL

To delete a great number of rows from a table may become a pain in the neck. A never ending[…]

Read more

SQL: 3 ways to find gaps and missing values

September 5, 2019 Database Tips Microsoft SQL Server, MySQL, ORACLE, PL/SQL, PostgreSQL, SQL, Transact-SQL functions

It is really common to have columns that stores sequences of numbers in database systems (specially in relational databases). Users[…]

Read more

SQL: from [Not] In to [Not] Exists in 3 steps

August 13, 2019 Database Tips Microsoft Access, Microsoft SQL Server, MySQL, ORACLE, PostgreSQL, SQL

For many people, using noncorrelated subqueries (using In/Not In) seems to be more natural than using Exists/Not Exists and correlated[…]

Read more

SQL Inner and (Left/Right/Full) Outer Joins

July 30, 2019 Database Tips Microsoft SQL Server, MySQL, ORACLE, PostgreSQL, SQL

Joins are one of the most common operators in SQL queries. In this post, we present inner and outer joins[…]

Read more

Database Tuning and Buffer Cache Hit ratio

June 16, 2019 Database Tips Database tuning, Microsoft SQL Server, ORACLE

In this post, we continue our series on performance tuning. We present the concepts of logical reads and physical reads,[…]

Read more

Database Tuning, SQL Execution Plan and Query Rewrite

June 12, 2019 Database Tips Database tuning, Microsoft SQL Server, ORACLE, SQL

In a previous post, we present an introduction to database tuning. In this post, we’ll talk about SQL execution plans[…]

Read more

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

Posts pagination

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