Re: looping inside cfquery - brain on vacation

2002-02-07 Thread Gyrus
Maybe this? Loop around the cfquery cfloop query=theQuery cfquery name=blah datasource=blah INSERT INTO Table (Field) VALUES ('#theQuery.FieldValue#') /cfquery /cfloop Just out of interest, does anyone know the performance issues between looping round inside

RE: looping inside cfquery - brain on vacation

2002-02-07 Thread John McCosker
', 30, 345678) /CFLOOP /CFQUERY J -Original Message- From: Gyrus [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 12:42 PM To: CF-Talk Subject: Re: looping inside cfquery - brain on vacation Maybe

RE: looping inside cfquery - brain on vacation

2002-02-07 Thread Andrew Scott
Those figures don't surprise me, because the cfquery is run once not 1000 times and is a valid query if separated with a ';' -Original Message- From: John McCosker [mailto:[EMAIL PROTECTED]] Sent: Friday, 8 February 2002 12:01 AM To: CF-Talk Subject: RE: looping inside cfquery - brain

looping inside cfquery - brain on vacation

2002-02-06 Thread Bryan Stevenson
OK..long day..CF whining about syntax...help! The situation: CF doesn't like my syntax for this bit of looping over a query to insert muliple records. It's complaining about the final ) closing bracket for the insert. Any ideas? I'm sure I've done it beforejust saw it posted the other

Re: looping inside cfquery - brain on vacation

2002-02-06 Thread Bryan Stevenson
: looping inside cfquery - brain on vacation OK..long day..CF whining about syntax...help! The situation: CF doesn't like my syntax for this bit of looping over a query to insert muliple records. It's complaining about the final ) closing bracket for the insert. Any ideas? I'm sure I've

RE: looping inside cfquery - brain on vacation

2002-02-06 Thread Steve Oliver
Stevenson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 8:01 PM To: CF-Talk Subject: looping inside cfquery - brain on vacation OK..long day..CF whining about syntax...help! The situation: CF doesn't like my syntax for this bit of looping over a query to insert muliple records

Re: looping inside cfquery - brain on vacation

2002-02-06 Thread Bryan Stevenson
, 2002 5:01 PM Subject: RE: looping inside cfquery - brain on vacation Hmmm, well if one of your fields is numeric, then that wouldn't work, since numeric values don't need 's around them, you could use the isNumeric() function for that. __ steve oliver atnet solutions

RE: looping inside cfquery - brain on vacation

2002-02-06 Thread James Curran
Are there -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 8:01 PM To: CF-Talk Try taking out the cfquery tags and output the loop to the screen surrounded with xmp/xmp Then just check your SQL statements... It's usually standing out

RE: looping inside cfquery - brain on vacation

2002-02-06 Thread Steve Oliver
Message- From: Steve Oliver [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 8:02 PM To: CF-Talk Subject: RE: looping inside cfquery - brain on vacation Hmmm, well if one of your fields is numeric, then that wouldn't work, since numeric values don't need 's around them, you could

Re: looping inside cfquery - brain on vacation

2002-02-06 Thread Bryan Stevenson
, February 06, 2002 5:06 PM Subject: RE: looping inside cfquery - brain on vacation Oh nevermind, your not looping over the columns of the query (long day as well) I think you need a semi-colon at the end of your query, since that will put multiple inserts in one cfquery

RE: looping inside cfquery - brain on vacation

2002-02-06 Thread Steve Oliver
: Bryan Stevenson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 8:16 PM To: CF-Talk Subject: Re: looping inside cfquery - brain on vacation dang tried the semi-colon already with no luck...thought that's what it wasgr ;-) Thanks Bryan Stevenson VP Director of E

Re: looping inside cfquery - brain on vacation

2002-02-06 Thread Bryan Stevenson
PROTECTED] Sent: Wednesday, February 06, 2002 5:02 PM Subject: RE: looping inside cfquery - brain on vacation Are there -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 8:01 PM To: CF-Talk Try taking out the cfquery tags

RE: looping inside cfquery - brain on vacation

2002-02-06 Thread stas
Is there any reason your cfloop is inside the cfquery pair and not outside? - Original Message - From: Bryan Stevenson [EMAIL PROTECTED] OK..long day..CF whining about syntax...help! The situation: CF doesn't like my syntax for this bit of looping over a query to insert muliple

Re: looping inside cfquery - brain on vacation

2002-02-06 Thread Brian Scandale
://www.atnetsolutions.com -Original Message- From: Steve Oliver [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 8:02 PM To: CF-Talk Subject: RE: looping inside cfquery - brain on vacation Hmmm, well if one of your fields is numeric, then that wouldn't work, since numeric values don't