Skip to content

Database Tips

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

Category: Transact-SQL functions

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

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

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
Using recursive query to find dates without sales

Getting date and time parts from DateTime and SmallDateTime fields

July 23, 2018 Database Tips Microsoft SQL Server, Transact-SQL functions

Microsoft SQL Server supports several data types that can be used to store dates and times. Although some of them[…]

Read more

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