A
AnikSol
Hi All,
Not sure if this is the right forum to post this!
VB 2005 Prof, SQL server 2005, Windows application
Scenario: In a winform application, using SQL server authentication method
(not windows authentication), we have a text/binary file containing multiple
SQL statements (insert,update,delete commands) for multiple tables.
From the Winform , we need to create a process wherein we process this file
and update the database.
In case of a failure to process any sql statement in the middle of this file
(for whatsoever may be the reason , possibility is remote but should not be
excluded), then all the transaction need to be rolled back - meaning the
database state should be same as before we started the processing of this
file.
Query: What is the best method to carryout this functionality without using
DTS. Ofcourse, this process should be executed from a winform and from a
client machine.
Thanks.
Not sure if this is the right forum to post this!
VB 2005 Prof, SQL server 2005, Windows application
Scenario: In a winform application, using SQL server authentication method
(not windows authentication), we have a text/binary file containing multiple
SQL statements (insert,update,delete commands) for multiple tables.
From the Winform , we need to create a process wherein we process this file
and update the database.
In case of a failure to process any sql statement in the middle of this file
(for whatsoever may be the reason , possibility is remote but should not be
excluded), then all the transaction need to be rolled back - meaning the
database state should be same as before we started the processing of this
file.
Query: What is the best method to carryout this functionality without using
DTS. Ofcourse, this process should be executed from a winform and from a
client machine.
Thanks.