How can I delete all records from a table using SubSonic?
The Delete method has three overloads, but each one expects some parameters.
And how can I delete records using a query (e.g. delete all records where column1 > 100)
Delete all records from a table
databasesubsonic
Related Topic
- Sql – How to replace a string in a SQL Server Table Column
- Mysql – How to shrink/purge ibdata1 file in MySQL
- Sql – What are the options for storing hierarchical data in a relational database
- Ruby-on-rails – delete_all vs destroy_all
- Mysql – Foreign key constraints: When to use ON UPDATE and ON DELETE
- Elasticsearch query to return all records
- R – How far do you go with YAGNI?
Best Answer
The following will delete all rows from the TempTable which have an Id of greater than 56: