Ask a Question related to Macromedia ColdFusion, Design and Development.
-
Netopole #1
cftransaction question
Hi there ! Let's say i have a first query which inserts a new row in a table,
then a second query (myquery) trying to get the id of the inserted row (with a
select max(id) as myid). Obviously, i will put that into a cftransaction tag so
i'm sure to get the proper id. But now, i add a cfset myvar = myquery.myid.
Should the cfset be inside the cftransaction, or outside ? Does it make any
differences ? Thanx for you inputs. Best regards,
Netopole Guest
-
cftransaction
I have a question about CFTRANSACTION. We are currently using CF6.0 with various versions of Oracle and SQL Server. In our server settings we do... -
CFtransaction error
I'm getting the following error: Nested transactions are not supported. A cftransaction tag can not be nested within another cftransaction tag. ... -
using cftransaction with queries
Hi, If cfquery fails, how can cftransaction recognise this? If a query fails I need to roll it back. Thanks -
CFTRANSACTION w/ ROLLBACK
Here's what I'm trying to do, this worked in CF 5, but bombs with the following error in CFMX 6: The <CFCATCH> tag requires an end tag to nest... -
is this possible - cftransaction
I don't want to get into the whole 'users shouldn't have access to the db' discussion. It's a battle that's been lost. We are looking at... -
OldCFer #2
Re: cftransaction question
It can be outside, since myquery.myid are ColdFusion results which were retrieved
inside the cftransaction tag. Once the result set is returned, you no longer care
what DB changes occur.
OldCFer Guest
-
Netopole #3
Re: cftransaction question
Thanx, that's what i thought, but i wanted to make sure.
Netopole Guest



Reply With Quote

