Click here to Skip to main content
15,888,527 members
Home / Discussions / C#
   

C#

 
GeneralRe: enquary Pin
OriginalGriff16-Nov-16 23:11
mveOriginalGriff16-Nov-16 23:11 
GeneralRe: enquary Pin
Pete O'Hanlon17-Nov-16 0:42
mvePete O'Hanlon17-Nov-16 0:42 
AnswerRe: enquary Pin
ZurdoDev17-Nov-16 1:11
professionalZurdoDev17-Nov-16 1:11 
AnswerRe: enquary PinPopular
V.17-Nov-16 2:55
professionalV.17-Nov-16 2:55 
AnswerRe: enquary Pin
Gerry Schmitz17-Nov-16 5:22
mveGerry Schmitz17-Nov-16 5:22 
QuestionDual Screen Display Pin
Member 972228316-Nov-16 0:59
Member 972228316-Nov-16 0:59 
AnswerRe: Dual Screen Display Pin
OriginalGriff16-Nov-16 1:40
mveOriginalGriff16-Nov-16 1:40 
GeneralRe: Dual Screen Display Pin
Member 972228316-Nov-16 2:20
Member 972228316-Nov-16 2:20 
GeneralRe: Dual Screen Display Pin
Dave Kreskowiak16-Nov-16 3:47
mveDave Kreskowiak16-Nov-16 3:47 
GeneralRe: Dual Screen Display Pin
Member 97222835-Dec-16 20:20
Member 97222835-Dec-16 20:20 
AnswerRe: Dual Screen Display Pin
Richard MacCutchan16-Nov-16 1:41
mveRichard MacCutchan16-Nov-16 1:41 
Questionhow to keep original image aspect ratio ? Pin
Member 1285075615-Nov-16 15:49
Member 1285075615-Nov-16 15:49 
AnswerRe: how to keep original image aspect ratio ? Pin
Dave Kreskowiak16-Nov-16 2:37
mveDave Kreskowiak16-Nov-16 2:37 
QuestionParse 17,000 text files and insert into database Pin
davers15-Nov-16 6:29
davers15-Nov-16 6:29 
AnswerRe: Parse 17,000 text files and insert into database Pin
peterkmx15-Nov-16 7:01
professionalpeterkmx15-Nov-16 7:01 
AnswerRe: Parse 17,000 text files and insert into database Pin
Gerry Schmitz15-Nov-16 7:13
mveGerry Schmitz15-Nov-16 7:13 
GeneralRe: Parse 17,000 text files and insert into database Pin
davers15-Nov-16 8:07
davers15-Nov-16 8:07 
GeneralRe: Parse 17,000 text files and insert into database Pin
OriginalGriff15-Nov-16 8:17
mveOriginalGriff15-Nov-16 8:17 
GeneralRe: Parse 17,000 text files and insert into database Pin
Gerry Schmitz15-Nov-16 8:19
mveGerry Schmitz15-Nov-16 8:19 
GeneralRe: Parse 17,000 text files and insert into database Pin
peterkmx15-Nov-16 8:50
professionalpeterkmx15-Nov-16 8:50 
AnswerRe: Parse 17,000 text files and insert into database Pin
Philippe Mori15-Nov-16 8:11
Philippe Mori15-Nov-16 8:11 
AnswerRe: Parse 17,000 text files and insert into database Pin
Nathan Minier15-Nov-16 8:33
professionalNathan Minier15-Nov-16 8:33 
AnswerRe: Parse 17,000 text files and insert into database Pin
Mycroft Holmes15-Nov-16 11:54
professionalMycroft Holmes15-Nov-16 11:54 
I would do this completely differently.

Read the text files into memory
Insert each record into a data table in memory - no transformation
Bulk copy the raw data into a staging table in sql server
Use a stored procedure to transform the data.

Bulk copy and stored procedures will reduce the impact of the primary bottle necks of IO and transforms
Never underestimate the power of human stupidity
RAH

AnswerRe: Parse 17,000 text files and insert into database Pin
Bernhard Hiller15-Nov-16 21:33
Bernhard Hiller15-Nov-16 21:33 
AnswerRe: Parse 17,000 text files and insert into database Pin
Jimmanuel23-Nov-16 10:48
Jimmanuel23-Nov-16 10:48 

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.