Click here to Skip to main content
15,924,038 members
Home / Discussions / Database
   

Database

 
GeneralRe: Datasets - Totally Stumped - Am I stupid or something? Pin
david@mindplay.com21-Oct-04 12:11
david@mindplay.com21-Oct-04 12:11 
GeneralRe: Datasets - Totally Stumped - Am I stupid or something? Pin
Colin Angus Mackay21-Oct-04 12:23
Colin Angus Mackay21-Oct-04 12:23 
GeneralRe: Datasets - Totally Stumped - Am I stupid or something? Pin
david@mindplay.com21-Oct-04 12:38
david@mindplay.com21-Oct-04 12:38 
GeneralRe: Datasets - Totally Stumped - Am I stupid or something? Pin
Colin Angus Mackay21-Oct-04 12:45
Colin Angus Mackay21-Oct-04 12:45 
GeneralRe: Datasets - Totally Stumped - Am I stupid or something? Pin
david@mindplay.com21-Oct-04 12:55
david@mindplay.com21-Oct-04 12:55 
GeneralRe: Datasets - Totally Stumped - Am I stupid or something? Pin
Colin Angus Mackay21-Oct-04 11:52
Colin Angus Mackay21-Oct-04 11:52 
GeneralRe: Datasets - Totally Stumped - Am I stupid or something? Pin
david@mindplay.com21-Oct-04 12:22
david@mindplay.com21-Oct-04 12:22 
GeneralRe: Datasets - Totally Stumped - Am I stupid or something? Pin
Colin Angus Mackay21-Oct-04 12:28
Colin Angus Mackay21-Oct-04 12:28 
David Bliss wrote:
Or, wait a minute "SELECT *" am i just supposed to get a copy of the entire damn database?

No, no... I'm just being lazy when I'm typing my reply. And remember your WHERE clause to filter the data.

It is always best to specify a column list in a query. If you do that and you add columns to the table it won't affect pre-existing code which might expect a certain number or order of columns.


David Bliss wrote:
Is that how you are supposed to use datasets? Copy the entire database in its entirety!? Holy crap, what if there are thousands of records and you only need to deal with a couple?

Laugh | :laugh: I'm just thinking of one table in particular that I'm working on. Data is being generated at a rate of several million rows per year.

In SqlServer at least SELECT TOP xxx where xxx is the number of rows you want back is very useful.


Do you want to know more?


Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Please remember that the force of gravity can go up as well as down.
GeneralRe: Datasets - Totally Stumped - Am I stupid or something? Pin
david@mindplay.com21-Oct-04 12:43
david@mindplay.com21-Oct-04 12:43 
GeneralCheck hardware status Pin
unambiguos20-Oct-04 6:41
unambiguos20-Oct-04 6:41 
Generalproblem with execute storedproc Pin
Anonymous19-Oct-04 23:41
Anonymous19-Oct-04 23:41 
Generalolapcubebrowser Pin
Yulianto.19-Oct-04 19:36
Yulianto.19-Oct-04 19:36 
Generalrestricted data type attribute violation Pin
Tom Wright19-Oct-04 12:09
Tom Wright19-Oct-04 12:09 
GeneralStored Procedure Pin
cooldev19-Oct-04 11:55
cooldev19-Oct-04 11:55 
GeneralRe: Stored Procedure Pin
Colin Angus Mackay20-Oct-04 5:30
Colin Angus Mackay20-Oct-04 5:30 
GeneralRe: Stored Procedure Pin
cooldev20-Oct-04 5:34
cooldev20-Oct-04 5:34 
GeneralSQL Server access across a network Pin
StephenMcAllister19-Oct-04 9:55
StephenMcAllister19-Oct-04 9:55 
GeneralRe: SQL Server access across a network Pin
Colin Angus Mackay19-Oct-04 11:28
Colin Angus Mackay19-Oct-04 11:28 
GeneralRe: SQL Server access across a network Pin
ramkylaks19-Oct-04 12:51
ramkylaks19-Oct-04 12:51 
GeneralRe: SQL Server access across a network Pin
StephenMcAllister19-Oct-04 16:20
StephenMcAllister19-Oct-04 16:20 
GeneralRe: SQL Server access across a network Pin
Mekong River19-Oct-04 16:40
Mekong River19-Oct-04 16:40 
GeneralRe: SQL Server access across a network Pin
ramkylaks20-Oct-04 13:34
ramkylaks20-Oct-04 13:34 
GeneralRe: SQL Server access across a network Pin
DreadPirateRoberts27-Oct-04 7:42
DreadPirateRoberts27-Oct-04 7:42 
GeneralODBC DNS connection to Access database Pin
rb15719-Oct-04 8:56
rb15719-Oct-04 8:56 
GeneralRe: ODBC DNS connection to Access database Pin
Tom Wright19-Oct-04 12:17
Tom Wright19-Oct-04 12:17 

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.