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

What is sap sql?

532


is mysql query is case sensitive? : Sql dba

562


Can we use the cursor's to create the collection in PL/SQL?

516


What are the main features of cursor?

628


What is nvarchar in sql?

520






Is primary key clustered or nonclustered?

556


Does truncate free space?

515


What are conditional predicates?

583


What is loop in pl sql?

572


What is a composite primary key?

581


how can you see all indexes defined for a table? : Sql dba

537


What are the dml statements?

682


what is the difference between delete and truncate statement in sql? : Sql dba

546


Mention what is the function that is used to transfer a pl/sql table log to a database table?

484


how many ways to get the current time? : Sql dba

526