Click here to Skip to main content
15,902,189 members
Home / Discussions / Database
   

Database

 
QuestionAlpha numeric Auto generate issue Pin
Gnanasekaran.P21-Nov-07 1:42
Gnanasekaran.P21-Nov-07 1:42 
AnswerRe: Alpha numeric Auto generate issue Pin
astanton197821-Nov-07 2:41
astanton197821-Nov-07 2:41 
QuestionReading an SQL backup file Pin
kkadir21-Nov-07 0:45
kkadir21-Nov-07 0:45 
AnswerRe: Reading an SQL backup file Pin
pmarfleet21-Nov-07 2:22
pmarfleet21-Nov-07 2:22 
GeneralRe: Reading an SQL backup file Pin
kkadir21-Nov-07 21:37
kkadir21-Nov-07 21:37 
GeneralRe: Reading an SQL backup file Pin
pmarfleet21-Nov-07 22:00
pmarfleet21-Nov-07 22:00 
QuestionDataSet/DataTable/Reader VS Custom Entities Pin
N a v a n e e t h20-Nov-07 22:34
N a v a n e e t h20-Nov-07 22:34 
AnswerRe: DataSet/DataTable/Reader VS Custom Entities Pin
Pete O'Hanlon20-Nov-07 23:10
mvePete O'Hanlon20-Nov-07 23:10 
N a v a n e e t h wrote:
the custom entities after database operation done will be time consuming


You have to fill something with values from the database. A DataSet/DataTable still needs to be filled, so filling one as opposed to the other isn't an argument. Typically you will fill your custom object using a DataReader which is the fastest method for populating individual rows of data (google firehose cursor to find out why).

The key thing to understand is that a DataSet/DataTable is a convenience to make things easier for you as a developer. They do have tradeoffs though - for a start, because they are so generic, they have to be able to cope with a wide variety of data situations. As a consequence, they do tend to be very large. Secondly, they are MS specific constructs, so you are putting a large burden on external systems if they need to interact with yours - in other words, don't return a DataTable/DataSet over a web service.

Deja View - the feeling that you've seen this post before.

My blog | My articles


GeneralRe: DataSet/DataTable/Reader VS Custom Entities Pin
N a v a n e e t h20-Nov-07 23:24
N a v a n e e t h20-Nov-07 23:24 
GeneralRe: DataSet/DataTable/Reader VS Custom Entities Pin
Pete O'Hanlon21-Nov-07 0:16
mvePete O'Hanlon21-Nov-07 0:16 
GeneralRe: DataSet/DataTable/Reader VS Custom Entities Pin
N a v a n e e t h21-Nov-07 19:40
N a v a n e e t h21-Nov-07 19:40 
AnswerRe: DataSet/DataTable/Reader VS Custom Entities Pin
Mark Churchill21-Nov-07 13:39
Mark Churchill21-Nov-07 13:39 
GeneralRe: DataSet/DataTable/Reader VS Custom Entities Pin
N a v a n e e t h21-Nov-07 19:38
N a v a n e e t h21-Nov-07 19:38 
Questionwhat sort cursors are used in msacces? Pin
nicetohaveyou20-Nov-07 20:12
nicetohaveyou20-Nov-07 20:12 
AnswerRe: what sort cursors are used in msacces? Pin
Pete O'Hanlon20-Nov-07 23:12
mvePete O'Hanlon20-Nov-07 23:12 
AnswerRe: what sort cursors are used in msacces? Pin
astanton197821-Nov-07 2:36
astanton197821-Nov-07 2:36 
GeneralRe: what sort cursors are used in msacces? Pin
Pete O'Hanlon21-Nov-07 4:44
mvePete O'Hanlon21-Nov-07 4:44 
QuestionReports based on logged on users credentials Pin
MSinha20-Nov-07 19:48
MSinha20-Nov-07 19:48 
AnswerRe: Reports based on logged on users credentials Pin
Kishore.P21-Nov-07 0:31
Kishore.P21-Nov-07 0:31 
QuestionHow to change chart type at runtime using SSRS 2005 Pin
MSinha20-Nov-07 19:34
MSinha20-Nov-07 19:34 
AnswerRe: How to change chart type at runtime using SSRS 2005 Pin
pmarfleet20-Nov-07 21:28
pmarfleet20-Nov-07 21:28 
QuestionMS SQL Server 2000 on Windows XP Professional Pin
__yash__20-Nov-07 18:12
professional__yash__20-Nov-07 18:12 
AnswerRe: MS SQL Server 2000 on Windows XP Professional Pin
WoutL20-Nov-07 20:47
WoutL20-Nov-07 20:47 
GeneralRe: MS SQL Server 2000 on Windows XP Professional Pin
__yash__20-Nov-07 21:05
professional__yash__20-Nov-07 21:05 
GeneralRe: MS SQL Server 2000 on Windows XP Professional Pin
WoutL20-Nov-07 21:24
WoutL20-Nov-07 21:24 

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.