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 sp_pkeys? : Transact sql

686


Explain the uses of database trigger.

637


What is a pl/sql block?

579


what are the properties and different types of sub-queries? : Sql dba

491


What is dynamic sql in pl sql?

477






What is memory optimized?

538


How do I audit the sql sent to the server?

512


What are types of indexes in sql?

529


Is record in oracle pl sql?

519


Is pl sql different from sql?

518


Mention what does plvtab enables you to do when you showthe contents of pl/sql tables?

652


How do I view stored procedures?

530


What is pivot table in sql?

510


What are the types of records?

515


How do you update f as m and m as f from the below table testtable?

1048