Subject | Re: [ib-support] Order By in a Insert statement? |
---|---|
Author | Doug Chamberlin |
Post date | 2002-01-25T15:09:20Z |
At 01/25/2002 10:12 AM (Friday), Mike Grover wrote:
established RDBMS principles the order records are in a table is not
significant. According to that principle the order that the records are
obtained from the source table is irrelevant if they are just being
inserted into another table. I'm sure you can order the records later when
they are subsequently selected from the destination table.
Why is it you want this to work?
>This SQL Statemnet works Good:There is a good chance this is not allowed since according to long
>INSERT INTO MG
>SELECT *
>FROM KS WHERE ZIP='66873';
>
>But this Doesn't:
>INSERT INTO MG
>SELECT *
>FROM KS WHERE ZIP='66873' ORDER BY 3;
>
>Is this not allowed?
established RDBMS principles the order records are in a table is not
significant. According to that principle the order that the records are
obtained from the source table is irrelevant if they are just being
inserted into another table. I'm sure you can order the records later when
they are subsequently selected from the destination table.
Why is it you want this to work?