The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Looking for a sql command
Hi
I am currently playing on my dev board and i am trying to figure out how to remove pm totals from the database, at present i am struggling to do this. Please can some one show me what sql code i need to set all pm totals back to 0 |
#2
|
||||
|
||||
remove PM totals?
you can't... totals are a computed count query when run... there is no 'field' for totals. |
#3
|
|||
|
|||
There is the pmtotal field in the vB user table:
Code:
# change vb3_ to your vB table prefix # this query sets all PM totals to zero UPDATE vb3_user SET pmtotal = 0; Not sure what you are trying to do, but there you go. |
#4
|
|||
|
|||
Thanks a lot calorie, that worked a treat
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|