Transaction

I am using 2 stored procedure in my asp application. in my asp page i execute 2 stored .. their works depend on each other. i want to apply a transaction on these. must i apply it in stored procedure or in asp page.. any example or any link. can u help me about transactions.

View Replies


ADVERTISEMENT

ASP Transaction()

I am trying to find out if Access is capable of utilizing the transaction function of ASP. I have seen differing points of view online and am looking for clarification
I have 2 inserts that run. If the second fails (for whatever the reason), the first should be rolled back.I have to use Access - is this the way to go or is there another option?

View Replies View Related

Transaction DDL Values

I'm trying to determine if I can use transactions in my ASP applciation against one of our Oracle 9i databases. My WROX manual says I can do this if the Transaction DDL property of my connection object is equal to 8. I've checked my connection properties with the following script and determined that my Transaction DDL property is 2

'============================================
Set conn = Server.CreateObject("ADODB.Connection"
conn.open Session("PROVIDER")

For Each Item In Conn.Propertie
response.write Item.Name & " = " & Item & "<br>
Nex
'============================================

But what is 2? MSDN (http://msdn.microsoft.com/library/d...oprg04_83jt.asp) says there are a number of possible vaues for Transaction DDL such as

DBPROPVAL_TC_NON
DBPROPVAL_TC_DM
DBPROPVAL_TC_DDL_COMMI
DBPROPVAL_TC_DDL_IGNOR
DBPROPVAL_TC_DDL_LOC
DBPROPVAL_TC_AL

But which one relates to value 2

View Replies View Related

Transaction OR Locks

I have problem i need to carry out a transaction on a ASP page... the page goes like this:

<%

Conn.execute (Sql) ' Where the Sql Gets the Set_Number froom Table1

Conn1.execute(Sql1) ' here the Sql1 inserts the Value (Set_Number + 1 ) 'into the Table2.

%>

This page should be Executed as a transaction or else please help me out how to lock tables so that no other person can execute the same page with same data simultaniously...

I dont use any components in this page..so now how to go about with this...????

View Replies View Related

Atomic Transaction

In asp.net, there is an object sqltransaction we can use to garantee the
data will be written to database either completely or none will be written
into database.

I am not sure if there is a similar thing I can use in classical asp.
Can you provide some info

View Replies View Related

ASP Access Transaction Log

I have an access database for a hotel room list which includes how many rooms I have available for each hotel. This list is updated via a form that updates the database, either adding or removing rooms. The database is on the server and is accessible by four employees, each of whom can update the hotel room number as they sell them.

The hotel rooms are in a table and this table is updated and records who updated it last by overwriting the previous update entry. I want to create a log file that records ALL updates each time the form is submitted, so I can track all transactions. I have not found any info on how this is done. Do I need to create a secondary table that only records when the form is submitted and database is updated?

View Replies View Related

MS Transaction Server

I have builded a web site that performs db queries and insert records, and I'm getting a overwhelmed amount of hits. Which was good but it created a big problem. I ran out of db connection licenses, because the way I did it, it opens/close a new db connection for every db action.

I read something about opening the db connection at the application level but most people think that's a bad idea.So I tried looking into MS Transaction Server but I don't know where to begin. I need to know how I could use it and how I could set the # of db connection allow.

View Replies View Related

1 Transaction At A Time

I have a Bill table (tblBill) and there is a running bill number being stored for each transaction (1001,1002,1003...). This running number is not from mssql identities.Currently i am using "SELECT MAX (billnumber) FROM tblBill" and + 1 to get the following running number and store the next transaction.

This method works well if each transaction execute one at a time. Now i am having problem when there is more user executing the transaction concurrently. Sometime i will have 2 different transaction with the same bill number.How do i control so that a transaction will only execute at a time or using my method above is just rubbish? I am hopping this to be solve in ASP rather than in MSSQL.

View Replies View Related

MySQL Transaction

I looked everywhere, but I can't seem to find an example of a transaction in MySQL using asp. I need an example of the following:

1. Add a record to a table
2. retreive the last inserted id
3.add to a second table

these steps have to be in a transaction. so I would need to check for errors too.

View Replies View Related

Transaction DDL Properties

According to Access my ADO connection has a value of 16 for the Transaction DDL property. Does anyone know what this equates to? I've found this page -

http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/adosql/adoprg04_83jt.asp

But it doesn't tell me which constant this relates too, and I haven't been able to find an answer at Google either.

View Replies View Related

Authorize.net Transaction

if it is possible to do recurring billing to Authorize.net using ASP Classic. I have no problem doing one time transactions.

View Replies View Related

Transaction, Commits And Rollbacks - HOW TO

how can I apply transaction, commits and rollbacks to a lot of inserts in one script?

View Replies View Related

Build Secure Money Transaction

I want to know,

. Operation Behind the Online Money Transaction.
. If Once The client paid the money,
. How is it validated..( Credit Card)
. Also how Can the Admin of the Site will get the Money from the User.

View Replies View Related

Transaction Aborts On Alternate Identical Attempts

I have a page that uploads an xml file and reads it into a SQL database. The
page is transactional and aborts if there are any anomalies in the xml.

My problem is that the if I repeat an identical import the transaction
succeeds the first time and then fails the next time. This pattern continues
with subsequent repeats. I have removed all of the ObjectContext.setAbort()
calls but still the onTransactionAbort() sub is called.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved