Database.Guide

Skip to content

Beginners

  • What is a Database?
  • Database Tutorial

SQL

  • SQL Tutorial
  • SQL Reference
  • SQL Joins Tutorial
  • SQL Transactions Tutorial
  • Basic SQL Queries

Categories

  • Azure SQL Edge (17)
  • Database Concepts (99)
  • Database Tools (72)
  • DBMS (9)
  • DuckDB (136)
  • MariaDB (424)
  • Microsoft Access (17)
  • MongoDB (265)
  • MySQL (602)
  • NoSQL (8)
  • Oracle (301)
  • PostgreSQL (480)
  • Redis (210)
  • SQL (697)
  • SQL Server (1,169)
  • SQLite (298)

Author: Ian

How TRY_CONVERT() Works in SQL Server

Posted on December 18, 2021 by Ian

In SQL Server, the TRY_CONVERT() function is very similar to the CONVERT() function, except that TRY_CONVERT() doesn’t return an error if the conversion fails (CONVERT() does).

Instead, the TRY_CONVERT() function returns NULL if the conversion doesn’t succeed.

There are some occasions however, where TRY_CONVERT() will return an error.

Continue reading →
SQL Server conversion functions, functions, t-sql, what is

5 Ways to Check a Column’s Data Type in SQLite

Posted on December 18, 2021 by Ian

In SQLite, there are quite a few ways to look at a table’s structure. Therefore, there are quite a few ways we can check the data type of the columns within that table.

There’s also a function that allows us to check the data type of a column returned in a query.

Here are five ways to check the data type of a column in SQLite.

Continue reading →
SQLite data types, how to

Subtract Seconds from a Datetime Value in MariaDB

Posted on December 18, 2021 by Ian

Here are some options for subtracting one or more seconds from a datetime expression in MariaDB.

Continue reading →
MariaDB dates, how to

CONVERT() in SQL Server

Posted on December 17, 2021January 24, 2023 by Ian

In SQL Server, the CONVERT() function converts an expression of one data type to another.

Here’s a quick overview of the function with examples.

Continue reading →
SQL Server conversion functions, functions, t-sql, what is

3 Ways to Check a Column’s Data Type in PostgreSQL

Posted on December 17, 2021 by Ian

Here are three ways to get the data type of a given column in MariaDB.

Continue reading →
PostgreSQL data types, how to, psql

How CAST() Works in SQL Server

Posted on December 17, 2021December 18, 2021 by Ian

In SQL Server, the CAST() function converts an expression of one data type to another.

Here’s a quick overview of the function with examples.

Continue reading →
SQL Server conversion functions, functions, t-sql, what is

Data Type Precedence in SQL Server

Posted on December 16, 2021January 8, 2023 by Ian

Below is a list containing the SQL Server data types, in order of precedence.

Continue reading →
SQL Server convert, data types, t-sql

How to List all Stored Procedures in MariaDB

Posted on December 16, 2021 by Ian

In MariaDB, we can use the SHOW PROCEDURE STATUS command to return a list of stored procedures.

We can also query the information_schema.routines table to do the same thing.

Continue reading →
MariaDB how to, stored procedures

3 Ways to Check Column Data Type in Oracle

Posted on December 15, 2021 by Ian

Here are three ways to get information about a table’s columns in Oracle, including their data types.

Continue reading →
Oracle data types, how to

4 Ways to Check a Column’s Data Type in MySQL

Posted on December 14, 2021 by Ian

Here are four ways to get the data type of a column in MySQL.

Continue reading →
MySQL data types, how to
  • «
  • 1
  • …
  • 163
  • 164
  • 165
  • 166
  • 167
  • …
  • 388
  • »

About Database.Guide | Privacy Policy