Click here to Skip to main content
15,906,626 members
Home / Discussions / Database
   

Database

 
GeneralRe: Huge DataTable & ComboBox Pin
SimonS15-Jan-03 23:49
SimonS15-Jan-03 23:49 
QuestionHow to use datetime fields in SQL server? Pin
Luca Leonardo Scorcia15-Jan-03 2:55
professionalLuca Leonardo Scorcia15-Jan-03 2:55 
AnswerRe: How to use datetime fields in SQL server? Pin
David Wulff15-Jan-03 4:50
David Wulff15-Jan-03 4:50 
AnswerRe: How to use datetime fields in SQL server? Pin
Richard Deeming15-Jan-03 7:27
mveRichard Deeming15-Jan-03 7:27 
GeneralRe: How to use datetime fields in SQL server? Pin
Luca Leonardo Scorcia15-Jan-03 10:10
professionalLuca Leonardo Scorcia15-Jan-03 10:10 
QuestionHow to detect that ADO Connction was failed Pin
ernst.maurer15-Jan-03 2:21
ernst.maurer15-Jan-03 2:21 
AnswerRe: How to detect that ADO Connction was failed Pin
Mazdak15-Jan-03 19:31
Mazdak15-Jan-03 19:31 
GeneralMultiple connection problem Pin
Hzi14-Jan-03 20:49
Hzi14-Jan-03 20:49 
I've an strange case where a second connection to a Sqlserver database hangs until time out has expired, the schema is below:

<br />
Connection1=New connection(database1)<br />
Connection1.Open<br />
Connection1.Begintrans<br />
...<br />
Connection2=New connection(database1)<br />
Connection2.Open<br />
Command2.Connection=Connection2<br />
Command2.ExecuteSelectionSQL   |-----------------------here it hangs<br />
Connection2.Close<br />
.......<br />
Connection1.Commit<br />
Connection1.Close<br />


The first connection remains opened and in transaction while connection2 is opened with the same querystring, it opens correctly but when I issue a command using connection2 it hangs.
I use System.Data.SqlClient and I've tried different options in querystring (Enlist=false,.....) but I cannot solve the problem.

Thanks for your help, Smile | :)



Hzi.
GeneralRe: Multiple connection problem Pin
Anonymous15-Jan-03 20:23
Anonymous15-Jan-03 20:23 
GeneralRe: Multiple connection problem Pin
Hzi15-Jan-03 20:27
Hzi15-Jan-03 20:27 
GeneralRe: Multiple connection problem Pin
Hesham Amin15-Jan-03 20:32
Hesham Amin15-Jan-03 20:32 
GeneralRe: Multiple connection problem Pin
Hzi16-Jan-03 1:25
Hzi16-Jan-03 1:25 
GeneralRe: Multiple connection problem Pin
pushpi1-Feb-03 1:30
pushpi1-Feb-03 1:30 
GeneralOpen XML and SQLServer Pin
dturton14-Jan-03 10:46
dturton14-Jan-03 10:46 
GeneralHelp Error "SELECT permission denied on object 'Contacts', database 'Contacts', owner 'dbo'. " Pin
marnicola13-Jan-03 10:00
marnicola13-Jan-03 10:00 
GeneralRe: Help Error "SELECT permission denied on object 'Contacts', database 'Contacts', owner 'dbo'. " Pin
Terry Denham13-Jan-03 10:22
Terry Denham13-Jan-03 10:22 
GeneralDetermine column's datatype Pin
Sarvesvara (BVKS) Dasa13-Jan-03 2:49
Sarvesvara (BVKS) Dasa13-Jan-03 2:49 
GeneralRe: Determine column's datatype Pin
leppie13-Jan-03 7:22
leppie13-Jan-03 7:22 
GeneralRe: Determine column's datatype Pin
Sarvesvara (BVKS) Dasa13-Jan-03 19:43
Sarvesvara (BVKS) Dasa13-Jan-03 19:43 
GeneralRe: Determine column's datatype Pin
leppie14-Jan-03 6:24
leppie14-Jan-03 6:24 
GeneralRe: Determine column's datatype Pin
quannum14-Jan-03 12:21
quannum14-Jan-03 12:21 
GeneralRe: Determine column's datatype Pin
Sarvesvara (BVKS) Dasa14-Jan-03 19:52
Sarvesvara (BVKS) Dasa14-Jan-03 19:52 
GeneralSkeletons in my SQL closet Pin
Megan Forbes13-Jan-03 1:21
Megan Forbes13-Jan-03 1:21 
GeneralRe: Skeletons in my SQL closet Pin
Jeremy Oldham13-Jan-03 1:32
Jeremy Oldham13-Jan-03 1:32 
GeneralRe: Skeletons in my SQL closet Pin
Megan Forbes13-Jan-03 9:10
Megan Forbes13-Jan-03 9:10 

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.