Sorry, that must only work in Oracle, PostgreSQL and some others. Perhaps the AS in that statement is the issue in MS SQL Server.
On 11/27/06, Andrew Scott <[EMAIL PROTECTED]> wrote: > James, > > This > > CREATE TABLE MealsMapping AS > SELECT ME_ID, ME_Operator > FROM Meals > where ME_Operator is not null > go > > > Gives me a syntax error near AS > > > > Andrew Scott > Senior Coldfusion Developer > Aegeon Pty. Ltd. > www.aegeon.com.au > Phone: +613 8676 4223 > Mobile: 0404 998 273 > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/SQL/message.cfm/messageid:2639 Subscription: http://www.houseoffusion.com/groups/SQL/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.6
