DatabaseMetaData Pattern Parameters
Methods of the
DatabaseMetaData interface that take arguments that are string patterns, it must be noted that the pattern
"%" are matched only when used by itself.
Here is an example:
| Code Snippet | Returns |
|---|---|
| getTables(null, null, "%", null) | a ResultSet containing all tables in the data grid |
| getTables(null, null, "table%", null) | an empty
ResultSet as
"%" is not used by itself for the pattern argument
|