Quantcast
Channel: Sybase – How to Guides and Knowledge Feed
Viewing all articles
Browse latest Browse all 26

Difference between delete and truncate

$
0
0

Delete: Whenever we are using delete from tablename, then automatically deleted data internally stored in buffer. We can get it back by using rollback command.

Truncate: When ever we are using truncate table tabllename, then all rows are permanently deleted. We can not get it back this by using rollback. Because DDL(Data Definition Language Language) command transactions are automatically committed.


Viewing all articles
Browse latest Browse all 26

Trending Articles