Add conversion functions

feat/course
Kamran Ahmed 2 weeks ago
parent 70e2c6ec0c
commit 8cefadb66c
  1. 2
      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.

Loading…
Cancel
Save