Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hello!
RE: Hello!
#7
And what breakage occurred was mainly my fault, not Labster's.

And while there may have been a better way to do things, I used cursors because I was stepping through one thread at a time, recreating it in the new database and then moving its posts over one at a time, in order. One reason I did it that way is it let me control exactly what I was moving when and gave me some "undo" ability. (I gave the T-SQL copies of the tables a "moved" bit column that let me track exactly what I'd ported over and what I hadn't -- and I wrote the scripts such that I could say, basically, "move 5 threads from General Chatter".) The messy part was that my T-SQL scripts wrote MySQL scripts that I then copy/pasted over to my ISP's phpMyAdmin control panel, since they didn't permit me to do direct uploads.

Yeah, a lot of the stuff I did, I did because the tools I had wouldn't let me do it in an easier way.
-- Bob

I have been Roland, Beowulf, Achilles, Gilgamesh, Clark Kent, Mary Sue, DJ Croft, Skysaber.  I have been 
called a hundred names and will be called a thousand more before the sun grows dim and cold....
Reply


Messages In This Thread
Hello! - by SignalAffairs - 07-18-2020, 09:41 AM
RE: Hello! - by Norgarth - 07-18-2020, 10:22 AM
RE: Hello! - by classicdrogn - 07-18-2020, 11:17 AM
RE: Hello! - by robkelk - 07-18-2020, 11:35 AM
RE: Hello! - by Bob Schroeck - 07-18-2020, 03:50 PM
RE: Hello! - by Labster - 07-18-2020, 05:47 PM
RE: Hello! - by Bob Schroeck - 07-18-2020, 11:31 PM
RE: Hello! - by SignalAffairs - 07-19-2020, 12:10 PM
RE: Hello! - by Bob Schroeck - 07-19-2020, 12:35 PM
RE: Hello! - by Labster - 07-19-2020, 02:32 PM
RE: Hello! - by Bob Schroeck - 07-20-2020, 07:33 AM
RE: Hello! - by SignalAffairs - 07-22-2020, 02:27 PM
RE: Hello! - by Bob Schroeck - 07-22-2020, 03:33 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)