-
## NULL和數值的分開處理
```
SELECT name
FROM customer
WHERE referee_id != 2 OR referee_id IS NULL;
```
在SQL裡,`null`是用來標示`value not exist`的( 即`unlnown`),所以不適用於任何comparison operators(`=, !=, `)。
舉例:
`…
-
Can we feed our scala sources into a tool like `pgsanity` or `plpgsql lint` to find some issues without actually executing the queries?
Hurdles:
- extract the SQL statements from scala sources (`…
-
-
Before using the automatic generation of the DBML file for SQL server, I had queries allowing us to generate our file in DBML format.
In these scripts, I retrieved the description table, which was ve…
-
Creating SQL cheat sheet
-
# Description
Our database models in CG have non-optional fields that are nullable in the database leading to inconsistencies.
These models should be streamlined so that we do not allow faulty or…
-
- [ ] missing ORDER BY
- [ ] missing window
- [x] sorted on nullable types
- [x] sorted on decimal columns
- [ ] sorted on types that cannot be converted to integers (string, fp)
- [x] order is d…
-
### Which Cloudflare product(s) does this pertain to?
D1
### What version(s) of the tool(s) are you using?
3.60.3[wrangler]
### What version of Node are you using?
20.14.0
### What operating sys…
-
## Reference
- https://easybrother0103.tistory.com/137
- https://velog.io/@iamhyunji/DB-ANSI-SQL
- https://title-developer.tistory.com/150
snaag updated
2 months ago
-
I have a .lando.yml file that specifies a version of MariaDB that matches what I run on production (10.11). MariaDB recently added a sandbox protection line in snapshots generated by mysqldump. Howeve…
purdy updated
2 weeks ago