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

Explain what is table in a database?

781


What is pl sql code?

749


Is stored procedure faster than query?

728


Which data type is a composite type?

732


What is the use of %rowtype?

740






What operators deal with null?

809


what are the different functions in sorting an array? : Sql dba

761


what is the difference between delete and truncate commands? : Sql dba

717


How does sql store data?

661


What is dml with example?

726


What are sql*plus environment variables?

768


What is the process of copying data from table a to table b?

797


What is the use of sql trace?

666


How many subqueries can be nested in a statement?

684


what are all the common sql function? : Sql dba

776