Click here to Skip to main content
15,881,588 members
Home / Discussions / Database
   

Database

 
AnswerRe: Subquery returns more than 1 row Pin
fjdiewornncalwe24-Oct-12 10:34
professionalfjdiewornncalwe24-Oct-12 10:34 
GeneralRe: Subquery returns more than 1 row Pin
Jassim Rahma24-Oct-12 10:38
Jassim Rahma24-Oct-12 10:38 
GeneralRe: Subquery returns more than 1 row Pin
fjdiewornncalwe24-Oct-12 10:42
professionalfjdiewornncalwe24-Oct-12 10:42 
GeneralRe: Subquery returns more than 1 row Pin
Jassim Rahma24-Oct-12 10:46
Jassim Rahma24-Oct-12 10:46 
GeneralRe: Subquery returns more than 1 row Pin
fjdiewornncalwe24-Oct-12 10:49
professionalfjdiewornncalwe24-Oct-12 10:49 
GeneralRe: Subquery returns more than 1 row Pin
Jassim Rahma24-Oct-12 10:52
Jassim Rahma24-Oct-12 10:52 
GeneralRe: Subquery returns more than 1 row Pin
fjdiewornncalwe24-Oct-12 11:03
professionalfjdiewornncalwe24-Oct-12 11:03 
Questionlocking on select Pin
dabuskol20-Oct-12 19:37
dabuskol20-Oct-12 19:37 
Hi,

I have a SP that calculates data based on criteria, the result were % and duration. It takes 8-10 seconds before it displays the result.
The problem is when more users are trying to generate the report, it seems that it takes more time.

My problem was when I tried to update a simple statement such as below, it resulted to a "time out expired" and it affects the entire process of the application becuase users cannot perform their task.

update table
set status = 1
where keyId = 6

I don't have any locking on my select nor update.
What is the best practice to resolve it?
I have 100 users nationwide aside from report users, please need help.

Thanks in advance
Dabuskol
Dabsukol

AnswerRe: locking on select Pin
Eddy Vluggen21-Oct-12 2:22
professionalEddy Vluggen21-Oct-12 2:22 
AnswerRe: locking on select Pin
Mycroft Holmes21-Oct-12 13:05
professionalMycroft Holmes21-Oct-12 13:05 
AnswerMessage Closed Pin
22-Oct-12 2:20
Aadhar Joshi22-Oct-12 2:20 
GeneralRe: locking on select PinPopular
Eddy Vluggen22-Oct-12 2:43
professionalEddy Vluggen22-Oct-12 2:43 
GeneralMessage Closed Pin
22-Oct-12 2:49
Aadhar Joshi22-Oct-12 2:49 
GeneralRe: locking on select PinPopular
Eddy Vluggen22-Oct-12 2:58
professionalEddy Vluggen22-Oct-12 2:58 
GeneralMessage Closed Pin
22-Oct-12 3:10
Aadhar Joshi22-Oct-12 3:10 
GeneralRe: locking on select Pin
Eddy Vluggen22-Oct-12 3:14
professionalEddy Vluggen22-Oct-12 3:14 
GeneralRe: locking on select Pin
Aadhar Joshi22-Oct-12 3:18
Aadhar Joshi22-Oct-12 3:18 
GeneralRe: locking on select Pin
Eddy Vluggen22-Oct-12 3:31
professionalEddy Vluggen22-Oct-12 3:31 
GeneralRe: locking on select Pin
Eddy Vluggen22-Oct-12 5:16
professionalEddy Vluggen22-Oct-12 5:16 
GeneralRe: locking on select PinPopular
Aadhar Joshi22-Oct-12 18:05
Aadhar Joshi22-Oct-12 18:05 
GeneralRe: locking on select Pin
The Sql Coder22-Oct-12 20:01
The Sql Coder22-Oct-12 20:01 
GeneralRe: locking on select Pin
Eddy Vluggen22-Oct-12 23:33
professionalEddy Vluggen22-Oct-12 23:33 
GeneralRe: locking on select Pin
Aadhar Joshi22-Oct-12 23:48
Aadhar Joshi22-Oct-12 23:48 
GeneralRe: locking on select Pin
Mycroft Holmes23-Oct-12 0:36
professionalMycroft Holmes23-Oct-12 0:36 
AnswerRe: locking on select Pin
kankeyan26-Oct-12 0:58
kankeyan26-Oct-12 0:58 

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.