Skip to content

Commit d0ea62f

Browse files
committed
Don't list dialects not supporting parameters
1 parent 39a1ab9 commit d0ea62f

File tree

1 file changed

+11
-18
lines changed

1 file changed

+11
-18
lines changed

sql/parameters.md

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,19 @@
22

33
Parameter placeholder markers used in prepared statements.
44

5+
**Note:** Apache Hive and Spark don't support prepared statements.
6+
57
## Positional parameters
68

7-
- [BigQuery][]: `?`
8-
- [DB2][]: `?`
9-
- Hive: —
10-
- [MariaDB][]: `?`
11-
- [MySQL][]: `?`
12-
- [N1QL][]: `?`
13-
- PL/SQL: —
14-
- PostgreSQL: —
15-
- Redshift: —
16-
- Spark: —
17-
- [SQLite][]: `?`
18-
- [Transact-SQL][]: `?`<sup>1</sup>
9+
These come in the form of single question mark (`?`), supported by:
10+
11+
- [BigQuery][]
12+
- [DB2][]
13+
- [MariaDB][]
14+
- [MySQL][]
15+
- [N1QL][]
16+
- [SQLite][]
17+
- [Transact-SQL][]<sup>1</sup>
1918

2019
## Numbered parameters
2120

@@ -30,14 +29,8 @@ Parameter placeholder markers used in prepared statements.
3029

3130
- [BigQuery][]: `@` followed by [identifier][] (either quoted or unquoted)
3231
- [DB2][]: colon (`:`) followed by name (the name can include letters, numbers, and the symbols `@`, `#`, `$`, and `_`)
33-
- Hive: —
34-
- MariaDB: —
35-
- MySQL: —
3632
- [N1QL][]: `$` followed by unquoted [identifier][]
3733
- [PL/SQL][]: colon (`:`) followed by name (`[a-zA-Z][a-zA-Z0-9_]*`)
38-
- PostgreSQL: —
39-
- Redshift: —
40-
- Spark: —
4134
- [SQLite][]: `$`, `@` or `:` followed by unquoted [identifier][]
4235
- [Transact-SQL][]: `@` or `:`<sup>3</sup> followed by name (see also [identifier][] syntax)
4336

0 commit comments

Comments
 (0)