Click here to Skip to main content
15,900,816 members
Home / Discussions / Database
   

Database

 
GeneralRe: Scripting database Pin
AlexeiXX326-May-08 13:54
AlexeiXX326-May-08 13:54 
GeneralRe: Scripting database Pin
Colin Angus Mackay26-May-08 14:19
Colin Angus Mackay26-May-08 14:19 
GeneralRe: Scripting database Pin
AlexeiXX326-May-08 14:30
AlexeiXX326-May-08 14:30 
QuestionSelect statement To display each row as colum for Gridview control Pin
Member 400849226-May-08 2:02
Member 400849226-May-08 2:02 
RantRe: Select statement To display each row as colum for Gridview control Pin
Ashfield26-May-08 8:15
Ashfield26-May-08 8:15 
QuestionPlease Help : Database Suspect Problem Pin
rockz...26-May-08 0:48
rockz...26-May-08 0:48 
AnswerRe: Please Help : Database Suspect Problem Pin
MatthysDT29-May-08 4:37
MatthysDT29-May-08 4:37 
QuestionHow to detect table lock Pin
Joe Smith IX25-May-08 23:59
Joe Smith IX25-May-08 23:59 
Hi all,

I have a database on SQL Server 2005, serving several clients. Some of my queries need more than 20 seconds to finish. Problem occurs when ClientA runs the query, and one second later ClientB runs it as well. Since the query involves some editing, it will lock the table for the duration of the query. So what usually happens is that ClientB will have "query timeout expired" error message because the request cannot be completed within the default 30 second query timeout.

a. Is there any way to know whether a table/record is being locked, and by which computer?
b. Can I change the default 30 seconds query timeout by code?

Thanks a lot for any pointer.
AnswerRe: How to detect table lock Pin
Mycroft Holmes26-May-08 12:31
professionalMycroft Holmes26-May-08 12:31 
AnswerRe: How to detect table lock Pin
Ashfield26-May-08 21:30
Ashfield26-May-08 21:30 
AnswerRe: How to detect table lock Pin
Rutvik Dave27-May-08 3:53
professionalRutvik Dave27-May-08 3:53 
Questionconnect database server from other computer in network Pin
peterjc25-May-08 22:58
peterjc25-May-08 22:58 
AnswerRe: connect database server from other computer in network Pin
Hesbon Ongira26-May-08 20:36
Hesbon Ongira26-May-08 20:36 
GeneralRe: connect database server from other computer in network Pin
peterjc27-May-08 15:43
peterjc27-May-08 15:43 
QuestionReconstruct Question about Stored Procedure[Message Deleted] [modified] Pin
Hakmeh Mohannad25-May-08 22:45
Hakmeh Mohannad25-May-08 22:45 
AnswerRe: Stored Procedure Question Pin
Alsvha25-May-08 22:55
Alsvha25-May-08 22:55 
Question[Microsoft][ODBC SQL Server Driver]Syntax error or access violation Pin
www.Developerof.NET25-May-08 21:10
www.Developerof.NET25-May-08 21:10 
AnswerRe: [Microsoft][ODBC SQL Server Driver]Syntax error or access violation Pin
www.Developerof.NET26-May-08 1:52
www.Developerof.NET26-May-08 1:52 
QuestionTriggers, AFTER INSERT?? URGENT Pin
Karan_TN25-May-08 21:09
Karan_TN25-May-08 21:09 
QuestionSelecting DISTINCT and copying to new table? Pin
Karan_TN25-May-08 19:31
Karan_TN25-May-08 19:31 
AnswerRe: Selecting DISTINCT and copying to new table? Pin
Blue_Boy25-May-08 19:41
Blue_Boy25-May-08 19:41 
GeneralRe: Selecting DISTINCT and copying to new table? Pin
Karan_TN25-May-08 19:49
Karan_TN25-May-08 19:49 
GeneralRe: Selecting DISTINCT and copying to new table? Pin
Ashfield26-May-08 8:18
Ashfield26-May-08 8:18 
QuestionAssigning value to variable Pin
CodingYoshi25-May-08 8:40
CodingYoshi25-May-08 8:40 
AnswerRe: Assigning value to variable Pin
Colin Angus Mackay25-May-08 13:32
Colin Angus Mackay25-May-08 13:32 

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.