If i am currently creating a table at sql then suddenly power goes off how can i save the values i have inserted? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

If i am currently creating a table at sql then suddenly power goes off how can i save the values i have inserted?

23rd Feb 2017, 2:20 AM
SREEHARI.M.S.
SREEHARI.M.S. - avatar
1 Answer
0
Write your SQL sequences in a file, and save this file. Once the SQL sequence is executed, the changes are applied so then there will not be any problem if the power goes off. Also, you can use a code editor like vim which has a backup system to restore files you didn't save before.
23rd Feb 2017, 2:49 AM
gerardbm
gerardbm - avatar