Click here to Skip to main content
15,896,606 members
Home / Discussions / Database
   

Database

 
GeneralRe: Problem with VB6 and SQL Server 2000 Pin
Mazdak5-Feb-04 23:04
Mazdak5-Feb-04 23:04 
GeneralRe: Problem with VB6 and SQL Server 2000 Pin
Mike Dimmick5-Feb-04 23:06
Mike Dimmick5-Feb-04 23:06 
GeneralQuery Pin
girl_lash5-Feb-04 15:13
girl_lash5-Feb-04 15:13 
GeneralRe: Query Pin
Steve S10-Feb-04 6:21
Steve S10-Feb-04 6:21 
Generalsimple INSERT question Pin
hkl5-Feb-04 9:12
hkl5-Feb-04 9:12 
GeneralRe: simple INSERT question Pin
Edbert P5-Feb-04 19:07
Edbert P5-Feb-04 19:07 
GeneralConfigure SMTP Pin
DaKhucBuon4-Feb-04 23:08
DaKhucBuon4-Feb-04 23:08 
GeneralRe: Configure SMTP Pin
Vasudevan Deepak Kumar5-Feb-04 0:37
Vasudevan Deepak Kumar5-Feb-04 0:37 
GeneralRe: Configure SMTP Pin
DaKhucBuon5-Feb-04 14:40
DaKhucBuon5-Feb-04 14:40 
GeneralRe: Configure SMTP Pin
Vasudevan Deepak Kumar6-Feb-04 0:53
Vasudevan Deepak Kumar6-Feb-04 0:53 
GeneralAccess/ODBC: Item count fails Pin
mexicanchili4-Feb-04 21:51
mexicanchili4-Feb-04 21:51 
GeneralRe: Access/ODBC: Item count fails Pin
mexicanchili5-Feb-04 1:43
mexicanchili5-Feb-04 1:43 
Generaltrouble with IDataParameterCollection and ArrayList Pin
Nik Vogiatzis4-Feb-04 9:52
Nik Vogiatzis4-Feb-04 9:52 
GeneralRe: trouble with IDataParameterCollection and ArrayList Pin
Mike Dimmick5-Feb-04 0:43
Mike Dimmick5-Feb-04 0:43 
GeneralADO.NET Query Timeout Pin
afronaut4-Feb-04 6:28
afronaut4-Feb-04 6:28 
GeneralRe: ADO.NET Query Timeout Pin
Michael Potter4-Feb-04 10:16
Michael Potter4-Feb-04 10:16 
GeneralUsing TOP operator within a WHERE clause Pin
OBRon3-Feb-04 10:33
OBRon3-Feb-04 10:33 
GeneralRe: Using TOP operator within a WHERE clause Pin
David Llamas3-Feb-04 10:39
David Llamas3-Feb-04 10:39 
GeneralRe: Using TOP operator within a WHERE clause Pin
OBRon3-Feb-04 10:45
OBRon3-Feb-04 10:45 
Generaladvanced ADO.NET and Oracle Database Pin
koo93-Feb-04 9:33
koo93-Feb-04 9:33 
hi all

just wonder if anyone have done any relatively complex project in oracle database. it seems hard to make an app for oracle database using ADO.NET dataset. in my app, I bind all the fields to all kind of controls and there are parent/child tables. so I create datarelations and all that for the datatable in a same dataset.

Q1. when inserting new parent/child records, oracle database doesn't support scop_indentity(),
how does one get the real id from the database and update the child records before they get inserted into the database?


Q2. when adding new child records for existing parent entry, does the datarelation automatically add the parent foreign key into the newly added child record? it seems that's not the case, since it doesn't work for me when I try to add new child record.

I posted a similar thread in the ms newsgroup, one of the ms guy showed me some of the sample how things are done in sql server 2000 and access, but not much with oracle. he also mentioned the use of sequence. get the some-sequence.currval to get the real id, but that's not connection oriented, because multiple users might insert record at the same time, how can one guarantee it is the correct id for the record.

anyone have any idea?

thxSmile | :)

kevin
GeneralRe: advanced ADO.NET and Oracle Database Pin
Guillermo Rivero3-Feb-04 10:40
Guillermo Rivero3-Feb-04 10:40 
GeneralRe: advanced ADO.NET and Oracle Database Pin
koo93-Feb-04 11:15
koo93-Feb-04 11:15 
GeneralRe: advanced ADO.NET and Oracle Database Pin
Mike Dimmick4-Feb-04 2:39
Mike Dimmick4-Feb-04 2:39 
GeneralUsing UDFs in a SELECT Pin
Colin Angus Mackay3-Feb-04 5:28
Colin Angus Mackay3-Feb-04 5:28 
GeneralRe: Using UDFs in a SELECT Pin
michanne4-Feb-04 3:02
michanne4-Feb-04 3:02 

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.