commit | author | age
|
314fea
|
1 |
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
U |
2 |
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd"> |
|
3 |
<properties> |
|
4 |
<comment> |
|
5 |
SQL-Kommandos der Anwendung Nutzerverwaltung |
|
6 |
</comment> |
|
7 |
<entry key="dbVorhanden"> |
|
8 |
select s.schemaname, t.tablename |
|
9 |
from SYS.SYSSCHEMAS as s, |
|
10 |
SYS.SYSTABLES as t |
|
11 |
where s.schemaid = t.schemaid |
|
12 |
and s.schemaname = 'APP' |
8b423e
|
13 |
and t.tablename = 'USERS' |
314fea
|
14 |
</entry> |
U |
15 |
<entry key="incrementKey"> |
|
16 |
update app.keytable |
|
17 |
set key_next = ? |
|
18 |
where key_name = ? |
|
19 |
and key_next = ? |
|
20 |
</entry> |
|
21 |
<entry key="getNextKey"> |
|
22 |
select key_next from |
|
23 |
app.keytable |
|
24 |
where key_name = ? |
|
25 |
</entry> |
725d10
|
26 |
<entry key="getUserNameList"> |
U |
27 |
select user_name from app.users |
|
28 |
</entry> |
|
29 |
<entry key="getUserList"> |
|
30 |
select * from app.users |
314fea
|
31 |
</entry> |
U |
32 |
<entry key="getDateList"> |
|
33 |
select substr(or_zeit,1,8) as tag, count(*) as anz from app.orte as orte |
|
34 |
where or_pers_id = ? |
|
35 |
and substr(or_zeit,1,8) like ? |
|
36 |
group by substr(or_zeit,1,8) |
|
37 |
</entry> |
|
38 |
</properties> |