RE: [ACFUG Discuss] Issue with return from cfquery

2006-10-04 Thread Jeff Howard
What was causing the issue was setting the rowcount 1 and maintaining connections across client requests.  Apparently this set the rowcount to all queries called after this to have a rowcount of 1.   So access to the CF Admin was pretty critical to the resolution using the code as I originally wr

RE: [ACFUG Discuss] Issue with return from cfquery

2006-10-04 Thread Charlie Arehart
MAIL PROTECTED] On Behalf Of Jeff HowardSent: Wednesday, October 04, 2006 9:50 AMTo: discussion@acfug.orgSubject: RE: [ACFUG Discuss] Issue with return from cfquery So I got access to the CF Admin this morning and between that and Profiler I can see what is causing my issue and can resolve.  Than

RE: [ACFUG Discuss] Issue with return from cfquery

2006-10-04 Thread axunderwood
ubject: RE: [ACFUG Discuss] Issue with return from cfquery You should probably look into using scope_identity() rather than the method you use below...that may help you out a bit...   INSERT into blah() values() SELECT ID = SCOPE_IDENTITY()   Rowcount can cause some

RE: [ACFUG Discuss] Issue with return from cfquery

2006-10-04 Thread Benjamin Bloodworth
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Howard Sent: Wednesday, October 04, 2006 9:50 AM To: discussion@acfug.org Subject: RE: [ACFUG Discuss] Issue with return from cfquery   So I got access to the CF Admin this morning and between that and Profiler I

Re: [ACFUG Discuss] Issue with return from cfquery

2006-10-04 Thread Douglas Knudsen
I'm no SQL Server master, but I'd think you just use the SELECT SCOPE_IDENTITY() as ID; to fetch the last used id.so, in one cfquery tag you'd haveINSERT INTO table (col1, col2)VALUES(val1, val2);SELECT SCOPE_IDENTITY() as ID;Then foo.id has your last inserted id. DK On 10/4/06, Jeff Howard <[EMAI

RE: [ACFUG Discuss] Issue with return from cfquery

2006-10-04 Thread axunderwood
] [mailto:[EMAIL PROTECTED]On Behalf Of Jeff HowardSent: Wednesday, October 04, 2006 9:50 AMTo: discussion@acfug.orgSubject: RE: [ACFUG Discuss] Issue with return from cfquery So I got access to the CF Admin this morning and between that and Profiler I can see what is causing my issue and can

RE: [ACFUG Discuss] Issue with return from cfquery

2006-10-04 Thread Jeff Howard
So I got access to the CF Admin this morning and between that and Profiler I can see what is causing my issue and can resolve.  Thanks for everyone's help once again.  It was a comination of advice that got me to this point.   Now I was wondering if anyone could tell me why this issue is happenin

RE: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Jeff Howard
] On Behalf Of Jeff HowardSent: Tuesday, October 03, 2006 4:40 PMTo: discussion@acfug.orgSubject: RE: [ACFUG Discuss] Issue with return from cfqueryCharlie,   I appreciate the help.   I have not used SQL Profiler before. I have been looking at it and can see it "really is querying the d

RE: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Charlie Arehart
Yeah, and here I broke out the musket for nothin'. :-)   /charlie http://www.carehart.org/blog/   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]Sent: Tuesday, October 03, 2006 4:18 PMTo: discussion@acfug.orgSubject: Re: [ACFUG Discuss] Issue with r

RE: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Charlie Arehart
L PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff HowardSent: Tuesday, October 03, 2006 4:40 PMTo: discussion@acfug.orgSubject: RE: [ACFUG Discuss] Issue with return from cfquery Charlie,   I appreciate the help.   I have not used SQL Profiler before. I have been looking at it and can see it

RE: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Jeff Howard
Charlie,   I appreciate the help.   I have not used SQL Profiler before. I have been looking at it and can see it "really is querying the database".   Once again, I've never used SQL Profiler but I'm pretty positive that I've figured this part out.   As far as the CF debugging tool, we had a

RE: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Benjamin Bloodworth
Of Charlie Arehart Sent: Tuesday, October 03, 2006 4:03 PM To: discussion@acfug.org Subject: RE: [ACFUG Discuss] Issue with return from cfquery At the risk of taking on Dean in a head-first ram-on-ram head butt :-), I want to offer a clarification. Dean, you said " explicitly prevents ca

Re: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Dean H. Saxe
w.carehart.org/blog/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dean H. Saxe Sent: Tuesday, October 03, 2006 2:10 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] Issue with return from cfquery Ben, explicitly prevents caching of result

Re: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Gerrey . Mary-Catherine
n   > getting > it, and clarify as well what Dean may have been meaning to say. OK,   > that's > my volley, Dean (to switch analogies from rams to the revolution).   > Fire away > while I reload my muzzle. :-) > > /charlie > http://www.carehart.org/blog/ > > -

RE: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Charlie Arehart
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dean H. Saxe Sent: Tuesday, October 03, 2006 2:10 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] Issue with return from cfquery Ben, explicitly prevents caching of result sets. -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTEC

RE: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Charlie Arehart
http://www.carehart.org/blog/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Howard Sent: Tuesday, October 03, 2006 1:58 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] Issue with return from cfquery This "test app" all of a

RE: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread John Mason
@acfug.orgSubject: RE: [ACFUG Discuss] Issue with return from cfquery Given all this - I'd strongly urge you to check your DSN's like Dean was pointing out earlier - this just doesn't make a whole lot of sense.   Allen -Original Message-From: [EMAIL PROTECTED] [mailto:[

RE: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Ramirez, Ruben - Curtis 1000
ay, October 03, 2006 1:47 PMTo: discussion@acfug.orgSubject: RE: [ACFUG Discuss] Issue with return from cfquery Ok, the new issue is it all of a sudden started working again.  I didn't change any settings anywhere or even change my script.  All I did was eat a sandwich

Re: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Craig . Nassal
Return Receipt Your Re: [ACFUG Discuss] Issue with return from cfquery document

Re: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Shawn . Gorrell
Return Receipt Your Re: [ACFUG Discuss] Issue with return from cfquery document

RE: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread axunderwood
ay, October 03, 2006 1:47 PMTo: discussion@acfug.orgSubject: RE: [ACFUG Discuss] Issue with return from cfquery Ok, the new issue is it all of a sudden started working again.  I didn't change any settings anywhere or even change my script.  All I did was eat a sandwich

Re: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Mark Fennell
Jeff Howard Sent: Tuesday, October 03, 2006 12:32 PM To: discussion@acfug.org Subject: [ACFUG Discuss] Issue with return from cfquery Does anyone know what could be causing the following issue:     I have a very simple query:      SELECT ID    FROM test

Re: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Teddy Payne
: [EMAIL PROTECTED] ]On Behalf Of Jeff Howard> Sent: Tuesday, October 03, 2006 12:32 PM> To: discussion@acfug.org> Subject: [ACFUG Discuss] Issue with return from cfquery >> Does anyone know what could be causing the following issue:>>> I have a very simple query:>>&

RE: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Jeff Howard
27;t affect the query results.-Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Jeff HowardSent: Tuesday, October 03, 2006 1:47 PMTo: discussion@acfug.orgSubject: RE: [ACFUG Discuss] Issue with return from cfquery Ok, the new issue is it all of a sudden

Re: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Dean H. Saxe
e running into a query caching issue. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Howard Sent: Tuesday, October 03, 2006 12:32 PM To: discussion@acfug.org Subject: [ACFUG Discuss] Issue with return from cfquery Does anyone know what could be causing the following is

Re: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Jeff Howard
ly getting one record returned and a > recordcount of 1. > > [EMAIL PROTECTED] wrote: > Maybe try this: > SELECT [id] from test > -Original Message- > From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] Behalf Of Jeff Howard > Sent: Tuesday, October 03, 2006 12

RE: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread axunderwood
discussion@acfug.orgSubject: RE: [ACFUG Discuss] Issue with return from cfquery Ok, the new issue is it all of a sudden started working again.  I didn't change any settings anywhere or even change my script.  All I did was eat a sandwich and hit refresh on the page and it started work

RE: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Jeff Howard
  /charlie http://www.carehart.org/blog/   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff HowardSent: Tuesday, October 03, 2006 12:32 PMTo: discussion@acfug.orgSubject: [ACFUG Discuss] Issue with return from cfqueryDoes anyone know what could be causing the followin

RE: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Benjamin Bloodworth
. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dean H. Saxe Sent: Tuesday, October 03, 2006 1:30 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] Issue with return from cfquery "maintain connections..." has nothing to do with query cac

Re: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Teddy Payne
[EMAIL PROTECTED] wrote:> Maybe try this:> SELECT [id] from test > -Original Message-> From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]]On Behalf Of Jeff Howard> Sent: Tuesday, October 03, 2006 12:32 PM> To: discussion@acfug.org> Subject: [ACFUG Discuss] Issue with

Re: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Dean H. Saxe
running into a query caching issue. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Howard Sent: Tuesday, October 03, 2006 12:32 PM To: discussion@acfug.org Subject: [ACFUG Discuss] Issue with return from cfquery Does anyone know what could be causing the following issue

Re: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Dean H. Saxe
ERE clause which is always true for all records, such as: WHERE 1 = 1 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Howard Sent: Tuesday, October 03, 2006 9:32 AM To: discussion@acfug.org Subject: [ACFUG Discuss] Issue with return from cfquery Does anyone know

Re: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Jeff Howard
SELECT [id] from test> -Original Message-> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jeff Howard> Sent: Tuesday, October 03, 2006 12:32 PM> To: discussion@acfug.org> Subject: [ACFUG Discuss] Issue with return from cfquery>> Does anyone know what co

RE: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Benjamin Bloodworth
PROTECTED] On Behalf Of Jeff Howard Sent: Tuesday, October 03, 2006 12:32 PM To: discussion@acfug.org Subject: [ACFUG Discuss] Issue with return from cfquery   Does anyone know what could be causing the following issue:     I have a very simple query:      SELECT ID

RE: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Charlie Arehart
ent.   /charlie http://www.carehart.org/blog/   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff HowardSent: Tuesday, October 03, 2006 12:32 PMTo: discussion@acfug.orgSubject: [ACFUG Discuss] Issue with return from cfquery Does anyone know what could be causing the following issu

Re: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Jeff Howard
gt; [EMAIL PROTECTED] wrote:> Maybe try this:> SELECT [id] from test> -Original Message-> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jeff Howard> Sent: Tuesday, October 03, 2006 12:32 PM> To: discussion@acfug.org> Subject: [ACFUG Discuss] Issue with return

Re: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Dean H. Saxe
discussion@acfug.org Subject: [ACFUG Discuss] Issue with return from cfquery Does anyone know what could be causing the following issue: I have a very simple query: SELECT ID FROM test The DB has 1 column named ID and 10 rows numbered 1-10. I built this table to try and figure o

Re: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Dean H. Saxe
] wrote: Maybe try this: SELECT [id] from test -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jeff Howard Sent: Tuesday, October 03, 2006 12:32 PM To: discussion@acfug.org Subject: [ACFUG Discuss] Issue with return from cfquery Does anyone know what could be caus

RE: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Jeff Howard
alf Of Jeff HowardSent: Tuesday, October 03, 2006 9:32 AMTo: discussion@acfug.orgSubject: [ACFUG Discuss] Issue with return from cfquery  Does anyone know what could be causing the following issue:  I have a very simple query:    SELECT ID   FROM test The DB has 1 colu

RE: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Jeff Howard
: discussion@acfug.orgSubject: [ACFUG Discuss] Issue with return from cfquery Does anyone know what could be causing the following issue:     I have a very simple query:      SELECT ID   FROM test   The DB has 1 column named ID and 10 rows numbered 1-10.  I built this table to try and figure out what

Re: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Jeff Howard
I've tried both ways and they both produce the same result.Precia <[EMAIL PROTECTED]> wrote:ARe you placing your output as such    #ID#  or     #getIDs.ID#  or some other way?   The first example will return all rows.  The second example will return one row.   Preci

RE: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Dan Kaufman
with return from cfquery   Does anyone know what could be causing the following issue:     I have a very simple query:      SELECT ID    FROM test   The DB has 1 column named ID and 10 rows numbered 1-10.  I built this table to try and figure out what is

Re: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Precia
ARe you placing your output as such     #ID#   or     #getIDs.ID#   or some other way?   The first example will return all rows.  The second example will return one row.   Precia   On 10/3/06, Jeff Howard <[EMAIL PROTECTED]> wrote: Does anyone know what could be causing the following issu

RE: [ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread axunderwood
Maybe try this: SELECT [id] from test -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Jeff HowardSent: Tuesday, October 03, 2006 12:32 PMTo: discussion@acfug.orgSubject: [ACFUG Discuss] Issue with return from cfquery Does anyone know

[ACFUG Discuss] Issue with return from cfquery

2006-10-03 Thread Jeff Howard
Does anyone know what could be causing the following issue:     I have a very simple query:      SELECT ID   FROM test   The DB has 1 column named ID and 10 rows numbered 1-10.  I built this table to try and figure out what is happening to a more complex table that is having the same issue.