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

Database

 
AnswerRe: Missing Data in an Access Report Pin
jschell6-Feb-13 8:11
jschell6-Feb-13 8:11 
GeneralRe: Missing Data in an Access Report Pin
Vimalsoft(Pty) Ltd6-Feb-13 19:01
professionalVimalsoft(Pty) Ltd6-Feb-13 19:01 
GeneralRe: Missing Data in an Access Report Pin
jschell7-Feb-13 9:52
jschell7-Feb-13 9:52 
AnswerRe: Missing Data in an Access Report Pin
Mycroft Holmes6-Feb-13 12:27
professionalMycroft Holmes6-Feb-13 12:27 
GeneralRe: Missing Data in an Access Report Pin
Vimalsoft(Pty) Ltd6-Feb-13 19:06
professionalVimalsoft(Pty) Ltd6-Feb-13 19:06 
GeneralRe: Missing Data in an Access Report Pin
Mycroft Holmes6-Feb-13 20:27
professionalMycroft Holmes6-Feb-13 20:27 
GeneralRe: Missing Data in an Access Report Pin
Vimalsoft(Pty) Ltd6-Feb-13 20:32
professionalVimalsoft(Pty) Ltd6-Feb-13 20:32 
GeneralRe: Missing Data in an Access Report Pin
jschell7-Feb-13 9:56
jschell7-Feb-13 9:56 
Questionoracle error with winserver2008 Pin
fares35-Feb-13 1:03
fares35-Feb-13 1:03 
AnswerRe: oracle error with winserver2008 Pin
Bernhard Hiller5-Feb-13 4:57
Bernhard Hiller5-Feb-13 4:57 
Questionchar(255) vs varchar(255) vs varchar(MAX) Pin
devvvy1-Feb-13 18:22
devvvy1-Feb-13 18:22 
AnswerRe: char(255) vs varchar(255) vs varchar(MAX) Pin
Richard MacCutchan1-Feb-13 23:07
mveRichard MacCutchan1-Feb-13 23:07 
GeneralRe: char(255) vs varchar(255) vs varchar(MAX) Pin
devvvy2-Feb-13 15:39
devvvy2-Feb-13 15:39 
AnswerRe: char(255) vs varchar(255) vs varchar(MAX) Pin
PIEBALDconsult2-Feb-13 5:22
mvePIEBALDconsult2-Feb-13 5:22 
GeneralRe: char(255) vs varchar(255) vs varchar(MAX) Pin
devvvy2-Feb-13 23:30
devvvy2-Feb-13 23:30 
GeneralRe: char(255) vs varchar(255) vs varchar(MAX) Pin
jschell3-Feb-13 6:36
jschell3-Feb-13 6:36 
QuestionSP Unexpected Behavior Pin
eddieangel1-Feb-13 7:19
eddieangel1-Feb-13 7:19 
QuestionEncrypt a field in the database. Pin
vanikanc1-Feb-13 5:31
vanikanc1-Feb-13 5:31 
AnswerRe: Encrypt a field in the database. Pin
Eddy Vluggen1-Feb-13 7:02
professionalEddy Vluggen1-Feb-13 7:02 
Questioncheck before insert Pin
vanikanc31-Jan-13 4:55
vanikanc31-Jan-13 4:55 
AnswerRe: check before insert Pin
Eddy Vluggen31-Jan-13 5:00
professionalEddy Vluggen31-Jan-13 5:00 
GeneralRe: check before insert Pin
Eddy Vluggen31-Jan-13 10:35
professionalEddy Vluggen31-Jan-13 10:35 
Dude, if he is inserting from a file, then there is no primary key until it is inserted Hmmm | :|

--

Aah, good point. We don't show the Autoincrement-value to the user, so the user is using a combination of fields to uniquely identify a record. That used to be the primary-key, until we switched to artificial autoincrement-keys.

You're reading the file on a line to line basis? Don't want it in memory completely, because it'd have to be restarted completely if the process dies half way. It'd be an option to write the "current amount of processed records" to another file. If it crashes, read that file and see how many lines you can safely skip.

A transaction (as said below) is indeed the best idea Smile | :)

Also, it'd be wise to load the file in a separate table first, and move it from there to the required structure.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]
They hate us for our freedom![^]

AnswerRe: check before insert Pin
R. Giskard Reventlov31-Jan-13 8:10
R. Giskard Reventlov31-Jan-13 8:10 
GeneralRe: check before insert Pin
vanikanc31-Jan-13 8:21
vanikanc31-Jan-13 8:21 
GeneralRe: check before insert Pin
R. Giskard Reventlov31-Jan-13 10:09
R. Giskard Reventlov31-Jan-13 10:09 

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.