Click here to Skip to main content
15,922,650 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL Query for Excel file Pin
Swisher2430-Aug-07 4:00
Swisher2430-Aug-07 4:00 
Questiondata access Pin
Masoumeh...29-Aug-07 4:44
Masoumeh...29-Aug-07 4:44 
Questionhow to pass the output parameter while execute the stored procedure Pin
aprasy29-Aug-07 0:32
aprasy29-Aug-07 0:32 
AnswerRe: how to pass the output parameter while execute the stored procedure Pin
Rami Said Abd Alhalim29-Aug-07 3:54
Rami Said Abd Alhalim29-Aug-07 3:54 
AnswerRe: how to pass the output parameter while execute the stored procedure Pin
Rami Said Abd Alhalim29-Aug-07 3:57
Rami Said Abd Alhalim29-Aug-07 3:57 
GeneralRe: how to pass the output parameter while execute the stored procedure Pin
aprasy29-Aug-07 9:28
aprasy29-Aug-07 9:28 
QuestionSimultaneous access to DB Pin
blackjack215029-Aug-07 0:30
blackjack215029-Aug-07 0:30 
AnswerRe: Simultaneous access to DB Pin
Colin Angus Mackay29-Aug-07 2:21
Colin Angus Mackay29-Aug-07 2:21 
blackjack2150 wrote:
Any idea what happens if multiple instances of an application try to insert records into the same table of a database at the same time?
Will all of them succeed? Will only the first one to come be allowed to do it?
Is there any chance to screw up the database?


In answer to your questions:
Yes.
Maybe
Maybe
Yes

If multiple inserts are performed at the same time the first will lock the table and the others will wait for access.

If the update is quick enough all will succeed. If the update operation takes too long some INSERTs may fail becuase they timed out.

And there is the opportunity to screw up the database. If you update the same bits of data in different ways only the last update will persist as it overwrites the previous updates. This may not be what you want.


Upcoming FREE developer events:
* Glasgow: Agile in the Enterprise Vs. ISVs, db4o: An Embeddable Database Engine for Object-Oriented Environments, Mock Objects, SQL Server CLR Integration, Reporting Services ...

My website

GeneralRe: Simultaneous access to DB Pin
blackjack215029-Aug-07 2:43
blackjack215029-Aug-07 2:43 
QuestionWhat data type is case sensitive? Pin
Big Ralph29-Aug-07 0:28
Big Ralph29-Aug-07 0:28 
AnswerRe: What data type is case sensitive? Pin
Colin Angus Mackay29-Aug-07 2:17
Colin Angus Mackay29-Aug-07 2:17 
GeneralRe: What data type is case sensitive? Pin
Big Ralph29-Aug-07 3:28
Big Ralph29-Aug-07 3:28 
GeneralRe: What data type is case sensitive? Pin
Rami Said Abd Alhalim29-Aug-07 4:03
Rami Said Abd Alhalim29-Aug-07 4:03 
GeneralRe: What data type is case sensitive? Pin
Big Ralph29-Aug-07 4:46
Big Ralph29-Aug-07 4:46 
GeneralRe: What data type is case sensitive? Pin
Colin Angus Mackay29-Aug-07 10:03
Colin Angus Mackay29-Aug-07 10:03 
JokeRe: What data type is case sensitive? Pin
Pete O'Hanlon29-Aug-07 10:23
mvePete O'Hanlon29-Aug-07 10:23 
AnswerRe: What data type is case sensitive? Pin
Pete O'Hanlon29-Aug-07 10:25
mvePete O'Hanlon29-Aug-07 10:25 
Questionwhat is the data type that is case sensiteive in SQL 2005 Pin
Big Ralph28-Aug-07 21:22
Big Ralph28-Aug-07 21:22 
AnswerRe: what is the data type that is case sensiteive in SQL 2005 Pin
SHatchard28-Aug-07 21:43
SHatchard28-Aug-07 21:43 
GeneralRe: what is the data type that is case sensiteive in SQL 2005 Pin
Big Ralph28-Aug-07 23:17
Big Ralph28-Aug-07 23:17 
Questiondatatime format problem. Pin
david bagaturia28-Aug-07 20:56
david bagaturia28-Aug-07 20:56 
AnswerRe: datatime format problem. Pin
Rami Said Abd Alhalim29-Aug-07 4:40
Rami Said Abd Alhalim29-Aug-07 4:40 
AnswerRe: datatime format problem. Pin
Masoumeh...29-Aug-07 4:50
Masoumeh...29-Aug-07 4:50 
AnswerRe: datatime format problem. Pin
shivvish30-Aug-07 22:48
shivvish30-Aug-07 22:48 
QuestionFrom Microsoft Access to MS SQL Server 2005 Pin
Bonsta28-Aug-07 20:24
Bonsta28-Aug-07 20:24 

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.