Click here to Skip to main content
15,890,579 members
Home / Discussions / Database
   

Database

 
AnswerRe: insert_update Stored procedure and return Identity value Pin
Ben Fair7-Nov-08 2:17
Ben Fair7-Nov-08 2:17 
GeneralRe: insert_update Stored procedure and return Identity value Pin
wajans7-Nov-08 2:55
wajans7-Nov-08 2:55 
QuestionAtomic Sql Statements (Transaction) Pin
Meysam Mahfouzi5-Nov-08 4:41
Meysam Mahfouzi5-Nov-08 4:41 
AnswerRe: Atomic Sql Statements (Transaction) Pin
J4amieC5-Nov-08 4:46
J4amieC5-Nov-08 4:46 
GeneralRe: Atomic Sql Statements (Transaction) Pin
Meysam Mahfouzi5-Nov-08 4:50
Meysam Mahfouzi5-Nov-08 4:50 
AnswerRe: Atomic Sql Statements (Transaction) Pin
Meysam Mahfouzi5-Nov-08 4:48
Meysam Mahfouzi5-Nov-08 4:48 
AnswerRe: Atomic Sql Statements (Transaction) Pin
Wendelius5-Nov-08 8:04
mentorWendelius5-Nov-08 8:04 
GeneralRe: Atomic Sql Statements (Transaction) Pin
PIEBALDconsult5-Nov-08 13:33
mvePIEBALDconsult5-Nov-08 13:33 
Re: your point 1

The only time I've written stored procedures was when I was using ad hoc ODBC statements (about ten years ago) and had no other way to do transactions.

Currently, with ADO.net, I can do transactions in my program so I don't use stored procedures at all.

However, a properly designed system of stored procedures should provide everything the application needs, including transactioning.
The application shouldn't need to know about the details of the schema and what the stored procedures are doing, and therefore should be able to just execute the stored procedures without thought to whether or not to use transactions.
GeneralRe: Atomic Sql Statements (Transaction) Pin
Wendelius6-Nov-08 7:39
mentorWendelius6-Nov-08 7:39 
GeneralRe: Atomic Sql Statements (Transaction) Pin
PIEBALDconsult6-Nov-08 11:27
mvePIEBALDconsult6-Nov-08 11:27 
GeneralRe: Atomic Sql Statements (Transaction) Pin
Wendelius7-Nov-08 6:36
mentorWendelius7-Nov-08 6:36 
Questionsql server 2005 query xml datatype fields Pin
arkiboys5-Nov-08 2:55
arkiboys5-Nov-08 2:55 
AnswerRe: sql server 2005 query xml datatype fields Pin
Wendelius5-Nov-08 10:33
mentorWendelius5-Nov-08 10:33 
GeneralRe: sql server 2005 query xml datatype fields Pin
arkiboys5-Nov-08 10:54
arkiboys5-Nov-08 10:54 
GeneralRe: sql server 2005 query xml datatype fields Pin
Wendelius5-Nov-08 11:13
mentorWendelius5-Nov-08 11:13 
GeneralRe: sql server 2005 query xml datatype fields Pin
arkiboys6-Nov-08 1:50
arkiboys6-Nov-08 1:50 
GeneralRe: sql server 2005 query xml datatype fields Pin
Wendelius6-Nov-08 7:06
mentorWendelius6-Nov-08 7:06 
Questiontransfering data fro one table to another Pin
prasadbuddhika5-Nov-08 1:07
prasadbuddhika5-Nov-08 1:07 
AnswerRe: transfering data fro one table to another Pin
Ashfield5-Nov-08 1:34
Ashfield5-Nov-08 1:34 
GeneralRe: transfering data fro one table to another Pin
prasadbuddhika5-Nov-08 16:08
prasadbuddhika5-Nov-08 16:08 
GeneralRe: transfering data fro one table to another Pin
Ashfield5-Nov-08 21:01
Ashfield5-Nov-08 21:01 
GeneralRe: transfering data fro one table to another Pin
Muditha Dissanayake6-Nov-08 4:39
Muditha Dissanayake6-Nov-08 4:39 
Questionwhere can i find the northwind sql script Pin
prasadbuddhika4-Nov-08 23:58
prasadbuddhika4-Nov-08 23:58 
AnswerRe: where can i find the northwind sql script Pin
cyber-drugs5-Nov-08 0:12
cyber-drugs5-Nov-08 0:12 
GeneralRe: where can i find the northwind sql script Pin
prasadbuddhika5-Nov-08 0:34
prasadbuddhika5-Nov-08 0:34 

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.