Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion developers/mcp-tools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ A call that opens a connection may also need approval on the Mac for a pre-conne

`confirm_destructive_operation` needs `admin` as well, so it takes a Full Access token, and **Read Only** refuses it outright whatever the token carries. No token skips the user's approval.

**Read Only** refuses a statement classified as a write with `denied`. Reads also use the driver's read-only mode where supported. [What Read Only allows](/developers#what-read-only-allows) lists engine limits and the statements refused at every access level. Multiple statements return `invalid_argument`, except for SQL Server scripts sent to [`execute_query`](#execute_query) or [`confirm_destructive_operation`](#writing-data).
**Read Only** refuses a statement classified as a write with `denied`. Reads also use the driver's read-only mode where supported. [What Read Only allows](/developers#what-read-only-allows) lists engine limits and the statements refused at every access level. Multiple statements return `invalid_argument`, except for SQL Server scripts sent to [`execute_query`](#execute_query) or [`confirm_destructive_operation`](#writing-data). On SQL Server, an `IF`, `WHILE` or `BEGIN ... END` block holding one statement counts as one statement; a block holding more is multiple statements.

## Masking rules

Expand Down
4 changes: 2 additions & 2 deletions features/import-export.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ As SQL, a results export writes `INSERT` statements only. A result set is the ou
| Line breaks in values to spaces | No |
| Line ending (LF, CRLF, CR) | LF |
| Decimal separator (period, comma) | Period |
| Sanitize formula-like values | Yes |
| Sanitize formula-like values | No |
| Encoding (UTF-8, ISO Latin 1, Windows-1252) | UTF-8 |
| Include byte order mark | No |

Sanitizing prefixes a value starting with `=`, `+`, `-`, or `@` with a single quote, so a spreadsheet treats it as text. A plain number such as `-5` or `+1.5e3` is written as it is.
Sanitizing prefixes a value starting with `=`, `+`, `-`, or `@` with a single quote, so a spreadsheet treats it as text. A plain number such as `-5` or `+1.5e3` is written as it is. The quote stays in the data for any program that imports the file, so turn it on only for a file meant for a spreadsheet; the export then says how many values it quoted.

Excel on Windows needs the byte order mark to read a UTF-8 file. Readers that do not expect one read it as part of the first column name. Only UTF-8 carries a mark, so the checkbox dims for the other two encodings.

Expand Down
Loading