Well,
heres a start from someone not really in the know either:
1) I have a query for each sensible
entity (Address, Contact mechanism, Bill, Job). That query has an
sqlstring.
2) Where there is an obvious
relationship between entities and if using dataaware controls I'll link child
queries to their parent with parametrised queries. Otherwise I might build an
sql string to represent the child.
3) I have one Utility query which I
create odds and sodds queries, such as for establishing if records exist/ dont
exist etc.
Therefore ... a mix, the goal being ease of
maintaintenance, clear logic and not dragging too much data onto the client.
But, sometimes its easier to build queries in code - and more transparent so I
guess its horses for courses.
|
- [DUG]: Use of TQuery's Mark Howard
- Re: [DUG]: Use of TQuery's James Low
- Re: [DUG]: Use of TQuery's Craig Goodall
- Re: [DUG]: Use of TQuery's Mark Howard
- Re: [DUG]: Use of TQuery's Donovan J. Edye
- Re: [DUG]: Use of TQuery's Mark Howard
- Re: [DUG]: Use of TQuery's Donovan J. Edye
- [DUG]: Interbase equivalent to Oracle Sql*loader... Phil Scadden
- RE: [DUG]: Use of TQuery's Steve Aish
- Re: [DUG]: Use of TQuery's Mark Howard
- Re: [DUG]: Use of TQuery's Neven MacEwan
- Re: [DUG]: Use of TQuery's Mark Howard