Subject | Re: [firebird-support] * - ? |
---|---|
Author | Ann W. Harrison |
Post date | 2005-06-28T19:53:35Z |
Joe Martinez wrote:
or drops one, or changed the field order in the table, your query is
going to mess up. One of the sadder parts of the history of relational
databases is that a loosey-goosey interactive query language was chosen
as the standard for program access. The "*" syntax should never be used
outside casual, hand-typed, one time queries.
Regards,
Ann
>> Select sales.*, customers.custfname, customers.custlnameYou can, but you really shouldn't. If some one adds a field to sales,
>> from sales, customers
>> where ...
> wow. I really didn't know you could do it! Thanks for the syntax.
or drops one, or changed the field order in the table, your query is
going to mess up. One of the sadder parts of the history of relational
databases is that a loosey-goosey interactive query language was chosen
as the standard for program access. The "*" syntax should never be used
outside casual, hand-typed, one time queries.
Regards,
Ann