Calling Stored Procedures


i'm curious whether either of these methods has advantages on other.  both work.

 

method 1

 

<cfstoredproc datasource="infograms" procedure="dantest">
<cfprocparam cfsqltype="cf_sql_timestamp"  value="#startdate#">
<cfprocresult name="y">
</cfstoredproc>

method 2

 

<cfquery name="z" datasource="infograms">
execute dantest @p1 = <cfqueryparam cfsqltype="cf_sql_timestamp" value="#startdate#">
</cfquery>

that question. have run them debugging enabled , there significant difference between them in terms of execution time, etc.?



More discussions in Database Access


adobe

Comments

Popular posts from this blog

Joomla site hacked, cant see front and - Joomla! Forum - community, help and support

Christian Home School Programs - Joomla! Forum - community, help and support

Trouble with PF_OutFlag_I_USE_AUDIO and PF_CHECKOUT_LAYER_AUDIO