SQL Oops

Nov. 4th, 2004 02:15 pm
[identity profile] anotheritcrisis.livejournal.com posting in [community profile] techrecovery
Not really a tech support issue per se, except on my own end...

Warning: Do not use the following command to TRY and update only one row:

"Update myTable SET field1 = newValue, field2 = newValue"

I now have a huge table with each record the same. Forgetting to set the WHERE ID = IDNumber clause is BAD.

Thank god for backups.

Date: 2004-11-04 11:45 am (UTC)
jecook: (Default)
From: [personal profile] jecook
Soda | nose


Owww..

Date: 2004-11-04 11:57 am (UTC)
inahandbasket: animated gif of spider jerusalem being an angry avatar of justice (Default)
From: [personal profile] inahandbasket
oops.
"honest boss, it was a typo!"

Date: 2004-11-04 01:52 pm (UTC)
From: [identity profile] oddball42.livejournal.com
and for one instance the "undo" fucntion made popular by MS comes to mind

Profile

techrecovery: (Default)
Elitist Computer Nerd Posse

April 2017

S M T W T F S
      1
2345678
91011121314 15
16171819202122
23242526272829
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Mar. 20th, 2026 06:15 am
Powered by Dreamwidth Studios