Subject | Re: unprofessional question |
---|---|
Author | nagypapi |
Post date | 2004-01-07T17:41:03Z |
> I get occasional faults, once every few months, and theGood thing you tell me that, I was under the (by now it seems)
> operators may just have to retype one record.
>...
>100% reliability
> would be nice but can we actually attain that ?
illusion that there is absolutely no place for a dbserver to react falsly
This means I should check after every insertion? (how do you notice
those "occasional faults"?)
Will this part of code work, will it detect if insertation was somehow
unsuccesfull, or is there a catch (like dbserver doesn't save records
to file instantly, but nonetheless shows these records as a part of
the db, but if some wierd win2k error occurs, the records never get
saved to dbfile - and this is the other function the check db had: if
anything happened to the normal db file, there was a consistent backup)
"
if(st.executeUpdate(toinsert)<1) return(errorcode);
rs=st.exequteQuery(whatIinserted)
//check rs
"
Thanks again!
Nagypapi