Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
mbleron committed May 5, 2020
1 parent ff7af51 commit 126845c
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,34 @@ The owner requires the CREATE TABLE privilege in this case :
```sql
grant create table to <user>;
```

---
In order to read encrypted files, the interface requires access to the DBMS_CRYPTO API (see PL/SQL section below).
The owner must therefore be granted EXECUTE privilege on it :
```sql
grant execute on sys.dbms_crypto to <user>;
```

---
ExcelTable requires CURSOR_SHARING parameter set to EXACT, otherwise one may receive the following error when using ODCI-based function getRows() :
```
PLS-00307: too many declarations of 'ODCITABLEDESCRIBE' match this call
```
The current value can be checked using this query :
```sql
select value from v$parameter where name = 'cursor_sharing';
```
If the value is not 'EXACT' then it can be changed at system or session level using the corresponding ALTER SYSTEM/SESSION command, e.g.
```sql
alter session set cursor_sharing = exact;
```
If this change is not possible, the workaround is to override the parameter at query level via a hint :
```
select /*+ cursor_sharing_exact */ t.*
from table(
ExcelTable.getRows( ... )
) t
;
```


### PL/SQL

Expand Down

0 comments on commit 126845c

Please sign in to comment.