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 (126)
  • 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)

Category: DBMS

Database Management Systems

How Typeof() Works in SQLite

Posted on May 28, 2020May 28, 2020 by Ian

The SQLite typeof() function allows you to determine the data type of an expression.

An expression can be one of the following data types:

  • null
  • integer
  • real
  • text
  • blob
Continue reading →
SQLite functions

How RandomBlob() Works in SQLite

Posted on May 28, 2020May 28, 2020 by Ian

The SQLite randomblob() function returns a blob containing pseudo-random bytes.

The number of bytes is determined by its argument. If its argument is less than 1 then a 1-byte random blob is returned.

Continue reading →
SQLite functions

How Replace() Works in SQLite

Posted on May 28, 2020May 28, 2020 by Ian

The SQLite replace() function enables us to replace one string (or part of a string) with another string.

The way it works is that you provide three arguments; the string that contains the substring to replace, the substring within that string to replace, and the string to replace it with.

Continue reading →
SQLite functions, string functions

How Unicode() Works in SQLite

Posted on May 28, 2020May 28, 2020 by Ian

In SQLite, you can use the unicode() function to return the unicode code point for a given character.

The way it works is that it returns the unicode code point for the first character of the string that you provide.

Continue reading →
SQLite functions, string functions

Find Foreign Key Violations in SQLite

Posted on May 28, 2020May 28, 2020 by Ian

SQLite includes a PRAGMA statement that allows you to check for foreign key violations on a whole database or a given table.

The statement is PRAGMA foreign_key_check, and it works as follows.

Continue reading →
SQLite how to, relationships

Return a List of Foreign Keys in SQLite

Posted on May 28, 2020May 28, 2020 by Ian

In SQLite, you can use a PRAGMA statement to return a list of foreign keys for a given table.

Continue reading →
SQLite relationships

What is SQLite?

Posted on May 28, 2020May 28, 2020 by Ian

SQLite is a widely-used lightweight, embedded relational database management system (RDBMS).

SQLite is a C-language library that implements a small, fast, self-contained, high-reliability, full-featured, SQL database engine. SQLite is largely SQL standards compliant, and it is fully ACID compliant.

Continue reading →
SQLite dbms, what is

SQLite Aggregate Functions

Posted on May 28, 2020May 28, 2020 by Ian

This page contains a list of aggregate functions that are available in SQLite by default.

Continue reading →
SQLite aggregate functions, functions

How to Enable/Disable CHECK Constraints in SQLite

Posted on May 27, 2020August 9, 2024 by Ian

If you ever need to enable or disable all CHECK constraints in SQLite, you can use the ignore_check_constraints PRAGMA statement.

This pragma statement explicitly enables or disables the enforcement of CHECK constraints. The default setting is off, meaning that CHECK constraints are enforced by default.

Continue reading →
SQLite constraints, how to

Create a CHECK Constraint in SQLite

Posted on May 26, 2020August 9, 2024 by Ian

In SQLite, you can create a CHECK constraint by adding the applicable code within the CREATE TABLE statement when creating the table.

If a table has a CHECK constraint on it, and you try to insert or update data that violates the CHECK constraint, the operation will fail with an error.

Continue reading →
SQLite constraints, how to
  • «
  • 1
  • …
  • 276
  • 277
  • 278
  • 279
  • 280
  • …
  • 366
  • »

About Database.Guide | Privacy Policy