Click here to Skip to main content
15,906,574 members
Home / Discussions / Database
   

Database

 
AnswerRe: SQL 2000 won't import data Pin
Marcus J. Smith1-May-07 8:40
professionalMarcus J. Smith1-May-07 8:40 
GeneralRe: SQL 2000 won't import data Pin
Bryan Bradford1-May-07 11:29
Bryan Bradford1-May-07 11:29 
QuestionHow can I minimize a datatable's memory usage? Pin
Marcus J. Smith1-May-07 6:59
professionalMarcus J. Smith1-May-07 6:59 
AnswerRe: How can I minimize a datatable's memory usage? Pin
kubben1-May-07 7:21
kubben1-May-07 7:21 
GeneralRe: How can I minimize a datatable's memory usage? Pin
Marcus J. Smith1-May-07 8:01
professionalMarcus J. Smith1-May-07 8:01 
GeneralRe: How can I minimize a datatable's memory usage? Pin
kubben1-May-07 8:04
kubben1-May-07 8:04 
GeneralRe: How can I minimize a datatable's memory usage? Pin
Marcus J. Smith1-May-07 8:17
professionalMarcus J. Smith1-May-07 8:17 
GeneralRe: How can I minimize a datatable's memory usage? Pin
kubben1-May-07 8:26
kubben1-May-07 8:26 
Yes the DataView will take up less space. How much less. I don't know you would have to try it. I would sugest starting with the datatable build the columns, take the defaultView and put it into a variable. I think the issues with the datatable have to do with its ability to save state. It remembers the original state of the database before any changes were made. After changes are made if you want them to persist then you have to do AcceptChanges. So the datatable is most likely keeping two versions of the record which would at least double the size in memory.

Note If you set a Sort for the dataview you and use a Findrow method based off that sort column. Just thought you would like to know.

Ben
GeneralRe: How can I minimize a datatable's memory usage? Pin
Marcus J. Smith2-May-07 10:08
professionalMarcus J. Smith2-May-07 10:08 
GeneralRe: How can I minimize a datatable's memory usage? Pin
kubben2-May-07 10:28
kubben2-May-07 10:28 
GeneralRe: How can I minimize a datatable's memory usage? Pin
Marcus J. Smith2-May-07 10:52
professionalMarcus J. Smith2-May-07 10:52 
GeneralRe: How can I minimize a datatable's memory usage? Pin
kubben2-May-07 12:37
kubben2-May-07 12:37 
QuestionO/R Mapping Recomendations Pin
Tristan Rhodes1-May-07 6:38
Tristan Rhodes1-May-07 6:38 
AnswerRe: O/R Mapping Recomendations Pin
Pete O'Hanlon1-May-07 22:42
mvePete O'Hanlon1-May-07 22:42 
Questionaccess to sql server Pin
Tamimi - Code1-May-07 3:11
Tamimi - Code1-May-07 3:11 
AnswerRe: access to sql server Pin
Colin Angus Mackay1-May-07 3:55
Colin Angus Mackay1-May-07 3:55 
Questionplease help me in this very urgent Pin
Vinay Dornala1-May-07 2:46
Vinay Dornala1-May-07 2:46 
AnswerRe: please help me in this very urgent Pin
Colin Angus Mackay1-May-07 4:04
Colin Angus Mackay1-May-07 4:04 
QuestionHow to get the unique key of a column in datatable? Pin
lior_s1-May-07 1:54
lior_s1-May-07 1:54 
AnswerRe: How to get the unique key of a column in datatable? Pin
lior_s1-May-07 21:20
lior_s1-May-07 21:20 
QuestionTrouble connecting to SQl server 2005 Pin
mrkeivan30-Apr-07 10:03
mrkeivan30-Apr-07 10:03 
AnswerRe: Trouble connecting to SQl server 2005 Pin
kubben30-Apr-07 14:18
kubben30-Apr-07 14:18 
GeneralRe: Trouble connecting to SQl server 2005 Pin
mrkeivan1-May-07 3:10
mrkeivan1-May-07 3:10 
GeneralRe: Trouble connecting to SQl server 2005 Pin
kubben1-May-07 3:36
kubben1-May-07 3:36 
GeneralRe: Trouble connecting to SQl server 2005 Pin
mrkeivan1-May-07 8:31
mrkeivan1-May-07 8:31 

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.