![]() |
HELP in mySQL
hi i was woundering if anyone knows how i can do this
the prob is that i accidently deleted userid1 which was me :( and all my 700 and odd posts went to userid0 = guest so i reimported my self and all my posts are still guest i was woundering if anyone knoe how you can Mass select posts in mySQL only ones by me and mass change them to userid1 thanx in advance. |
UPDATE posts SET userid='1', username='yourusername' WHERE userid='0'
or whatever it is equal to. |
Quote:
Use this: Code:
UPDATE post SET userid=1 WHERE username='YourUsername'; |
thanx guys worked a treat
|
is there anyway of making the posts and threads off a Old DataBase in the right order to add to a new database with posts already on it
|
All times are GMT. The time now is 01:28 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|