That's a very neat little trick, 
Once again why didn't I think of that :)

Thank you very much.

-----Original Message-----
From: Igor Tandetnik [mailto:[EMAIL PROTECTED] 
Sent: 16 August 2007 01:52 PM
To: SQLite
Subject: [sqlite] Re: Dump with where clause

Andre du Plessis <[EMAIL PROTECTED]> wrote:
> HI, how can I use .dump or something similar but specify a where
> clause, I cant see that the .dump command allows this,
>
> I would like to be able to do something like:
> 
> .dump table1 where ID > 1000

create temp table tmp as
select * from table1 where ID > 1000;
.dump tmp
drop table tmp;

Igor Tandetnik

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


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

Reply via email to