Skip to content

Commit

Permalink
Add note about LIMIT TO and prefix use in IMPORT FOREIGN SCHEMA
Browse files Browse the repository at this point in the history
  • Loading branch information
jgoizueta committed Sep 29, 2016
1 parent df44954 commit 698a4a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ option | description
`sql_count`| Optional: User defined SQL statement for counting number of records in the foreign table(s). This should use the syntax of ODBC driver used.
`prefix` | For IMPORT FOREIGN SCHEMA: a prefix for foreign table names. This can be used to prepend a prefix to the names of tables imported from an external database.

Note that if the `prefix` option is used and only one specific foreign table is to be imported,
the `table` option is necessary (to specify the unprefixed, remote table name). In this case
it is better not to include a `LIMIT TO` clause (otherwise it has to reference the *prefixed* table name).

Example
-------

Expand Down

0 comments on commit 698a4a2

Please sign in to comment.