![]() |
|
|
#1 |
|
Архивный участник
Join Date: Aug 2005
Posts: 605
|
I would like some help creating an sql script that will delete all banned accounts as well as chars and skills items warehouses of those chars. I would like to reduce the lin2world database size to be more easy-handled by the server. thank you in advance
|
|
|
|
|
#2 |
|
Архивный участник
Join Date: Aug 2005
Posts: 605
|
I would appreciate some help cause I have a huge problem
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Dec 2005
Posts: 242
|
by PHP
[php:1:4ce628b40b] $sql="select account from lin2db.dbo.user_account where pay_stat = 0"; $result = mssql_query($sql); for ($i=0;$i<mssql_num_rows($sql);$i++) { $sql="select char_id from lin2db.dbo.user_data where account_name='".mssql_result($result,$i,0)."'"; $result2=mssql_query($sql); $charid[count($charid)]=mssql_result($result2,0,0); } ... ...[/php:1:4ce628b40b] try finish.. |
|
|
|
|
#4 |
|
Архивный участник
Join Date: Aug 2005
Posts: 605
|
thanks a lot! ill try to finish cause //ping results are 5-digit each :S
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|