ulrich
2016-12-27 c79c120dae38042f0f5d5c31d9b7413b0a8a3e7e
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>
87e382 32   <entry key="getRoleList">
U 33     select distinct role_name from app.user_roles order by role_name
34   </entry>
c79c12 35   <entry key="getUserRoles">
U 36     select role_name from app.user_roles where user_name = ?
37   </entry>
314fea 38   <entry key="getDateList">
U 39     select substr(or_zeit,1,8) as tag, count(*) as anz from app.orte as orte 
40     where or_pers_id = ?  
41     and substr(or_zeit,1,8) like ?
42     group by substr(or_zeit,1,8)
43   </entry>
44 </properties>