Skip to content

Commit 19a973e

Browse files
committed
Add a bit more explanation to the latest til
1 parent ddbcc7f commit 19a973e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

postgres/set-seed-for-random-number-generator.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ particular seed in order to get some determinism from functions that utilize
66
the random number generator. The seed needs to be something between `0` and
77
`1`.
88

9+
We can see this in action by setting the seed and then invoking `random()` a
10+
couple times. Doing this twice, we will see the reproducibility we can
11+
achieve with a seed.
12+
913
```sql
1014
> set seed to 0.1234;
1115
SET

0 commit comments

Comments
 (0)