Inserts for MySQL and PostGRES.
This commit is contained in:
@@ -80,12 +80,12 @@
|
||||
</table>
|
||||
|
||||
<sql>
|
||||
<descr>SQL to be executed only on specific platforms</descr>
|
||||
<descr>Insert 1 row for testing only...comment out later</descr>
|
||||
<query platform="postgres|postgres7">
|
||||
insert into mytable ( row1, row2 ) values ( 12, 'stuff' )
|
||||
insert into attendance(id,name,course,day,hours,roll,notes,timemodified,dynsection,edited,autoattend) values (1,'1',1,1,1,1,'1',1,1,1,1)
|
||||
</query>
|
||||
<query platform="mysql">
|
||||
insert into mytable ( row1, row2 ) values ( 12, 'different stuff' )
|
||||
insert into attendance(id,name,course,day,hours,roll,notes,timemodified,dynsection,edited,autoattend) values (1,'1',1,1,1,1,'1',1,1,1,1)
|
||||
</query>
|
||||
<query platform="oci8po">
|
||||
insert into attendance(id,name,course,day,hours,roll,notes,timemodified,dynsection,edited,autoattend) values (1,'1',1,1,1,1,'1',1,1,1,1)
|
||||
|
||||
Reference in New Issue
Block a user