Click here to Skip to main content
15,884,629 members
Home / Discussions / Database
   

Database

 
QuestionMonth and Year Pin
trilokharry16-Jun-08 19:07
trilokharry16-Jun-08 19:07 
AnswerRe: Month and Year Pin
Alsvha16-Jun-08 19:54
Alsvha16-Jun-08 19:54 
GeneralRe: Month and Year Pin
trilokharry16-Jun-08 20:41
trilokharry16-Jun-08 20:41 
QuestionHow to search word starting with character 'a' Sql Full Text Indexing Pin
abhinish16-Jun-08 2:12
abhinish16-Jun-08 2:12 
AnswerRe: How to search word starting with character 'a' Sql Full Text Indexing Pin
SomeGuyThatIsMe16-Jun-08 7:44
SomeGuyThatIsMe16-Jun-08 7:44 
Questionsql query help Pin
csp16-Jun-08 0:42
csp16-Jun-08 0:42 
AnswerRe: sql query help Pin
A Wong16-Jun-08 2:46
A Wong16-Jun-08 2:46 
QuestionSP Transaction isolation level locking SQL 2005 [modified] Pin
pmpdesign15-Jun-08 21:56
pmpdesign15-Jun-08 21:56 
I'm having a locking issue I think.
Rather than post a whole heap of code, here is basically what I'm trying:

Begin trans
Insert <stuff> into table1

Insert <stuff> into table2

Insert into table3 select <stuff> from table1, table2, table3 plus a few other unmodified tables.
Commit trans

Basically what seems to be happening is that the select on 3rd statement returns no records (because they are locked). After committing, same select returns exactly what it should.

I could probably do this with several non-nested transactions, but that kind of defeats the purpose of the transaction.

I have tried SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED before and during the main trans. Also tried wrapping the first two inserts in begin / commit and SELECT FROM WITH(NOLOCK).

Have googled nolock and also TRANSACTION ISOLATION LEVEL but not really come up with anything useful.

Does anyone have any ideas or can point me in the direction of a URL with some information please?

modified on Monday, June 16, 2008 4:33 AM

AnswerRe: SP Transaction isolation level locking SQL 2005 Pin
Alsvha16-Jun-08 2:21
Alsvha16-Jun-08 2:21 
GeneralRe: SP Transaction isolation level locking SQL 2005 Pin
Ashfield16-Jun-08 4:27
Ashfield16-Jun-08 4:27 
GeneralRe: SP Transaction isolation level locking SQL 2005 Pin
pmpdesign16-Jun-08 19:21
pmpdesign16-Jun-08 19:21 
GeneralRe: SP Transaction isolation level locking SQL 2005 Pin
Alsvha16-Jun-08 19:45
Alsvha16-Jun-08 19:45 
QuestionSOLVED Bumb SQL question - WHER AND syntax? [modified] Pin
Vaclav_14-Jun-08 13:50
Vaclav_14-Jun-08 13:50 
AnswerRe: Bumb SQL question - WHER AND syntax? Pin
Blue_Boy14-Jun-08 18:22
Blue_Boy14-Jun-08 18:22 
GeneralRe: Bumb SQL question - WHER AND syntax? Pin
Vaclav_14-Jun-08 18:43
Vaclav_14-Jun-08 18:43 
GeneralRe: Bumb SQL question - WHER AND syntax? Pin
Blue_Boy14-Jun-08 18:46
Blue_Boy14-Jun-08 18:46 
GeneralRe: Bumb SQL question - WHER AND syntax? Pin
Vaclav_14-Jun-08 19:03
Vaclav_14-Jun-08 19:03 
GeneralRe: Bumb SQL question - WHER AND syntax? Pin
Blue_Boy14-Jun-08 19:04
Blue_Boy14-Jun-08 19:04 
Questionproblem with web user control Pin
sabaMCA14-Jun-08 10:00
sabaMCA14-Jun-08 10:00 
AnswerRe: problem with web user control Pin
Christian Graus14-Jun-08 10:09
protectorChristian Graus14-Jun-08 10:09 
GeneralRe: problem with web user control Pin
Blue_Boy14-Jun-08 10:49
Blue_Boy14-Jun-08 10:49 
QuestionCPU Process on Clinet/Server? Pin
LordCover14-Jun-08 7:11
LordCover14-Jun-08 7:11 
AnswerRe: CPU Process on Clinet/Server? Pin
Hesham Amin14-Jun-08 9:19
Hesham Amin14-Jun-08 9:19 
GeneralRe: CPU Process on Clinet/Server? Pin
LordCover15-Jun-08 1:55
LordCover15-Jun-08 1:55 
Questionhow i can roll back today transaction Pin
wasimsharp13-Jun-08 19:43
wasimsharp13-Jun-08 19:43 

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.