v5:dictionary:createdatabase
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
dictionary:createdatabase [2016/01/06 23:22] – created mnewnham | dictionary:createdatabase [2016/01/06 23:29] – mnewnham | ||
---|---|---|---|
Line 15: | Line 15: | ||
* On an Oracle system | * On an Oracle system | ||
*/ | */ | ||
- | $s | + | $dict = newdataDictionary($db); |
+ | print_r($dict-> | ||
+ | /* | ||
+ | * Returns | ||
+ | Array | ||
+ | ( | ||
+ | [0] => CREATE USER ADODB_TEST IDENTIFIED BY tiger | ||
+ | [1] => GRANT CREATE SESSION, CREATE TABLE, | ||
+ | ) | ||
+ | */ | ||
</ | </ | ||
+ | |||
+ | ===== Notes ===== | ||
+ | * Support for this method is limited | ||
+ | * Each supported database has its own specific options | ||
+ | * Special rights on the database may be need to actually execute the returned SQL | ||
+ | * In the driver current in use does not support the method, false is returned | ||
v5/dictionary/createdatabase.txt · Last modified: 2018/07/01 22:42 by peterdd