Check out example codes for "query to empty table data in sql server". It will help you in understanding the concepts better.

Code Example 1

TRUNCATE TABLE  table_name;

Learn ReactJs, React Native from akashmittal.com