Docsity

Temporary Tables in Databases: Benefits, Clearing, and Issues, Exams of Nursing

Toggle sidebar
bg1
Page 1 of 2
MIS-605-Topic 5 DQ Study Guide
Explain how temporary tables can be used and why this is beneficial to the company. Provide
specific examples to support your ideas. Explain why it is important to clear temporary tables
and discuss what could happen if this is not done.
If there is data that a person does not have access to or if they want to use the data
without messing up the current, a person can create a temporary table so that they can manipulate
the data however they want without change the data in the permanent tables. Using temporary
tables allows the manipulation of data without changing the data already in the system, which
means that there will be less corrupted data and less human error. Also, if there needs to be
changes made to the current table, a person can create a temporary table and input the data there,
change the data however they want, then replace the current table data with the temporary table
data. This will allow the access to the table to be longer with less down time.
If a person does not drop a table, most temporary tables will drop when a person exits the
windows. The others temporary tables will be dropped latter in the system. A person can drop the
table before they exit, but there really is no need to.
Fritchey, G. (2018, October 23). Explicitly drop temporary tables or wait for cleanup?
Intimidating Databases and Code. Retrieved from
https://www.scarydba.com/2018/10/29/explicitly-drop-temporary-tables-or-wait-
for- cleanup/
SyedAamir, A. (2019, December 5). When to use temporary tables vs. table variables.
SQLShack. Retrieved from https://www.sqlshack.com/when-to-use-temporary-tables-vs-
table-variables/
pf2

Partial preview of the text

Download Temporary Tables in Databases: Benefits, Clearing, and Issues and more Exams Nursing in PDF only on Docsity!

Page 1 of 2

MIS-605-Topic 5 DQ Study Guide Explain how temporary tables can be used and why this is beneficial to the company. Provide specific examples to support your ideas. Explain why it is important to clear temporary tables and discuss what could happen if this is not done.

If there is data that a person does not have access to or if they want to use the data without messing up the current, a person can create a temporary table so that they can manipulate the data however they want without change the data in the permanent tables. Using temporary tables allows the manipulation of data without changing the data already in the system, which means that there will be less corrupted data and less human error. Also, if there needs to be changes made to the current table, a person can create a temporary table and input the data there, change the data however they want, then replace the current table data with the temporary table data. This will allow the access to the table to be longer with less down time.

If a person does not drop a table, most temporary tables will drop when a person exits the windows. The others temporary tables will be dropped latter in the system. A person can drop the table before they exit, but there really is no need to.

Fritchey, G. (2018, October 23). Explicitly drop temporary tables or wait for cleanup?

Intimidating Databases and Code. Retrieved from https://www.scarydba.com/2018/10/29/explicitly-drop-temporary-tables-or-wait- for-cleanup/

SyedAamir, A. (2019, December 5). When to use temporary tables vs. table variables.

SQLShack. Retrieved from https://www.sqlshack.com/when-to-use-temporary-tables-vs- table-variables/

  • Page 2 of