Try this: <cfstoredproc procedure="sp_helpdb" datasource="DataSourceName"> <cfprocparam cfsqltype="CF_SQL_VARCHAR" dbvarname="Name" type="In" value="DatabaseName"> <cfprocresult name="MyResult"> </cfstoredproc>
<cfoutput query="MyResult"> #DB_Size# </cfoutput> Jenny Gavin-Wear wrote: > I need to be able to query the size of an MS Sql database and get the value > into a variable. > > I've seen that there are stored procedures, but I have no idea how I would > go about using them inside CF. > > Is there an easy way to go about this, please? > > J > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301853 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4