Log in

View Full Version : i need help with a global db change


Preech
03-31-2004, 12:21 AM
I want to update my membertable with my sites reopening date as the join date for all my members. So basically the site has been closed for 3 months and i deleted all the old posts....i just want to update that so that all the old memberlists carried over have the reopening date as the join date, 4000 members would be a little much to do by hand

i run vb3.0 by the way if that makes any diff with the command structure

please help :)

Christine
03-31-2004, 12:26 AM
What date and time do you want it to say?

Preech
03-31-2004, 01:04 AM
02-18-2004 100 am

please :)

Christine
03-31-2004, 02:07 AM
On one condition -- you back up your database before running this script!

:)

UPDATE user SET joindate='1077084000';

Preech
03-31-2004, 02:18 AM
that will update all eh? ok thanks will do backup.

Christine
03-31-2004, 02:57 AM
Yes it will. Just copy it and paste it as I have it written and run it in phpMyAdmin on your user table.

:)

Boofo
03-31-2004, 03:05 AM
Christine, how did you come up with the date like that? Please PM me the answer. ;)

Christine
03-31-2004, 03:25 AM
Bob,

I am Rainman.

:)

Boofo
04-01-2004, 04:42 AM
Lol ;)