hmm, I have never really successully managed to get real complex SQL in cfquery to work without error hence why we use SP's for nearly everything vaguely complex.
Couldnt you just create a query on the fly and use that? -----Original Message----- From: Tim Blair [mailto:[EMAIL PROTECTED] Sent: 08 July 2003 14:03 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] OT: SQL counter > it wont, the are seperate actions in SQL - it looks like a > job for an SP but if you are using mySQL then your up shit creek Fairy nuff, I just remember reading somewhere about putting multiple SQL statements in one <cfquery> block. Maybe I imagined it. :o\ So yes, U.S.C as you say, unless we do them in separate queries and hope nothing gets "in the way" of the two running... :o\ Actually, that probably won't matter -- as long as the count goes up (which it will) then we can order on that etc... Ho hum. Cheers, Tim. ------------------------------------------------------- RAWNET LTD - Internet, New Media and ebusiness Gurus. Visit our new website at http://www.rawnet.com for more information about our company, or call us free anytime on 0800 294 24 24. ------------------------------------------------------- Tim Blair Web Application Engineer, Rawnet Limited Direct Phone : +44 (0) 1344 393 441 Switchboard : +44 (0) 1344 393 040 ------------------------------------------------------- This message may contain information which is legally privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any unauthorised disclosure, copying, distribution or use of this information is strictly prohibited. Such notification notwithstanding, any comments, opinions, information or conclusions expressed in this message are those of the originator, not of rawnet limited, unless otherwise explicitly and independently indicated by an authorised representative of rawnet limited. ------------------------------------------------------- -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
