Skip to content

Commit f414bbe

Browse files
captn3m0flavorjones
authored andcommitted
Update FAQ
No point in listing @NNN and @vvv separately, since the documentation talks about alpha-numeric identifiers including numbers already
1 parent 2abcde4 commit f414bbe

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

FAQ.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -122,20 +122,17 @@ Placeholders in an SQL statement take any of the following formats:
122122
* `?`
123123
* `?_nnn_`
124124
* `:_word_`
125-
* `:_nnn_`
126125
* `$_word_`
127-
* `$_nnn_`
128126
* `@_word_`
129-
* `@_nnn_`
130127

131128

132-
Where _n_ is an integer, and _word_ is an alpha-numeric identifier (or
133-
number). When the placeholder is associated with a number, that number
134-
identifies the index of the bind variable to replace it with. When it
135-
is an identifier, it identifies the name of the corresponding bind
136-
variable. (In the instance of the first format--a single question
137-
mark--the placeholder is assigned a number one greater than the last
138-
index used, or 1 if it is the first.)
129+
Where _n_ is an integer, and _word_ is an alpha-numeric identifier(or number).
130+
When the placeholder is associated with a number (only in case of `?_nnn_`),
131+
that number identifies the index of the bind variable to replace it with.
132+
When it is an identifier, it identifies the name of the corresponding bind
133+
variable. (In the instance of the first format--a single question mark--the
134+
placeholder is assigned a number one greater than the last index used, or 1
135+
if it is the first.)
139136

140137

141138
For example, here is a query using these placeholder formats:

0 commit comments

Comments
 (0)