From 8cefadb66c0b56f283b435731d8eeb256ed95464 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Sun, 5 Jan 2025 02:09:54 +0000 Subject: [PATCH] Add conversion functions --- .../chapters/scalar-functions/lessons/conversion-functions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/courses/sql-mastery/chapters/scalar-functions/lessons/conversion-functions.md b/src/data/courses/sql-mastery/chapters/scalar-functions/lessons/conversion-functions.md index 7ef783600..484880156 100644 --- a/src/data/courses/sql-mastery/chapters/scalar-functions/lessons/conversion-functions.md +++ b/src/data/courses/sql-mastery/chapters/scalar-functions/lessons/conversion-functions.md @@ -121,6 +121,6 @@ SELECT CAST('0' AS BOOLEAN); -- Returns: false ``` -> **Note**: While `CAST` is standard SQL, some databases offer alternative syntax. For example, PostgreSQL supports the `::` operator (`'123'::integer`), and SQL Server supports the `CONVERT` function. The handling of invalid conversions also varies between databases. Always check your database's documentation for specific behavior and best practices. +> **Note**: While `CAST` is standard SQL, some databases offer alternative syntax. For example, PostgreSQL supports the `::` operator `'123'::integer`, and SQL Server supports the `CONVERT` function. The handling of invalid conversions also varies between databases. Always check your database's documentation for specific behavior and best practices. In the next lesson, we'll explore logical functions for handling conditional operations.