stronk7
906eebf6ad
Small change in rename_field() so objects won't become modified at all
...
in the process.
Merged from MOODLE_17_STABLE
2006-10-12 12:28:36 +00:00
stronk7
abbd460ff9
Adding getSequenceFromDB() for Oracle in order to detect the correct
...
sequence name in the insert_record() function.
2006-10-08 09:36:33 +00:00
stronk7
c562997ff8
rename_field() under oracle completed
2006-10-02 17:06:37 +00:00
stronk7
bb7e5c472c
rename_table() under oracle completed
2006-10-02 16:19:48 +00:00
stronk7
20c559dd8d
Now Oracle supports table renaming (both sequence and triggers
...
are kept on sync with the new table name)
2006-09-30 23:48:34 +00:00
stronk7
b899d9bf1d
Added support to change_field_enum() across all RDBMS
2006-09-30 17:03:17 +00:00
stronk7
9af19c728d
Extendig use of new getTableName() over all generators
2006-09-30 12:13:07 +00:00
stronk7
599caff8c5
prevent nulls to become nulls (oracle error)
...
and defaults null to become defaults null
when temporary columns are used
2006-09-28 23:06:04 +00:00
stronk7
1a275daaaf
some more settings go to XMLDBGenerator (as they are default)
2006-09-28 18:31:28 +00:00
stronk7
662244cb77
Deleting some parameters that aren't needed anymore. Code will
...
decide if creating underlying indexes for keys automatically now.
2006-09-28 17:02:49 +00:00
stronk7
1d5071a57e
Don't CREATE OR REPLACE TRIGGER but just CREATE it
...
(so we'll be able to detect duplicate name with an
error instead of getting false success)
2006-09-26 18:10:27 +00:00
stronk7
812e363a39
Now generators support to add/drop column defaults
2006-09-25 18:22:06 +00:00
stronk7
11b75afe8b
Now Oracle generator is able to change the precision and decimals of
...
one column by using one temp column. This prevents ORA-1440 errors.
2006-09-24 17:39:20 +00:00
stronk7
b0ec41af8a
Prevent Unique Keys generation. Instead use unique indexes at DB level.
...
With this, all we'll have are PRIMARY KEYS + INDEXES, that are pretty
well supported by ADODB MetaXXX functions.
Both Unique and Foreign Keys will be used once ADODB support them and
the relational mode was enforced.
2006-09-24 09:38:56 +00:00
stronk7
19c8321e07
Now Oracle supports the first part of alter table alter column statements
2006-09-24 00:02:34 +00:00
skodak
eef868d17d
major whitespace cleanup - fixed trailng whitespace in new files and admin area
2006-09-20 21:00:45 +00:00
stronk7
0dd87cfa7a
Delete one trailing comma
2006-09-12 22:15:44 +00:00
stronk7
3a8c55c3fb
Typos + drop table fully supported.
2006-09-07 18:39:43 +00:00
stronk7
4782a1f8bc
Minor modifications to oci8po generator (max 38 for number)
2006-08-31 00:19:57 +00:00
stronk7
b8851b80eb
Cache names for improved speed in long iterations requesting
...
the same name thousands of times.
Prepare Oracle Sequnces for the insert_record function.
2006-08-27 08:52:51 +00:00
stronk7
2efaf3f8ab
One trick to allow pseudo-null Oracle insertions. Let's see what happen.
2006-08-22 16:39:14 +00:00
stronk7
0513f3bfa5
$statement_end for Oracle changed to "/" because standard ;
...
causes problems with trigger generation
2006-08-20 21:56:54 +00:00
stronk7
465a802937
Thought this was commited. Solve one bug in trigger generation
2006-08-19 00:58:30 +00:00
stronk7
1bf63d33c8
Oracle automatically builds UIXs for UKs
2006-08-17 19:40:49 +00:00
stronk7
9dcc6300a7
Now all the XMLDBxxx->geSQL functions return an array of statements to be
...
executed (easily to handle them in the installation/upgrade process
individually. Also, it's possible to specify one statement end.
2006-08-17 19:20:45 +00:00
stronk7
f075bac4f7
Bah, Oracle requires the default clause BEFORE the not null clause.
2006-08-16 23:45:18 +00:00
stronk7
6aa7885eb5
Minor adjustments to some comments.
2006-08-16 23:17:28 +00:00
stronk7
d7444bfce3
Initial commit of oci8po generator
2006-08-16 22:58:51 +00:00