Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

How to truncate a table with specific records

$
0
0

HI Everyone,

I got a question that Can I truncate specific records only from a table.

We can do that by using delete right??

delete from ta

where c=1

But i need to do this using truncate command..Is there any way to do that.. I have read somewhere that we can do it by partitioning tables..Is that true??

Please help me..

Thanks in Advance...


Viewing all articles
Browse latest Browse all 8428

Trending Articles



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