Advertisements
Advertisements
प्रश्न
Differentiate between the following statement:
DELETE and DROP
अंतर स्पष्ट करें
Advertisements
उत्तर
Delete
- DELETE Command, removes some or all tuples/records from a relation/table.
- DELETE is DML.
- Delete command can be rollbacked as it works on a data buffer.
Drop
- DROP Command, removes named elements of a schema like relations/table, constraints, or entire schema.
- DROP is DDL.
- Drop command can't be rollbacked as it works directly on data.
shaalaa.com
Performing Insert, Update, Delete Queries Using Cursor
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 9: Structured Query Language (SQL) - Exercise [पृष्ठ १७७]
