Check out the 2nd bullet under 7.21.1 of the manual:
http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html#INSERT_SELECT
You could do this by creating a temporary table out of MaterialSubwall and
using that to select rows for the insert.
- TIM
> What does this mean? It is referring to the following SQL statement:
>
> INSERT INTO MaterialSubwall
> SELECT subwallClassId,
> mirrorEW,
> rotation + 180,
> sizeX,
> sizeY,
> offsetS,
> offsetW,
> offsetN,
> offsetE
> FROM MaterialSubwall;
>
> AFAIK, this is perfectly valid SQL syntax.
>
> Peter Spierenburg.
>
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php