 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Predrag Cabarkapa Guest
|
Posted: Fri May 07, 2004 6:02 pm Post subject: Re:rollback |
|
|
Hi,
try this :
with query1 do
begin
sql.add('begin transaction');
sql.add('exec sp_name param_1,...,param_n')
sql.add('insert table1 (a1 )values (''asdfghj2'')');
sql.add('rollback transaction');
execsql;
sql.Clear;
sql.Add('select * from table1');
open;
first;
end;
best regards
Predrag Cabarkapa
e-mail:
[email]zcharlie54 (AT) hotmail (DOT) com[/email]
[email]zcharlie65 (AT) neobee (DOT) net[/email]
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|