Feb 24 22:46:09 2007
Subject: RE: cfstoredproc vs cfquery
Thanks for your input, Dave. My concern is the processing
overhead that is incurred by using CFSTOREDPROC. Do you know
of any way to access multiple recordsets in CFQUERY? As it
stands now, CFQUERY only returns the 1st recordset while
Thanks for your input, Dave. My concern is the processing
overhead that is incurred by using CFSTOREDPROC. Do you know
of any way to access multiple recordsets in CFQUERY? As it
stands now, CFQUERY only returns the 1st recordset while
ignoring the rest. The ability to pull multiple
Thanks for your input, Dave. My concern is the processing overhead that is
incurred by using CFSTOREDPROC. Do you know of any way to access multiple
recordsets in CFQUERY? As it stands now, CFQUERY only returns the 1st recordset
while ignoring the rest. The ability to pull multiple recordsets,
Anyone know if there is an advantage either way when it comes to calling a
stored procedure?
Say I have a storedproc called GetAllResults. I can call it 2 ways.
cfquery name=myquery datasource=mydatasource
Execute GetAllResults
/cfquery
cfdump var=#myQuery# /
Or
The only one I can think of, but then I don't use SP's very often; IIRC is that
the cfstoredProc tag can handle more complex procedures.
--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
-
| 1 | |
- Binary Sudoku
| | |
-
None come to mind that can't be executed via cfquery. What do you mean by
more complex?
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.441 / Virus Database: 268.18.3/697 - Release Date: 2/22/2007
11:55 AM
PROTECTED]
Sent: Thursday, February 22, 2007 11:31 AM
To: CF-Talk
Subject: RE: cfstoredproc vs cfquery
None come to mind that can't be executed via cfquery. What do you mean
by more complex?
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.441 / Virus Database
Anyone know if there is an advantage either way when it comes
to calling a stored procedure?
In the example you provided, there's no difference, but stored procedures
can be much more complex than a single SQL statement. Stored procedures can
return multiple recordsets, they can accept and
-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 22, 2007 9:44 AM
To: CF-Talk
Subject: RE: cfstoredproc vs cfquery
Anyone know if there is an advantage either way when it comes
to calling a stored procedure?
In the example you provided, there's no difference, but stored
I've found that they work really well together. I generally develop an app with
cfquery, and change them all to cfstoredproc before I put it into production.
I just want to point out that the topic of this thread is that one can CALL
simple stored procedures with cfquery... tags, so what is the
ok...
question.
i have always used a stored proc to initally grab my data set.
but then use cfquery to re-sort the data as well as page though it..
i am not that quick at dba stuff, but is the way you guys do it?
or do you pass your sort orders paging back to the proc..
thx
website at http://www.reedexpo.com
-Original Message-
From: Ian Skinner
To: CF-Talk
Sent: Thu Feb 22 18:12:12 2007
Subject: RE: cfstoredproc vs cfquery
I've found that they work really well together. I generally develop an app
with cfquery, and change them all to cfstoredproc before I put
-Original Message-
From: Paul Ihrig
To: CF-Talk
Sent: Thu Feb 22 18:34:49 2007
Subject: Re: cfstoredproc vs cfquery
ok...
question.
i have always used a stored proc to initally grab my data set.
but then use cfquery to re-sort the data as well as page though it..
i am not that quick at dba stuff
of Graduate Studies
University of California, Irvine
http://www.rgs.uci.edu/
949.824.6363
-Original Message-
From: Paul Ihrig [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 22, 2007 10:35 AM
To: CF-Talk
Subject: Re: cfstoredproc vs cfquery
ok...
question.
i have always used a stored proc
The quick difference between the Cfquery and cfStoreproc is you can deal
with multiple recordset returned from the stored procedure which was not
possible using cfquery .With CfstoredProc you can deal with the return
values from the stored procedures.
The Only drawback I see using
PROTECTED]
Sent: Friday, October 13, 2006 7:45 AM
To: CF-Talk
Subject: Re: CFStoredProc vs CFQUERY
The quick difference between the Cfquery and cfStoreproc is you can deal
with multiple recordset returned from the stored procedure which was not
possible using cfquery .With CfstoredProc you can deal
- Original Message -
From: Robertson-Ravo, Neil (RX)
To: CF-Talk
Sent: Thursday, September 30, 2004 1:01 AM
Subject: RE: CFStoredProc vs CFQuery
Yeah if you must cache, then use CFQUERY but you can also just duplicate
the
results into a new query object and cache that.
_
From: Dave Watts
Yeah if you must cache, then use CFQUERY but you can also just duplicate the
results into a new query object and cache that.
_
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: 29 September 2004 20:35
To: CF-Talk
Subject: RE: CFStoredProc vs CFQuery
Are there any benefits to calling stored
Are there any benefits to calling stored procedures using CFStoredProc vs.
CFQuery? All the stored procs return a single record set.
The limitation I am running in to is how to cache the results of a query
that is created calling CFStoredProc.
TIA,
Duane
[Todays Threads]
[This Message
cfquery to call procs that need caching.
Michael T. Tangorre
-Original Message-
From: Duane Boudreau [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 29, 2004 2:59 PM
To: CF-Talk
Subject: CFStoredProc vs CFQuery
Are there any benefits to calling stored procedures using
What are the disadvantages of putting them into a shared scope?
-Adam
- Original Message -
From: Tangorre, Michael [EMAIL PROTECTED]
Date: Wed, 29 Sep 2004 15:07:34 -0400
Subject: RE: CFStoredProc vs CFQuery
To: CF-Talk [EMAIL PROTECTED]
The major benefit of using cfquery to call
Are there any benefits to calling stored procedures using
CFStoredProc vs. CFQuery? All the stored procs return a
single record set.
The limitation I am running in to is how to cache the results
of a query that is created calling CFStoredProc.
In this case, I'd recommend using CFQUERY
: CFStoredProc vs CFQuery
Are there any benefits to calling stored procedures using CFStoredProc
vs.
CFQuery? All the stored procs return a single record set.
The limitation I am running in to is how to cache the results of a query
that is created calling CFStoredProc.
TIA,
Duane
_
[Todays
stored proc is definately faster because everytime you use
cfquery, the sql inside the tag has to be interpreted to the
language the dataserver understands...with cfstoredproc this
step is skipped.
The problem with generalizations is that they're usually not always correct.
That's true
To: CF-Talk
Subject: Re: CFStoredProc vs CFQUERY
Thanks for the info, does anyone know if one is faster than the
other?
Steve
- Original Message -
From: Shawn Grover [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, January 21, 2002 8:29 PM
Subject: RE: CFStoredProc vs
parameters and the
ability to
trap an error (i.e. detect that an error code was returned) are in
themselves worth it.
Justin
-Original Message-
From: Steven Durette [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 21, 2002 11:01 PM
To: CF-Talk
Subject: Re: CFStoredProc vs CFQUERY
: Justin Greene
To: CF-Talk
Sent: 1/29/02 6:42 PM
Subject: RE: CFStoredProc vs CFQUERY
Do not know about speed, but access to output parameters and the
ability to
trap an error (i.e. detect that an error code was returned) are in
themselves worth it.
Justin
-Original Message-
From: Steven
I was just wondering if any one knew the difference between the
following:
CFSTOREDPROC PROCEDURE=usp_myproc DATASOURCE=mydatasource
CFPROCPARAM TYPE=IN CFSQLTYPE = CF_SQL_DATE VARIABLE = FOO
dbVarName = @param2
CFPROCPARAM TYPE=IN CFSQLTYPE = CF_SQL_INTERGER VARIABLE =
BAR dbVarName
: CFStoredProc vs CFQUERY
I was just wondering if any one knew the difference between the
following:
CFSTOREDPROC PROCEDURE=usp_myproc DATASOURCE=mydatasource
CFPROCPARAM TYPE=IN CFSQLTYPE = CF_SQL_DATE VARIABLE = FOO
dbVarName = @param2
CFPROCPARAM TYPE=IN CFSQLTYPE = CF_SQL_INTERGER
I was just wondering if any one knew the difference between the
following:
CFSTOREDPROC PROCEDURE=usp_myproc DATASOURCE=mydatasource
CFPROCPARAM TYPE=IN CFSQLTYPE = CF_SQL_DATE VARIABLE = FOO
dbVarName = @param2
CFPROCPARAM TYPE=IN CFSQLTYPE = CF_SQL_INTERGER VARIABLE =
BAR dbVarName
To: CF-Talk
Subject: CFStoredProc vs CFQUERY
I was just wondering if any one knew the difference between the
following:
CFSTOREDPROC PROCEDURE=usp_myproc DATASOURCE=mydatasource
CFPROCPARAM TYPE=IN CFSQLTYPE = CF_SQL_DATE VARIABLE = FOO
dbVarName = @param2
CFPROCPARAM TYPE
Thanks for the info, does anyone know if one is faster than the other?
Steve
- Original Message -
From: Shawn Grover [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, January 21, 2002 8:29 PM
Subject: RE: CFStoredProc vs CFQUERY
Use the CFPROCRESULT name=MyQueryObject
32 matches
Mail list logo