What is the key difference between executing a SELECT command and executing a DELETE command in ADO.NET?

  • DELETE command removes data
  • DELETE command updates data
  • SELECT command manipulates data
  • SELECT command retrieves data
In ADO.NET, a SELECT command is used to retrieve data from a database table based on specified criteria, whereas a DELETE command is used to remove data from a table based on certain conditions. Therefore, the key difference lies in their actions: SELECT retrieves data, while DELETE removes data from the table. Understanding this fundamental distinction is crucial in database manipulation using ADO.NET.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *