Skip to content

Commit c34c62f

Browse files
Update docs/SQL-Triggers.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 53312b8 commit c34c62f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/SQL-Triggers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ Enforce business rules using BEFORE triggers:
126126
-- Ensure product prices are positive
127127
CREATE TRIGGER validate_price BEFORE CREATE ON TYPE Product
128128
EXECUTE SQL 'SELECT FROM Product WHERE @this = $record AND price > 0'
129-
-- If SELECT returns no results, the trigger fails and creation is aborted
129+
-- If this SELECT statement returns no results, the trigger fails and the operation is aborted. This provides a concise way to enforce data validation rules.
130130
```
131131

132132
## JavaScript Triggers

0 commit comments

Comments
 (0)