Click here to Skip to main content
16,014,748 members
Home / Discussions / Database
   

Database

 
AnswerRe: Returning Records with No Value (not null) if a specific field Pin
Senthil_M25-May-07 22:56
Senthil_M25-May-07 22:56 
QuestionStore procedure Pin
thanhphuong170325-May-07 6:07
thanhphuong170325-May-07 6:07 
AnswerRe: Store procedure Pin
Colin Angus Mackay25-May-07 8:44
Colin Angus Mackay25-May-07 8:44 
QuestionAdding New Records - failed validation Pin
User 380857925-May-07 5:42
User 380857925-May-07 5:42 
QuestionDatatype column type in SQL Server 2000 Pin
Senthil_M25-May-07 4:08
Senthil_M25-May-07 4:08 
AnswerRe: Datatype column type in SQL Server 2000 Pin
kubben25-May-07 4:54
kubben25-May-07 4:54 
GeneralRe: Datatype column type in SQL Server 2000 Pin
Senthil_M25-May-07 22:43
Senthil_M25-May-07 22:43 
GeneralRe: Datatype column type in SQL Server 2000 Pin
kubben26-May-07 0:25
kubben26-May-07 0:25 
Certainly if your table doesn't have very much data I would look at doing this in memory. If you are using .net there is a DataTable which you can dynamically create. There are DataColumns which you can dynamically add to the dataTable. Then you can take the devaultview of the datatable and use the rowfilter to query the table's data.

In sql 2000 and 2005 there are table variables, but they only stick around for the duration of the stored procedure so you probably want it to be around a little longer then that.

If there aren't too many rows and columns I would think seriously of keeping the data in an internal table in your program.

Ben
GeneralRe: Datatype column type in SQL Server 2000 Pin
Senthil_M26-May-07 1:12
Senthil_M26-May-07 1:12 
GeneralRe: Datatype column type in SQL Server 2000 Pin
kubben26-May-07 2:55
kubben26-May-07 2:55 
QuestionAdding a column with checkboxes in SQL Pin
reegan4125-May-07 2:45
reegan4125-May-07 2:45 
AnswerRe: Adding a column with checkboxes in SQL Pin
Mark J. Miller25-May-07 7:03
Mark J. Miller25-May-07 7:03 
AnswerRe: Adding a column with checkboxes in SQL Pin
Expert Coming25-May-07 8:17
Expert Coming25-May-07 8:17 
Questionreplication Pin
robmays25-May-07 1:22
robmays25-May-07 1:22 
QuestionIN Clause passing an array to a typed dataset Pin
steve_rm24-May-07 23:40
steve_rm24-May-07 23:40 
AnswerRe: IN Clause passing an array to a typed dataset Pin
Mark J. Miller25-May-07 6:57
Mark J. Miller25-May-07 6:57 
QuestionHow to populate dataset using VIews Pin
kumarjammula24-May-07 18:40
kumarjammula24-May-07 18:40 
QuestionSQL Query Pin
suketh24-May-07 17:45
suketh24-May-07 17:45 
AnswerRe: SQL Query Pin
Harini N K24-May-07 20:08
Harini N K24-May-07 20:08 
AnswerRe: SQL Query Pin
shally_7924-May-07 23:40
shally_7924-May-07 23:40 
AnswerRe: SQL Query Pin
raj@code26-May-07 0:44
raj@code26-May-07 0:44 
QuestionUsing results multiple times Pin
mikker_12324-May-07 10:10
mikker_12324-May-07 10:10 
AnswerRe: Using results multiple times Pin
snorkie24-May-07 10:23
professionalsnorkie24-May-07 10:23 
GeneralRe: Using results multiple times Pin
mikker_12326-May-07 1:01
mikker_12326-May-07 1:01 
GeneralRe: Using results multiple times Pin
snorkie28-May-07 15:35
professionalsnorkie28-May-07 15:35 

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.