• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Deleting characters using stored proc

Newbie Spellweaver
Joined
Aug 17, 2007
Messages
58
Reaction score
2
hi all!
simply script to delete any char from data base using a stored procedure :
PHP:
<?
$addr='192.168.72.129';
$user='cabal';
$pass='Your_Pass';
$db=mssql_connect($addr,$user,$pass);
mssql_select_db("Gamedb", $db);

$val=1;//put there a characteridx of char
$sql ="EXEC dbo.cabal_sp_delchar ".$val;
     mssql_query($sql);
?>
 
Back
Top