Skip to content

Commit

Permalink
deploy: 33e00d4
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelCurrin committed Jan 9, 2025
1 parent a5b814e commit 7544553
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
13 changes: 13 additions & 0 deletions cheatsheets/sql/rdbms/sqlite.html
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,19 @@ <h2 id="core-functions">Core functions</h2>
<li><a href="https://sqlite.org/lang_corefunc.html">Built-In Scalar SQL Functions</a></li>
</ul>

<h2 id="quirks">Quirks</h2>

<p>See <a href="https://www.sqlite.org/quirks.html">Quirks</a> on the SQLite website.</p>

<p>Here are some features that are commonly found in other databases but are not present in SQLite:</p>

<ul>
<li>The default mode is rollback journal, which limits you to either multiple readers or a single writer.</li>
<li>Foreign keys are disabled by default and require explicit activation.</li>
<li>SQLite is “weakly typed,” a concept it refers to as “type affinity.” This means you can insert any data type into a column, regardless of the defined type. Strongly typed columns are available only through the use of STRICT tables.</li>
<li>Many ALTER commands that you might expect in other databases are not available. For instance, you cannot add a constraint to an existing column, although the ability to rename a column has been recently introduced.</li>
</ul>

<h2 id="cli-help">CLI help</h2>

<h3 id="man-page">Man page</h3>
Expand Down
11 changes: 11 additions & 0 deletions cheatsheets/sql/rdbms/sqlite.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,17 @@ Symbol | Description | Range
- [Built-In Scalar SQL Functions](https://sqlite.org/lang_corefunc.html)


## Quirks

See [Quirks](https://www.sqlite.org/quirks.html) on the SQLite website.

Here are some features that are commonly found in other databases but are not present in SQLite:

- The default mode is rollback journal, which limits you to either multiple readers or a single writer.
- Foreign keys are disabled by default and require explicit activation.
- SQLite is "weakly typed," a concept it refers to as "type affinity." This means you can insert any data type into a column, regardless of the defined type. Strongly typed columns are available only through the use of STRICT tables.
- Many ALTER commands that you might expect in other databases are not available. For instance, you cannot add a constraint to an existing column, although the ability to rename a column has been recently introduced.

## CLI help

### Man page
Expand Down
2 changes: 1 addition & 1 deletion feed.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.4">Jekyll</generator><link href="https://michaelcurrin.github.io/dev-cheatsheets/feed.xml" rel="self" type="application/atom+xml" /><link href="https://michaelcurrin.github.io/dev-cheatsheets/" rel="alternate" type="text/html" /><updated>2025-01-08T14:39:28+00:00</updated><id>https://michaelcurrin.github.io/dev-cheatsheets/feed.xml</id><title type="html">Dev Cheatsheets</title><subtitle>A collection of code snippets and CLI guides for quick and easy reference while coding</subtitle><author><name>Michael Currin</name></author></feed>
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.4">Jekyll</generator><link href="https://michaelcurrin.github.io/dev-cheatsheets/feed.xml" rel="self" type="application/atom+xml" /><link href="https://michaelcurrin.github.io/dev-cheatsheets/" rel="alternate" type="text/html" /><updated>2025-01-09T10:09:42+00:00</updated><id>https://michaelcurrin.github.io/dev-cheatsheets/feed.xml</id><title type="html">Dev Cheatsheets</title><subtitle>A collection of code snippets and CLI guides for quick and easy reference while coding</subtitle><author><name>Michael Currin</name></author></feed>

0 comments on commit 7544553

Please sign in to comment.