Click here to Skip to main content
15,879,535 members
Home / Discussions / Database
   

Database

 
AnswerRe: string concadination in sql query [modified] Pin
Blue_Boy17-May-11 21:02
Blue_Boy17-May-11 21:02 
AnswerRe: string concadination in sql query Pin
Pete O'Hanlon17-May-11 21:03
mvePete O'Hanlon17-May-11 21:03 
AnswerRe: string concadination in sql query Pin
Ra-one17-May-11 21:04
Ra-one17-May-11 21:04 
AnswerRe: string concadination in sql query Pin
Shameel18-May-11 0:43
professionalShameel18-May-11 0:43 
QuestionSQL Server. Insert into table whiles querying Pin
Eli Nurman16-May-11 19:05
Eli Nurman16-May-11 19:05 
AnswerRe: SQL Server. Insert into table whiles querying Pin
Gerben Jongerius16-May-11 20:05
Gerben Jongerius16-May-11 20:05 
GeneralRe: SQL Server. Insert into table whiles querying Pin
Eli Nurman17-May-11 0:21
Eli Nurman17-May-11 0:21 
GeneralRe: SQL Server. Insert into table whiles querying Pin
Gerben Jongerius17-May-11 3:22
Gerben Jongerius17-May-11 3:22 
Like I stated the nolock is a hint given to the database, and the database server might choose to ignore it. From what I know, for at least for MS SQL, is that the nolock should solve the issue. But you could try to combine it with a ROWLOCK or PAGELOCK instruction for the insert statement, see locking hints for more on this.

Keep in mind that large sets of indexes could also cause the locking you are experiencing, as an insert will update the index and could trigger a re-index.
AnswerRe: SQL Server. Insert into table whiles querying Pin
Luc Pattyn16-May-11 22:59
sitebuilderLuc Pattyn16-May-11 22:59 
GeneralRe: SQL Server. Insert into table whiles querying Pin
Eli Nurman17-May-11 0:23
Eli Nurman17-May-11 0:23 
AnswerRe: SQL Server. Insert into table whiles querying Pin
Luc Pattyn17-May-11 0:30
sitebuilderLuc Pattyn17-May-11 0:30 
AnswerRe: SQL Server. Insert into table whiles querying Pin
PIEBALDconsult17-May-11 2:57
mvePIEBALDconsult17-May-11 2:57 
GeneralRe: SQL Server. Insert into table whiles querying Pin
David Mujica17-May-11 9:04
David Mujica17-May-11 9:04 
AnswerRe: SQL Server. Insert into table whiles querying Pin
SilimSayo17-May-11 3:07
SilimSayo17-May-11 3:07 
AnswerRe: SQL Server. Insert into table whiles querying Pin
Shameel17-May-11 5:04
professionalShameel17-May-11 5:04 
AnswerRe: SQL Server. Insert into table whiles querying Pin
S Douglas8-Jun-11 5:52
professionalS Douglas8-Jun-11 5:52 
QuestionAdding Columns to derived table vs temp table Pin
MAW3016-May-11 13:53
MAW3016-May-11 13:53 
AnswerRe: Adding Columns to derived table vs temp table Pin
loveangel88816-May-11 18:03
loveangel88816-May-11 18:03 
AnswerRe: Adding Columns to derived table vs temp table Pin
SilimSayo17-May-11 5:00
SilimSayo17-May-11 5:00 
QuestionRelation Theory Pin
bfis10813716-May-11 4:16
bfis10813716-May-11 4:16 
AnswerRe: Relation Theory Pin
SilimSayo16-May-11 6:18
SilimSayo16-May-11 6:18 
AnswerRe: Relation Theory Pin
Shameel17-May-11 4:32
professionalShameel17-May-11 4:32 
Questionmembers db or table? Pin
Jassim Rahma15-May-11 2:13
Jassim Rahma15-May-11 2:13 
AnswerRe: members db or table? Pin
dasblinkenlight15-May-11 22:54
dasblinkenlight15-May-11 22:54 
GeneralRe: members db or table? Pin
Jassim Rahma16-May-11 3:41
Jassim Rahma16-May-11 3:41 

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.