RSS
 

Tuesday, 5 December, 2006

05 Dec

I added all the users from the old web site to this web site, and notified all the users of the change. There were 41 users and I figured it would be easy to cut the data out of my old database dump and create Insert statements to update the new database. I was wrong.

I ended up creating 451 SQL statements to update the new database – 1 for each user in one table, and 10 for each user in another table. This is called brute force and awkwardness, and it leads to errors (of which I had several).

The next content I add will be the old blog entries. Since there are over 600 of them, and since I have to update two tables, I will not be writing individual Insert statements for them. Instead of over 1200 SQL statements, I will write two SQL statements that are much more sophisticated. I will back up the database before I do anything, of course.


Silly sign of the day:


Free/Open Source Software

RIAA/MPAA/BSA/FCC

Stupid Patent Tricks, DRM and Other IP Nonsense

Other News

Security/Our Rights

Big Brother

 
Comments Off

Posted in Uncategorized

 

Comments are closed.