Data manipulation and querying with sql assignment instructions | health informatics | San Jose State University
Using a marker column to delete data is generally considered to be preferable to deleting an entire row from a table, since it allows the user to keep track of which records were deleted and why. This can be useful for auditing purposes in order to ensure that no important information was inadvertently removed during the deletion process. Additionally, using a marker column rather than deleting rows can reduce the amount of time and resources needed for database maintenance. However, there are also some tradeoffs associated with this approach. Using a marker column takes up more space in the database, thus reducing its overall storage capacity. Additionally, markers may need to be updated when fields are modified or new rows added over time, which requires additional effort from developers or administrators managing the system. Finally, it can make searching through a dataset more difficult as only those records without markers will appear in query results by default.