Click here to Skip to main content
15,888,454 members
Home / Discussions / Database
   

Database

 
QuestionCoding efficiency question Pin
Vodstok24-Feb-06 9:42
Vodstok24-Feb-06 9:42 
AnswerRe: Coding efficiency question Pin
Expert Coming24-Feb-06 10:05
Expert Coming24-Feb-06 10:05 
GeneralRe: Coding efficiency question Pin
Vodstok27-Feb-06 2:24
Vodstok27-Feb-06 2:24 
GeneralRe: Coding efficiency question Pin
Andy Brummer27-Feb-06 18:53
sitebuilderAndy Brummer27-Feb-06 18:53 
AnswerRe: Coding efficiency question Pin
Andy Brummer27-Feb-06 18:56
sitebuilderAndy Brummer27-Feb-06 18:56 
GeneralRe: Coding efficiency question Pin
Vodstok28-Feb-06 1:44
Vodstok28-Feb-06 1:44 
QuestionSQL+C# Pin
papa198024-Feb-06 7:16
papa198024-Feb-06 7:16 
AnswerRe: SQL+C# Pin
Colin Angus Mackay24-Feb-06 16:52
Colin Angus Mackay24-Feb-06 16:52 
Yes, you can put multiple INSERT statements into a stored procedure. You can then put a BEGIN TRANSACTION before the first INSERT statement, after each INSERT check for an error, if there is an error then ROLLBACK TRANSACTION and exit the stored procedure. If there is no error then at the end of the stored procedure COMMIT TRANSACTION.

ColinMackay.net
Scottish Developers are looking for speakers for user group sessions over the next few months. Do you want to know more?

GeneralRe: SQL+C# Pin
papa198026-Feb-06 22:25
papa198026-Feb-06 22:25 
GeneralRe: SQL+C# Pin
Colin Angus Mackay26-Feb-06 22:34
Colin Angus Mackay26-Feb-06 22:34 
GeneralRe: SQL+C# Pin
papa198027-Feb-06 0:41
papa198027-Feb-06 0:41 
Questionadding rows is access database file Pin
iramg24-Feb-06 3:44
iramg24-Feb-06 3:44 
AnswerRe: adding rows is access database file Pin
papa198024-Feb-06 4:37
papa198024-Feb-06 4:37 
GeneralRe: adding rows is access database file Pin
iramg24-Feb-06 4:42
iramg24-Feb-06 4:42 
AnswerRe: adding rows is access database file Pin
Seivan25-Feb-06 2:28
Seivan25-Feb-06 2:28 
QuestionWork with var Pin
papa198024-Feb-06 1:37
papa198024-Feb-06 1:37 
AnswerRe: Work with var Pin
Colin Angus Mackay24-Feb-06 1:53
Colin Angus Mackay24-Feb-06 1:53 
GeneralRe: Work with var Pin
papa198024-Feb-06 2:12
papa198024-Feb-06 2:12 
GeneralRe: Work with var Pin
Colin Angus Mackay24-Feb-06 2:14
Colin Angus Mackay24-Feb-06 2:14 
GeneralRe: Work with var Pin
goyal manish24-Feb-06 2:44
goyal manish24-Feb-06 2:44 
GeneralRe: Work with var Pin
papa198024-Feb-06 4:42
papa198024-Feb-06 4:42 
QuestionRequest from beginer? Pin
papa198024-Feb-06 0:56
papa198024-Feb-06 0:56 
AnswerRe: Request from beginer? Pin
goyal manish24-Feb-06 2:51
goyal manish24-Feb-06 2:51 
Questionhelp with data update strategy Pin
ekynox23-Feb-06 23:00
ekynox23-Feb-06 23:00 
AnswerRe: help with data update strategy Pin
Mike Ellison24-Feb-06 6:38
Mike Ellison24-Feb-06 6:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.