Click here to Skip to main content
15,899,475 members
Home / Discussions / Database
   

Database

 
AnswerRe: How can i get max Point and Min Date using SQL Pin
WoutL19-May-08 21:32
WoutL19-May-08 21:32 
GeneralRe: How can i get max Point and Min Date using SQL Pin
mangrovecm20-May-08 3:52
mangrovecm20-May-08 3:52 
GeneralRe: How can i get max Point and Min Date using SQL Pin
WoutL20-May-08 20:02
WoutL20-May-08 20:02 
QuestionQuery Help Pin
Hulicat19-May-08 13:17
Hulicat19-May-08 13:17 
AnswerRe: Query Help Pin
Blue_Boy19-May-08 21:51
Blue_Boy19-May-08 21:51 
GeneralRe: Query Help Pin
Hulicat20-May-08 3:50
Hulicat20-May-08 3:50 
GeneralRe: Query Help Pin
Blue_Boy20-May-08 4:03
Blue_Boy20-May-08 4:03 
QuestionTransaction question Pin
kensai19-May-08 5:17
kensai19-May-08 5:17 
I need your opinions about using transactions with Sql Server. I need to insert data to three tables and if anything fails I need to delete all inserted data. So I'm going to use transactions but I don't know where I should use it. I have three stored procedures for the job and I use typed DataSet in my application.

First option is use SqlTransaction and call three sproc in scope using QueriesTableAdapter. The problem is I'm not sure if this can rollback if anything fails.

Second option is don't do anything in application. Call a fourth sproc with all data and use transaction in that sproc and call all three sprocs using exec etc. Also the problem with this is the same, I don't know if it'll rollback using it like this.

What do you think? I appreciate any opinions.
AnswerRe: Transaction question Pin
J4amieC19-May-08 5:39
J4amieC19-May-08 5:39 
GeneralRe: Transaction question Pin
kensai19-May-08 5:52
kensai19-May-08 5:52 
QuestionOne more thing Pin
kensai19-May-08 6:44
kensai19-May-08 6:44 
QuestionHow to read an database table step by step (with ADO) Pin
harry7988019-May-08 3:35
harry7988019-May-08 3:35 
AnswerRe: How to read an database table step by step (with ADO) Pin
Adeel Chaudhry19-May-08 5:48
Adeel Chaudhry19-May-08 5:48 
AnswerRe: How to read an database table step by step (with ADO) Pin
Mycroft Holmes19-May-08 23:29
professionalMycroft Holmes19-May-08 23:29 
QuestionAppending the value with NULL value Pin
Revathij19-May-08 2:40
Revathij19-May-08 2:40 
AnswerRe: Appending the value with NULL value Pin
J4amieC19-May-08 3:14
J4amieC19-May-08 3:14 
Questionwhat is the use of indexes , when i creating table it already creating one index.......... Pin
Shaik Haneef19-May-08 0:52
Shaik Haneef19-May-08 0:52 
AnswerRe: what is the use of indexes , when i creating table it already creating one index.......... Pin
J4amieC19-May-08 1:22
J4amieC19-May-08 1:22 
AnswerRe: what is the use of indexes , when i creating table it already creating one index.......... [modified] Pin
Vinay Dornala19-May-08 19:31
Vinay Dornala19-May-08 19:31 
QuestionUpdate the value with a value in the table Pin
Revathij18-May-08 22:21
Revathij18-May-08 22:21 
AnswerRe: Update the value with a value in the table Pin
Alsvha18-May-08 22:44
Alsvha18-May-08 22:44 
GeneralRe: Update the value with a value in the table Pin
Revathij18-May-08 23:15
Revathij18-May-08 23:15 
QuestionHow can save List in MS-Access Database? Pin
Le@rner18-May-08 22:02
Le@rner18-May-08 22:02 
QuestionGet unique value in INNER JOIN in SQL server 2005 query Pin
salon18-May-08 20:49
salon18-May-08 20:49 
AnswerRe: Get unique value in INNER JOIN in SQL server 2005 query Pin
Alsvha18-May-08 20:54
Alsvha18-May-08 20:54 

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.