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
Post a Comment