Re: cfstoredproc vs cfquery

2007-02-25 Thread Robertson-Ravo, Neil (RX)
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

RE: cfstoredproc vs cfquery

2007-02-24 Thread Dave Watts
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

Re: cfstoredproc vs cfquery

2007-02-23 Thread Sapporo Sapporo
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,

cfstoredproc vs cfquery

2007-02-22 Thread Bobby Hartsfield
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

RE: cfstoredproc vs cfquery

2007-02-22 Thread Ian Skinner
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 | | | -

RE: cfstoredproc vs cfquery

2007-02-22 Thread Bobby Hartsfield
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

RE: cfstoredproc vs cfquery

2007-02-22 Thread Leitch, Oblio
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

RE: cfstoredproc vs cfquery

2007-02-22 Thread Dave Watts
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

RE: cfstoredproc vs cfquery

2007-02-22 Thread Jeffrey Polaski
- 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

RE: cfstoredproc vs cfquery

2007-02-22 Thread Ian Skinner
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

Re: cfstoredproc vs cfquery

2007-02-22 Thread Paul Ihrig
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

Re: cfstoredproc vs cfquery

2007-02-22 Thread Robertson-Ravo, Neil (RX)
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

Re: cfstoredproc vs cfquery

2007-02-22 Thread Robertson-Ravo, Neil (RX)
-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

RE: cfstoredproc vs cfquery

2007-02-22 Thread Jeffrey Polaski
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

Re: CFStoredProc vs CFQUERY

2006-10-13 Thread Ninad Inamdar
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

RE: CFStoredProc vs CFQUERY

2006-10-13 Thread Tom Kitta
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

Re: CFStoredProc vs CFQuery

2004-10-02 Thread Dina Hess
- 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

RE: CFStoredProc vs CFQuery

2004-09-30 Thread Robertson-Ravo, Neil (RX)
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

CFStoredProc vs CFQuery

2004-09-29 Thread Duane Boudreau
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

RE: CFStoredProc vs CFQuery

2004-09-29 Thread Tangorre, Michael
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

Re: CFStoredProc vs CFQuery

2004-09-29 Thread Adrocknaphobia
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

RE: CFStoredProc vs CFQuery

2004-09-29 Thread Dave Watts
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

RE: CFStoredProc vs CFQuery

2004-09-29 Thread Joe Gooch
: 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

RE: CFStoredProc vs CFQUERY

2002-01-30 Thread Dave Watts
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

RE: CFStoredProc vs CFQUERY

2002-01-29 Thread Justin Greene
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

RE: CFStoredProc vs CFQUERY

2002-01-29 Thread Ray Bujarski
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

RE: CFStoredProc vs CFQUERY

2002-01-29 Thread Robert Everland
: 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

CFStoredProc vs CFQUERY

2002-01-21 Thread Steven Durette
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

RE: CFStoredProc vs CFQUERY

2002-01-21 Thread Steve Oliver
: 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

CFStoredProc vs CFQUERY

2002-01-21 Thread Steven Durette
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

RE: CFStoredProc vs CFQUERY

2002-01-21 Thread Shawn Grover
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

Re: CFStoredProc vs CFQUERY

2002-01-21 Thread Steven Durette
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