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 [पृष्ठ १७७]
