Re: ADO and MetaData
- From: "Michael Fox" <michael@xxxxxxxxxxxxxxxxx>
- Date: Tue, 11 Jul 2006 10:37:01 +1000
"Vitali Kalinin" wrote
If I am understand you correctly you are doing this:My sp's are not written to rollback if they have empty parameters. It is
1. Start tran
2. Populate SQL
3. Fill params
4. Execute query
5. Commit Tran
And yours sp doing rollback if it is called with empty params (which IMHO
is wrong).
If this is the case I am suggecting you to rearrange logic like this:
1. Populate SQL
2. Fill params
3. Start tran
4. Execute query
5. Commit Tran
just that the inserts and updates are not happening. I will investigate the
start tran and commit tran placings as you suggested.
.
- References:
- ADO and MetaData
- From: Michael Fox
- Re: ADO and MetaData
- From: Vitali Kalinin
- ADO and MetaData
- Prev by Date: Re: ADO and MetaData
- Next by Date: Re: Why isn't ADOExpress throwing an exception on error?
- Previous by thread: Re: ADO and MetaData
- Index(es):
Relevant Pages
|