-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustomer_sql.xml
More file actions
44 lines (37 loc) · 1.16 KB
/
Copy pathcustomer_sql.xml
File metadata and controls
44 lines (37 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
<comment>customer table sql for csv2db.awk, db2excel.awk, excelDbExample.awk, excelDbExample2.awk and excelDbExample3.awk</comment>
<entry key="driverClass">org.hsqldb.jdbc.JDBCDriver</entry>
<entry key="databaseUrl">jdbc:hsqldb:file:testdb</entry>
<entry key="databaseUserName">SA</entry>
<entry key="databasePassword"></entry>
<entry key="autoCommit">true</entry>
<entry key="databaseHeaders">true</entry>
<entry key="insertSql">
<![CDATA[
INSERT INTO customer
(Id, First_Name, Last_Name, Zip)
VALUES
(:id, :firstName, :lastName, :zip)
]]>
</entry>
<entry key="deleteSql">
<![CDATA[
DELETE FROM customer
]]>
</entry>
<entry key="sqlQuery">
<![CDATA[
SELECT * FROM customer
WHERE zip >= :zipStart AND zip <= :zipEnd
ORDER BY id
]]>
</entry>
<entry key="sqlQueryRow">
<![CDATA[
SELECT * FROM customer
WHERE zip = :zip
]]>
</entry>
</properties>