How can I insert values into two tables at once? if it not successful, both table should rollback.
I am using SQL server and the query passe throw C# code.
get ans here of ur question
SQL Server: Is it possible to insert into two tables at the same time?
How can I INSERT data into two tables simultaneously in SQL Server?