Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 3587

Re: How to delete many rows in a big table, but not all the rows ( truncate table can't be used in this case )

$
0
0

for the above solution you could use the "select into" it creates the same table ddl

 

rename the old table (SyBooks Online (Archive))

 

select *

into newtable

from oldtable

where conditions

 

were conditions meet the data you want to keep.

 

 

don't forget about indexes, etc (alternetively you could use ddlgen: SyBooks Online)


Viewing all articles
Browse latest Browse all 3587

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>