Thomas Pfister
2008-03-04 21:18:40 UTC
Hi all,
I need a general suggestion for the following problem:
table1
Right explaination
1 area 1
2 area 2
3 area 3
table 2
user right
jon 1,3
jim 2,3
jeff 1
table 3
info right
300 1
200 3
300 2
400 1
-> I make an application with dbx4 and some different databases and the
sql-statements are stored readable
in different folders (for each database) and I know the user and want to
make sure that Jon only the the
rows with the rithgs from table2....
select * from table3 where ... (and right in (select right from table 2
where user = jon) order by info
What is the best way to realize this ?
I can insert another where-part after read the sql-file and before insert in
the sqldataset, but I look for a more elegant
solution <g>.
the admin / change of the sql-statements (for the different database or
changed columns) should make a db-admin and I don't will store the
sql-statements in the database or in a crypted file....
thanks for any ideas!!
;-) thomas
I need a general suggestion for the following problem:
table1
Right explaination
1 area 1
2 area 2
3 area 3
table 2
user right
jon 1,3
jim 2,3
jeff 1
table 3
info right
300 1
200 3
300 2
400 1
-> I make an application with dbx4 and some different databases and the
sql-statements are stored readable
in different folders (for each database) and I know the user and want to
make sure that Jon only the the
rows with the rithgs from table2....
select * from table3 where ... (and right in (select right from table 2
where user = jon) order by info
What is the best way to realize this ?
I can insert another where-part after read the sql-file and before insert in
the sqldataset, but I look for a more elegant
solution <g>.
the admin / change of the sql-statements (for the different database or
changed columns) should make a db-admin and I don't will store the
sql-statements in the database or in a crypted file....
thanks for any ideas!!
;-) thomas