[cfaussie] Re: CFQUERYPARAM was RE: [cfaussie] Re: @#$!! queryparam

2007-03-06 Thread Charlie Arehart
OK, ok. :-) /Charlie http://www.carehart.org/blog/ -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Scott Sent: Monday, March 05, 2007 9:14 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: CFQUERYPARAM was RE: [cfaussie] Re

[cfaussie] Re: CFQUERYPARAM was RE: [cfaussie] Re: @#$!! queryparam

2007-03-05 Thread Charlie Arehart
presentation. /Charlie http://www.carehart.org/blog/ -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Duncan Sent: Sunday, March 04, 2007 6:24 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: CFQUERYPARAM was RE: [cfaussie] Re: @#$!! queryparam

[cfaussie] Re: @#$!! queryparam

2007-03-05 Thread Charlie Arehart
@googlegroups.com Subject: [cfaussie] Re: @#$!! queryparam We are not caching any templates. In CFAdmin there are no cached templates, trusted cache or saving of class files. We are not using a framework, its as simple as putting a cfquery into a .cfm page and running it directly in the browser. It is only

[cfaussie] Re: CFQUERYPARAM was RE: [cfaussie] Re: @#$!! queryparam

2007-03-05 Thread Charlie Arehart
PROTECTED] On Behalf Of Andrew Scott Sent: Sunday, March 04, 2007 7:03 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: CFQUERYPARAM was RE: [cfaussie] Re: @#$!! queryparam Acually not sure, but the problem Duncan was having was suggested my Macromedia so that shows you it is a known problem

[cfaussie] Re: Why select * is bad (was RE: [cfaussie] Re: @#$!! Queryparam)

2007-03-05 Thread Duncan
://www.carehart.org/blog/ -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Duncan Sent: Thursday, March 01, 2007 10:21 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: @#$!! queryparam Charlie, I didnt think that would be affecting it, I

[cfaussie] Re: CFQUERYPARAM was RE: [cfaussie] Re: @#$!! queryparam

2007-03-05 Thread Andrew Scott
Charlie, Cheers for the info, but I wasn't confusing anything. I was asking to begin with. And with select * from when using cfqueryparam, I only am reporting what is reported as a solution on the Adobe livedocs. Gosh:-) Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd.

[cfaussie] Re: CFQUERYPARAM was RE: [cfaussie] Re: @#$!! queryparam

2007-03-05 Thread Andrew Scott
Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Charlie Arehart Sent: Tuesday, 6 March 2007 9:03 AM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: CFQUERYPARAM was RE: [cfaussie] Re: @#$!! queryparam Well, I know I just wrote my last note so you can't

[cfaussie] Re: CFQUERYPARAM was RE: [cfaussie] Re: @#$!! queryparam

2007-03-05 Thread Adam Cameron
Most database (including SQLServer) presume that the database structure does not change between re-uses of parameterized queries. What a strange presumption for them to make! Sure, table-schema updates are rare compared to table-queries, but it's not like the DB doesn't *know* when the table

[cfaussie] Re: CFQUERYPARAM was RE: [cfaussie] Re: @#$!! queryparam

2007-03-05 Thread Mark Mandel
Oracle does behave like this - actually to the point where you can't add new tables and then run parametrised queries on them within the same session (I believe it is session related). Databases weren't designed to dynamically updated at runtime, and never have been - so you will end up hitting

[cfaussie] Re: CFQUERYPARAM was RE: [cfaussie] Re: @#$!! queryparam

2007-03-05 Thread Adam Cameron
Databases weren't designed to dynamically updated at runtime, and never have been - so you will end up hitting brick walls there. Can you explain to me what you mean by runtime, in the context of a DB engine? In such a way that distinguishes between me using CF as a DB client or using Query

[cfaussie] Re: Why select * is bad (was RE: [cfaussie] Re: @#$!! Queryparam)

2007-03-05 Thread Tom MacKean
http://www.carehart.org/blog/ -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Duncan Sent: Thursday, March 01, 2007 10:21 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: @#$!! queryparam Charlie, I didnt think

[cfaussie] Re: Why select * is bad (was RE: [cfaussie] Re: @#$!! Queryparam)

2007-03-05 Thread Brett Payne-Rhodes
[mailto:cfaussie@googlegroups.com mailto:cfaussie@googlegroups.com] On Behalf Of Duncan Sent: Thursday, March 01, 2007 10:21 PM To: cfaussie@googlegroups.com mailto:cfaussie@googlegroups.com Subject: [cfaussie] Re: @#$!! queryparam Charlie

[cfaussie] Re: Why select * is bad (was RE: [cfaussie] Re: @#$!! Queryparam)

2007-03-05 Thread Andrew Scott
To: cfaussie@googlegroups.com Subject: [cfaussie] Re: Why select * is bad (was RE: [cfaussie] Re: @#$!! Queryparam) I am a SELECT * user. (In my defence, I'm self-taught and didn't know any better until now) My question... is there a trick or tip or tool that you guys use to save typing

[cfaussie] Re: CFQUERYPARAM was RE: [cfaussie] Re: @#$!! queryparam

2007-03-05 Thread Charlie Arehart
Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Scott Sent: Monday, March 05, 2007 6:15 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: CFQUERYPARAM was RE: [cfaussie] Re: @#$!! queryparam Charlie, The link is http://livedocs.adobe.com/coldfusion/6.1

[cfaussie] Re: CFQUERYPARAM was RE: [cfaussie] Re: @#$!! queryparam

2007-03-05 Thread Andrew Scott
: +613  8676 4223 Mobile: 0404 998 273 -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Charlie Arehart Sent: Tuesday, 6 March 2007 1:07 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: CFQUERYPARAM was RE: [cfaussie] Re: @#$!! queryparam

[cfaussie] Re: Why select * is bad (was RE: [cfaussie] Re: @#$!! Queryparam)

2007-03-05 Thread Charlie Arehart
, and I'm a Select * user. :-) /Charlie http://www.carehart.org/blog/ _ From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom MacKean Sent: Monday, March 05, 2007 7:48 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: Why select * is bad (was RE: [cfaussie] Re

[cfaussie] Re: Why select * is bad (was RE: [cfaussie] Re: @#$!! Queryparam)

2007-03-05 Thread Haikal Saadh
@googlegroups.com [mailto:cfaussie@googlegroups.com mailto:cfaussie@googlegroups.com] On Behalf Of Duncan Sent: Thursday, March 01, 2007 10:21 PM To: cfaussie@googlegroups.com mailto:cfaussie@googlegroups.com Subject: [cfaussie] Re: @#$!! queryparam Charlie, I didnt think that would

[cfaussie] Re: Why select * is bad (was RE: [cfaussie] Re: @#$!! Queryparam)

2007-03-05 Thread Tom MacKean
*To:* cfaussie@googlegroups.com *Subject:* [cfaussie] Re: Why select * is bad (was RE: [cfaussie] Re: @#$!! Queryparam) I am a SELECT * user. (In my defence, I'm self-taught and didn't know any better until now) My question... is there a trick or tip or tool that you guys use to save typing

[cfaussie] Re: Why select * is bad (was RE: [cfaussie] Re: @#$!! Queryparam)

2007-03-05 Thread Andrew Scott
(was RE: [cfaussie] Re: @#$!! Queryparam) Thanks Charlie, I'm alternating between Dreamweaver and Eclipse at the moment, depending on the project. Since my original post, I found a button in MySQL Manager (http://www.mysqlmanager.com/ ) that copies all field names to clipboard. Reasonably easy

[cfaussie] Re: Why select * is bad (was RE: [cfaussie] Re: @#$!! Queryparam)

2007-03-05 Thread Gareth Edwards
@googlegroups.com Subject: [cfaussie] Re: Why select * is bad (was RE: [cfaussie] Re: @#$!! Queryparam) Thanks Charlie, I'm alternating between Dreamweaver and Eclipse at the moment, depending on the project. Since my original post, I found a button in MySQL Manager

[cfaussie] Re: @#$!! queryparam

2007-03-04 Thread Duncan
Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Scott Sent: Thursday, March 01, 2007 10:08 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: @#$!! queryparam The suggestions I had mentioned, I didn't think of Trusted Cache but I never have

[cfaussie] Re: CFQUERYPARAM was RE: [cfaussie] Re: @#$!! queryparam

2007-03-04 Thread Duncan
- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Charlie Arehart Sent: Saturday, 3 March 2007 3:44 AM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: CFQUERYPARAM was RE: [cfaussie] Re: @#$!! queryparam Andrew, I didn't say anything about SPs, nor did I

[cfaussie] Re: CFQUERYPARAM was RE: [cfaussie] Re: @#$!! queryparam

2007-03-04 Thread Andrew Scott
Duncan, But the Admin says Cached Queries so I am going to guess its CF, just wanted to make sure I was right on my assumption. And if you read my post, hey Charlie (yells out) correct me you seem to know.. If you set this setting to zero, there will be no caching and no performance gain. So I

[cfaussie] CFQUERYPARAM was RE: [cfaussie] Re: @#$!! queryparam

2007-03-04 Thread Scott Thornton
I think CF would only cache the queries if cachedafter= or cachedwithin= was used. Andrew Scott [EMAIL PROTECTED] 05/03/2007 10:38 am Duncan, But the Admin says Cached Queries so I am going to guess its CF, just wanted to make sure I was right on my assumption. And if you read my post, hey

[cfaussie] Re: CFQUERYPARAM was RE: [cfaussie] Re: @#$!! queryparam

2007-03-04 Thread Andrew Scott
, 5 March 2007 11:01 AM To: cfaussie@googlegroups.com Subject: [cfaussie] CFQUERYPARAM was RE: [cfaussie] Re: @#$!! queryparam I think CF would only cache the queries if cachedafter= or cachedwithin= was used. Andrew Scott [EMAIL PROTECTED] 05/03/2007 10:38 am Duncan, But the Admin says

[cfaussie] Re: @#$!! queryparam

2007-03-04 Thread Andrew Scott
] On Behalf Of Duncan Sent: Monday, 5 March 2007 8:47 AM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: @#$!! queryparam We are not caching any templates. In CFAdmin there are no cached templates, trusted cache or saving of class files. We are not using a framework, its as simple

[cfaussie] Why select * is bad (was RE: [cfaussie] Re: @#$!! Queryparam)

2007-03-02 Thread Charlie Arehart
through all the available info to decide best for yourself. :-) /Charlie http://www.carehart.org/blog/ -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Duncan Sent: Thursday, March 01, 2007 10:21 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re

[cfaussie] Re: @#$!! queryparam

2007-03-02 Thread Charlie Arehart
: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Scott Sent: Thursday, March 01, 2007 10:42 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: @#$!! queryparam Charlie, I did a bit of research into cfqueryparam to see what you meant by ther performance but it is only

[cfaussie] Re: @#$!! queryparam

2007-03-02 Thread Charlie Arehart
Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Scott Sent: Thursday, March 01, 2007 10:08 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: @#$!! queryparam The suggestions I had mentioned, I didn't think of Trusted Cache but I never have

[cfaussie] Re: Why select * is bad (was RE: [cfaussie] Re: @#$!! Queryparam)

2007-03-02 Thread Shane Farmer
PROTECTED] On Behalf Of Duncan Sent: Thursday, March 01, 2007 10:21 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: @#$!! queryparam Charlie, I didnt think that would be affecting it, I am more than aware that its bad practice, and as it happens the queries in question do have

[cfaussie] Re: @#$!! queryparam

2007-03-01 Thread Andrew Scott
Duncan, The query is only cached when you tell it to be cached. But are you using any other framework like reactor or transfer or even MG:U, or even have this in a cfc that might be stored in a session or application scope. One other thing I would like to point out that a lot of people do not

[cfaussie] Re: @#$!! queryparam

2007-03-01 Thread Andrew Scott
Scott, Well although I know what you said, I see no reason to add overhead to my application to provide a stop measure for SQL injection when I have already taken care of it before my code ever reaches there in a cffunction. As far as making sure it is an integer instead of numeric, I couldn't

[cfaussie] Re: @#$!! queryparam

2007-03-01 Thread Duncan
I should add to this that the queries are not using any caching, they are not in a cfc, and are not loaded into any scopes like the application. Simple, inline, straightforward queries. On 3/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Scott - thats precisely why we use cfqueryparam - and

[cfaussie] Re: @#$!! queryparam

2007-03-01 Thread Charlie Arehart
@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Scott Sent: Thursday, March 01, 2007 7:58 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: @#$!! queryparam Duncan, The query is only cached when you tell it to be cached. But are you using any other framework like reactor

[cfaussie] Re: @#$!! queryparam

2007-03-01 Thread Charlie Arehart
: Thursday, March 01, 2007 10:01 PM To: cfaussie Subject: [cfaussie] Re: @#$!! queryparam Scott - thats precisely why we use cfqueryparam - and the performance increase is marked, especially on inserts. There is a performance hit on the first time the query is put together, but after that you save

[cfaussie] Re: @#$!! queryparam

2007-03-01 Thread Andrew Scott
Subject: [cfaussie] Re: @#$!! queryparam Scott - thats precisely why we use cfqueryparam - and the performance increase is marked, especially on inserts. There is a performance hit on the first time the query is put together, but after that you save time. Andrew - I thought the cached templates

[cfaussie] Re: @#$!! queryparam

2007-03-01 Thread Peter Tilbrook
Did you delete any cached templates in the CFIDE folder? On 02/03/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Scott - thats precisely why we use cfqueryparam - and the performance increase is marked, especially on inserts. There is a performance hit on the first time the query is put

[cfaussie] Re: @#$!! queryparam

2007-03-01 Thread Duncan
To: cfaussie@googlegroups.com Subject: [cfaussie] Re: @#$!! queryparam Duncan, The query is only cached when you tell it to be cached. But are you using any other framework like reactor or transfer or even MG:U, or even have this in a cfc that might be stored in a session or application scope. One