{call sp_spaceused};
per this node SQL stored procedures
but it results in a syntax error. I also tried
$sth=$dbh->prepare("sp_spaceused");
That didn't seem to help. Error messages...
Can someone help me with the syntax? This seemingly "easy" problem has resulted in 2.5 hours of playing with syntax. I've looked at "Super Search" and various FAQs without success. In the same vein, I'm trying to write a script that goes through the various tables to report disk usage. Am I reinventing the wheel and has this been done before? Also, is it efficient to run through each table running stored-procedure "sp_spaceused" and gleaning the statistics, or is their better way? Thanks from this weary monk...
In reply to MS SQL Stored Procedure Syntax by slojuggler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |