tags:

views:

36

answers:

3

HI,

I want to delete all ItemNames in single query in simpledb. whether it's possible in simple db.If possible please give the query for deleting all items in simple DB

Thanks senthil

+2  A: 

SimpleDB doesn't have any way to delete multiple records with a single query, and there is no equivalent to 'TRUNCATE TABLE'.

Your options are either to delete records one at a time or to delete the entire domain.

Scrappydog
i want to delete all records
Senthil
A: 

i want to delete all records???

Senthil
The just delete your domain.
Scrappydog
+1  A: 

Use the DeleteDomain operation to delete an entire domain. You can re-create the domain using CreateDomain afterward.

Stephen McCarthy