dbTalk Databases Forums  

Create Copy of Table with Subset of Rows

sybase.public.sqlanywhere.general sybase.public.sqlanywhere.general


Discuss Create Copy of Table with Subset of Rows in the sybase.public.sqlanywhere.general forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Dmitri
 
Posts: n/a

Default Re: Create Copy of Table with Subset of Rows - 04-06-2006 , 05:29 AM






Paul Rowe wrote:

Quote:
Yes - that's the exact SQL. But I'm using 9.0.0.1108 -
could that be the difference?
9.0.1+ - see answer from Richard Biffl.

Dmitri.


Reply With Quote
  #12  
Old   
Paul Rowe
 
Posts: n/a

Default Re: Create Copy of Table with Subset of Rows - 04-06-2006 , 07:13 AM






Quote:
Paul Rowe wrote:

Yes - that's the exact SQL. But I'm using 9.0.0.1108 -
could that be the difference?

9.0.1+ - see answer from Richard Biffl.

Dmitri.

So what was the correct method to use prior to 9.0.1??

Paul


Reply With Quote
  #13  
Old   
Dmitri
 
Posts: n/a

Default Re: Create Copy of Table with Subset of Rows - 04-06-2006 , 07:27 AM



Paul Rowe wrote:

Quote:
So what was the correct method to use prior to 9.0.1??
create table tab1
(
....
) ;

insert into tab1
(
select ...
from tab2
where ...
) ;

Dmitri.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.