Skip to site navigation (Press enter)

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

John Machin Fri, 17 Aug 2007 21:40:24 -0700

On 18/08/2007 12:17 PM, Igor Tandetnik wrote:
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;


Thanks, Igor, that does the trick.
Cheers,
John

-----------------------------------------------------------------------------
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
  • 46C67826.5010307@lexicon.net