how to remove records from table?
no name
1 a
2 b
1 a
2 b
3 c

Answer Posted / krishna kum ar

delete <table_name> --------This removes only the records
not a tablespace

but

truncate <table_name>--------This removes both records as
well as tablespaces in database

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a unique difference between a function and a stored procedure.

535


Explain the working of foreign key?

551


Does sqlite need a server?

543


explain about mysql and its features. : Sql dba

554


what is bcp? When is it used?

584






How run sql*plus commands that are stored in a local file?

526


What is string join?

559


What is an index? What are the types of indexes? How many clustered indexes can be created on a table?

556


How many joins can you have in sql?

529


What is the use of sqldataadapter?

543


How do you create an update query?

528


What is your daily office routine?

1814


What is the plv (pl/vision) package offers?

621


What are commit, rollback, and savepoint?

576


How to place comments in pl/sql?

612