Skip to site navigation (Press enter)

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

Igor Tandetnik 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]
-----------------------------------------------------------------------------

  • Previous message
  • View by thread
  • View by date
  • Next message
  • [sqlite] SELECT <stuff> INTO <table> ... not su... John Machin
    • [sqlite] Re: SELECT <stuff> INTO <table> .... Igor Tandetnik
      • Re: [sqlite] Re: SELECT <stuff> INTO <tab... John Machin
    • Re: [sqlite] SELECT <stuff> INTO <table> .... Nuno Lucas

Reply via email to

The Mail Archive
  • The Mail Archive home
  • sqlite-users - all messages
  • sqlite-users - about the list
  • Expand
  • Previous message
  • Next message
sqlite-users
  • The Mail Archive home
  • Add your mailing list
  • FAQ
  • Support
  • Privacy
  • 00b801c7e13d$eeea36d0$0201a8c0@main