Skip to content

Commit f87d52e

Browse files
committed
Updated SQL permissions in README
SELECT permissions are not required in all cases.
1 parent 882d2a8 commit f87d52e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,8 @@ CREATE TABLE [Logs] (
200200

201201
At a minimum, writing log entries requires SELECT and INSERT permissions for the log table. (SELECT is required because the sink's batching behavior uses bulk inserts which reads the schema before the write operations begin).
202202

203+
If the audit version of the sink is used or the sink option [UseSqlBulkCopy](#usesqlbulkcopy) is set to `true`, only INSERT statements are used and no SELECT permission is required.
204+
203205
SQL permissions are a very complex subject. Here is an example of one possible solution (valid for SQL 2012 or later):
204206

205207
```

0 commit comments

Comments
 (0)