Click here to Skip to main content
15,905,971 members
Home / Discussions / Database
   

Database

 
GeneralADO and Mysql Database! Pin
paykani3-Jan-05 20:04
paykani3-Jan-05 20:04 
GeneralRe: ADO and Mysql Database! Pin
S Douglas5-Jan-05 22:17
professionalS Douglas5-Jan-05 22:17 
GeneralColumn order in DataSet Pin
janigorse3-Jan-05 19:51
janigorse3-Jan-05 19:51 
GeneralRe: Column order in DataSet Pin
Colin Angus Mackay3-Jan-05 23:08
Colin Angus Mackay3-Jan-05 23:08 
GeneralRe: Column order in DataSet Pin
janigorse3-Jan-05 23:30
janigorse3-Jan-05 23:30 
GeneralRe: Column order in DataSet Pin
Colin Angus Mackay3-Jan-05 23:37
Colin Angus Mackay3-Jan-05 23:37 
General2 thread use the same database connection to do transaction Pin
ting6683-Jan-05 16:52
ting6683-Jan-05 16:52 
GeneralRe: 2 thread use the same database connection to do transaction Pin
Colin Angus Mackay3-Jan-05 22:59
Colin Angus Mackay3-Jan-05 22:59 
I'm assuming that SQL Server CE 2000 is sufficiently similar to the full SQL Server 2000 product that this answer is valid - Considering you are using a cut down version I cannot see how it would have enhanced functionality. So here goes...

If you use 2 threads and operate on the same connection then you have to be careful only to run one command at a time on the connection. Remember that the DataReader is running the command until you exhaust the data being returned. If you attempt to run a second command at the same time as an existing command is running an exception will be thrown.

So, the answer is: It won't wait, it will throw an exception.




Do you want to know more?
WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and Forums


GeneralRe: 2 thread use the same database connection to do transaction Pin
ting6684-Jan-05 0:13
ting6684-Jan-05 0:13 
GeneralRe: 2 thread use the same database connection to do transaction Pin
Colin Angus Mackay4-Jan-05 0:22
Colin Angus Mackay4-Jan-05 0:22 
GeneralMSDE Server Connection Settings Pin
Axsys3-Jan-05 11:49
Axsys3-Jan-05 11:49 
GeneralRe: MSDE Server Connection Settings Pin
Colin Angus Mackay3-Jan-05 22:55
Colin Angus Mackay3-Jan-05 22:55 
GeneralRe: MSDE Server Connection Settings Pin
Colin Angus Mackay4-Jan-05 22:03
Colin Angus Mackay4-Jan-05 22:03 
QuestionHow to get the index of a table-row after find-command Pin
fracalifa3-Jan-05 8:49
fracalifa3-Jan-05 8:49 
GeneralUpdating Fields In Specified Order Pin
perlmunger3-Jan-05 6:13
perlmunger3-Jan-05 6:13 
GeneralRe: Updating Fields In Specified Order Pin
Colin Angus Mackay3-Jan-05 22:52
Colin Angus Mackay3-Jan-05 22:52 
GeneralCreating a DSN Pin
Member 3600823-Jan-05 3:16
Member 3600823-Jan-05 3:16 
GeneralRe: Creating a DSN Pin
perlmunger3-Jan-05 9:47
perlmunger3-Jan-05 9:47 
GeneralI am... Pin
KORCARI2-Jan-05 2:27
KORCARI2-Jan-05 2:27 
GeneralRe: I am... Pin
Colin Angus Mackay2-Jan-05 22:30
Colin Angus Mackay2-Jan-05 22:30 
Generalserver application not available Pin
Member 12288431-Jan-05 23:22
Member 12288431-Jan-05 23:22 
GeneralOracle forms 6i problem Pin
missnazar1-Jan-05 20:12
missnazar1-Jan-05 20:12 
GeneralCreating a Web Form Using a DataSet Pin
macsgirl1-Jan-05 16:17
macsgirl1-Jan-05 16:17 
GeneralRe: Creating a Web Form Using a DataSet Pin
perlmunger3-Jan-05 9:40
perlmunger3-Jan-05 9:40 
GeneralWhere... Pin
KORCARI1-Jan-05 1:22
KORCARI1-Jan-05 1:22 

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.