Click here to Skip to main content
15,903,388 members
Home / Discussions / Database
   

Database

 
GeneralRe: inserting multiple rows Pin
arun_pk30-Nov-09 18:52
arun_pk30-Nov-09 18:52 
GeneralRe: inserting multiple rows Pin
_Damian S_30-Nov-09 18:54
professional_Damian S_30-Nov-09 18:54 
GeneralRe: inserting multiple rows Pin
dan!sh 30-Nov-09 19:02
professional dan!sh 30-Nov-09 19:02 
AnswerRe: inserting multiple rows Pin
Niladri_Biswas30-Nov-09 20:06
Niladri_Biswas30-Nov-09 20:06 
GeneralRe: inserting multiple rows Pin
arun_pk30-Nov-09 20:51
arun_pk30-Nov-09 20:51 
QuestionHow do I bulk insert a datastream online? Pin
James Shao30-Nov-09 14:20
James Shao30-Nov-09 14:20 
AnswerRe: How do I bulk insert a datastream online? Pin
T210230-Nov-09 16:36
T210230-Nov-09 16:36 
QuestionNeed help with strange behavior of SQL Server Express Pin
James Shao30-Nov-09 13:24
James Shao30-Nov-09 13:24 
AnswerRe: Need help with strange behavior of SQL Server Express Pin
T210230-Nov-09 16:34
T210230-Nov-09 16:34 
GeneralRe: Need help with strange behavior of SQL Server Express Pin
James Shao30-Nov-09 20:33
James Shao30-Nov-09 20:33 
Questioncomparing tables in SQL 2008 Pin
AndyInUK30-Nov-09 6:38
AndyInUK30-Nov-09 6:38 
AnswerRe: comparing tables in SQL 2008 Pin
David Mujica30-Nov-09 8:11
David Mujica30-Nov-09 8:11 
QuestionIs it possible to update a table concurrently? (using SQL Server 2008) Pin
Rafferty Uy29-Nov-09 23:01
Rafferty Uy29-Nov-09 23:01 
AnswerRe: Is it possible to update a table concurrently? (using SQL Server 2008) Pin
Ashfield29-Nov-09 23:09
Ashfield29-Nov-09 23:09 
GeneralRe: Is it possible to update a table concurrently? (using SQL Server 2008) Pin
Rafferty Uy29-Nov-09 23:16
Rafferty Uy29-Nov-09 23:16 
GeneralRe: Is it possible to update a table concurrently? (using SQL Server 2008) Pin
Ashfield30-Nov-09 0:10
Ashfield30-Nov-09 0:10 
GeneralRe: Is it possible to update a table concurrently? (using SQL Server 2008) Pin
Rafferty Uy6-Dec-09 15:36
Rafferty Uy6-Dec-09 15:36 
GeneralRe: Is it possible to update a table concurrently? (using SQL Server 2008) Pin
Ashfield6-Dec-09 21:01
Ashfield6-Dec-09 21:01 
GeneralRe: Is it possible to update a table concurrently? (using SQL Server 2008) Pin
Rafferty Uy6-Dec-09 21:11
Rafferty Uy6-Dec-09 21:11 
AnswerRe: Is it possible to update a table concurrently? (using SQL Server 2008) Pin
T210230-Nov-09 1:01
T210230-Nov-09 1:01 
AnswerBuild a "Bulk Update" indicator Pin
David Mujica30-Nov-09 3:34
David Mujica30-Nov-09 3:34 
AnswerRe: Is it possible to update a table concurrently? (using SQL Server 2008) Pin
The Man from U.N.C.L.E.30-Nov-09 7:40
The Man from U.N.C.L.E.30-Nov-09 7:40 
All depends how optimistic you want to be.

If you perform the updates using the (RowLock) hint it may restrict the locking. Though a half hour transaction will still end up locking everything in sight until it is done,

The only other thing would be to run your selects using the (NoLock) hint, with the corresponding risk that you will read some updated data that will later get rolled back and so have never existed.

What is more important, stopping the locking, or getting guaranteed data? Your choice.

Having said that Unless I have guaranteed single user access to a database, such as in an overnight job, there is no way I would allow any transaction to lock records for more than a few milliseconds. In my experience, if the Application hangs for half an hour waiting for database access the end users will buy a new system.

If you have knowledge, let others light their candles at it.
Margaret Fuller (1810 - 1850)
[My Articles]  [My Website]

AnswerRe: Is it possible to update a table concurrently? (using SQL Server 2008) Pin
Rafferty Uy30-Nov-09 15:12
Rafferty Uy30-Nov-09 15:12 
AnswerNow the web server (instead of the SQL server) is slow Pin
Rafferty Uy10-Dec-09 15:47
Rafferty Uy10-Dec-09 15:47 
QuestionDisplay Message while using Stored procedure Pin
kankeyan29-Nov-09 21:13
kankeyan29-Nov-09 21:13 

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.