~registry/clubdistro/anoochit-clubdistro

« back to all changes in this revision

Viewing changes to concrete5-5.2ubuntu1/concrete5.2.0RC2/concrete/libraries/3rdparty/adodb/tests/xmlschema-mssql.xml

  • Committer: Anuchit Chalothorn
  • Date: 2009-01-19 08:26:13 UTC
  • Revision ID: anoochit@gmail.com-20090119082613-jyxv9tam9ktfa73t
add concrete5 package

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<schema version="0.3">
 
3
<table name="simple_table">
 
4
<field name="id" type="I" size="11">
 
5
<KEY/>
 
6
<AUTOINCREMENT/>
 
7
</field>
 
8
<field name="name" type="C" size="3">
 
9
<DEFAULT value="no"/>
 
10
</field>
 
11
<field name="description" type="X"></field>
 
12
<index name="id">
 
13
<UNIQUE/>
 
14
<col>id</col>
 
15
</index>
 
16
<index name="id_2">
 
17
<col>id</col>
 
18
</index>
 
19
<data>
 
20
</data>
 
21
</table>
 
22
  <sql>
 
23
    <descr>SQL to be executed only on specific platforms</descr>
 
24
    <query platform="postgres|postgres7">
 
25
      insert into mytable ( row1, row2 ) values ( 12, 'postgres stuff' )
 
26
    </query>
 
27
    <query platform="mysql">
 
28
      insert into mytable ( row1, row2 ) values ( 12, 'mysql stuff' )
 
29
    </query>
 
30
        <query platform="mssql">
 
31
      INSERT into simple_table ( name, description ) values ( '12', 'Microsoft stuff' )
 
32
    </query>
 
33
  </sql>
 
34
</schema>
 
 
b'\\ No newline at end of file'