Server : Apache/2.4.43 (Win64) OpenSSL/1.1.1g PHP/7.4.6 System : Windows NT USER-PC 6.1 build 7601 (Windows 7 Professional Edition Service Pack 1) AMD64 User : User ( 0) PHP Version : 7.4.6 Disable Function : NONE Directory : C:/xampp/php/pear/adodb/tests/ |
<?xml version="1.0"?> <schema version="0.3"> <table name="simple_table"> <field name="id" type="I" size="11"> <KEY/> <AUTOINCREMENT/> </field> <field name="name" type="C" size="3"> <DEFAULT value="no"/> </field> <field name="description" type="X"></field> <index name="id"> <UNIQUE/> <col>id</col> </index> <index name="id_2"> <col>id</col> </index> <data> </data> </table> <sql> <descr>SQL to be executed only on specific platforms</descr> <query platform="postgres|postgres7"> insert into mytable ( row1, row2 ) values ( 12, 'postgres stuff' ) </query> <query platform="mysql"> insert into mytable ( row1, row2 ) values ( 12, 'mysql stuff' ) </query> <query platform="mssql"> INSERT into simple_table ( name, description ) values ( '12', 'Microsoft stuff' ) </query> </sql> </schema>