[sqlite] Re: SELECT INTO ... not supported?

Fri, 17 Aug 2007 19:17:36 -0700

John Machin <[EMAIL PROTECTED]> wrote:
Something as simple as
    SELECT * INTO tblcopy FROM tbl;
(where tbl is an existing table) gets the following error:
    SQL error: near "INTO": syntax error
[version: 3.4.2 on Windows XP]

I note that this syntax is not mentioned on the supported SQL syntax
web page for SELECT

This should have given you a hint. A web page for CREATE TABLE however documents this:

create table tblcopy
as select * from tbl;

Igor Tandetnik

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to