Click here to Skip to main content
15,888,968 members
Home / Discussions / Database
   

Database

 
QuestionRemote SQL Database Pin
HakunaMatada9-Jan-06 0:26
HakunaMatada9-Jan-06 0:26 
AnswerRe: Remote SQL Database Pin
Colin Angus Mackay9-Jan-06 1:14
Colin Angus Mackay9-Jan-06 1:14 
Questionsql: count product's item, how about the zero item? Pin
zrocb818-Jan-06 12:27
zrocb818-Jan-06 12:27 
AnswerRe: sql: count product's item, how about the zero item? Pin
nguyenvhn8-Jan-06 17:08
nguyenvhn8-Jan-06 17:08 
GeneralRe: sql: count product's item, how about the zero item? Pin
zrocb818-Jan-06 17:34
zrocb818-Jan-06 17:34 
QuestionHow can i shutdown database in oracle 10g Pin
Ta_Tee4737-Jan-06 17:26
Ta_Tee4737-Jan-06 17:26 
AnswerRe: How can i shutdown database in oracle 10g Pin
Dave Kreskowiak8-Jan-06 16:14
mveDave Kreskowiak8-Jan-06 16:14 
QuestionExport 50,000 records to a Text File. Pin
kakarato6-Jan-06 7:52
kakarato6-Jan-06 7:52 
I'm using a smart device which run Win CE witn SQL CE 2.0. Would like to know what is the best way to export a table in the device with 50,000 records to a text file.

Should i use a SQL SELECT statement like "SELECT * FROM TABLE" into a data set and later loop the DataTable in the DataSet and export write it to a text file ?
Or select in it into a DataReader and loop the DataReader? Which one will provide a better performance ?

I try to to use method 1 (loop the DataTable in DataSet, but the proble is it take a long time to select all the record into the dataset, and it look like hang over there to the user Sleepy | :zzz: , because i can't update the status and show to the user.

However method 2 (loop DataReader) seen like bit better at least i was able to update the status to the user and let user know the program is running.

Please kindly advise. Thank in advance.


AnswerRe: Export 50,000 records to a Text File. Pin
Colin Angus Mackay6-Jan-06 12:00
Colin Angus Mackay6-Jan-06 12:00 
GeneralRe: Export 50,000 records to a Text File. Pin
kakarato7-Jan-06 6:22
kakarato7-Jan-06 6:22 
Questionincreasing size of LDF file Pin
Member 20731416-Jan-06 2:52
Member 20731416-Jan-06 2:52 
AnswerRe: increasing size of LDF file Pin
Dave Kreskowiak6-Jan-06 5:17
mveDave Kreskowiak6-Jan-06 5:17 
AnswerRe: increasing size of LDF file Pin
Dave Kreskowiak6-Jan-06 7:05
mveDave Kreskowiak6-Jan-06 7:05 
GeneralRe: increasing size of LDF file Pin
Member 20731416-Jan-06 17:47
Member 20731416-Jan-06 17:47 
GeneralRe: increasing size of LDF file Pin
Dave Kreskowiak7-Jan-06 6:30
mveDave Kreskowiak7-Jan-06 6:30 
QuestionSQL Sample Databases Pin
Brendan Vogt6-Jan-06 0:34
Brendan Vogt6-Jan-06 0:34 
AnswerRe: SQL Sample Databases Pin
Colin Angus Mackay6-Jan-06 1:24
Colin Angus Mackay6-Jan-06 1:24 
QuestionRe: SQL Sample Databases Pin
Brendan Vogt6-Jan-06 1:29
Brendan Vogt6-Jan-06 1:29 
AnswerRe: SQL Sample Databases Pin
gharry6-Jan-06 5:44
gharry6-Jan-06 5:44 
QuestionSQL Doubt. Pin
<color>Aljechin 5-Jan-06 19:32
<color>Aljechin 5-Jan-06 19:32 
AnswerRe: SQL Doubt. Pin
nguyenvhn5-Jan-06 20:48
nguyenvhn5-Jan-06 20:48 
AnswerRe: SQL Doubt. Pin
Colin Angus Mackay5-Jan-06 20:49
Colin Angus Mackay5-Jan-06 20:49 
QuestionDAO Notification? Pin
lynchspawn5-Jan-06 9:51
lynchspawn5-Jan-06 9:51 
AnswerRe: DAO Notification? Pin
Dave Kreskowiak6-Jan-06 5:05
mveDave Kreskowiak6-Jan-06 5:05 
QuestionPartial name Pin
gharry5-Jan-06 9:47
gharry5-Jan-06 9:47 

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.