SQLite for Beginners: Dates

  Рет қаралды 9,508

Mycelial

Mycelial

Жыл бұрын

SQLite doesn't have date and time datatypes, which begs the question, how do you deal with your date and time values?
Want to learn more? Check out this video.
mycelial.com/#newsletter
/ mycelial
github.com/mycelial
/ discord

Пікірлер: 8
@CameronFlint07
@CameronFlint07 Жыл бұрын
Your tutorials on sqlite are the best! Very well-explained and pragmatic. Thank you!
@GerbenWijnja
@GerbenWijnja 11 ай бұрын
If you're wondering what the hell is going on when he inserted a string into a real column, and even retrieved it again... Sqlite doesn't care about column definitions. It will happily store any type into any column, regardless of its definition. You can store strings into int columns, sqlite will not complain. It also ignores columns lengths, like "varchar(20)". You can store a 100 character string into that column, no problem. Learn about "type affinity" for more info.
@kishanbsh
@kishanbsh 6 ай бұрын
sqlite now has a "strict mode" prevents such stuff from happening.
@AnyThink5
@AnyThink5 Жыл бұрын
thankyou
@user-qp7pn1gy5e
@user-qp7pn1gy5e 4 ай бұрын
cool video 💀💀💀
@CanRau
@CanRau 11 ай бұрын
So which one would you recommend? Specifically for created_at, updated_at?
@kubre
@kubre 5 ай бұрын
These columns usually use timestamps in most projects I've seen
@nodidog
@nodidog 2 ай бұрын
I personally use STRFTIME('%Y-%m-%dT%H:%M:%fZ') This gives a standard RFC 3339 timestamp format with sub-second precision, e.g. 2024-04-20T08:03:48.842Z
SQLite For Beginners: Statistics
6:06
Mycelial
Рет қаралды 2 М.
SQLite for beginners: Full Text Search
10:04
Mycelial
Рет қаралды 8 М.
1 or 2?🐄
00:12
Kan Andrey
Рет қаралды 55 МЛН
3M❤️ #thankyou #shorts
00:16
ウエスP -Mr Uekusa- Wes-P
Рет қаралды 15 МЛН
A Deep Dive Into Date And Time In Python
19:39
ArjanCodes
Рет қаралды 41 М.
SQLite for beginners: Fixing Slow Queries
10:10
Mycelial
Рет қаралды 5 М.
SQLite For Beginners: Journal Modes
16:06
Mycelial
Рет қаралды 10 М.
SQLite and the N+1 (no) problem
8:30
Mycelial
Рет қаралды 6 М.
SQLite for beginners: Vacuuming
8:52
Mycelial
Рет қаралды 3,3 М.
Ultimate Guide to Datetime! Python date and time objects for beginners
15:50
SQL Common Table Expressions (CTEs)
9:07
Mycelial
Рет қаралды 1 М.
D. Richard Hipp - SQLite [The Databaseology Lectures - CMU Fall 2015]
1:07:08
CMU Database Group
Рет қаралды 34 М.
Зачем ЭТО электрику? #секрет #прибор #энерголикбез
0:56
Александр Мальков
Рет қаралды 286 М.
Собери ПК и Получи 10,000₽
1:00
build monsters
Рет қаралды 2,6 МЛН
Как слушать музыку с помощью чека?
0:36
Cheapest gaming phone? 🤭 #miniphone #smartphone #iphone #fy
0:19
Pockify™
Рет қаралды 2,1 МЛН
OZON РАЗБИЛИ 3 КОМПЬЮТЕРА
0:57
Кинг Комп Shorts
Рет қаралды 1,7 МЛН
⚡️Супер БЫСТРАЯ Зарядка | Проверка
1:00