Click here to Skip to main content
15,905,071 members
Home / Discussions / Database
   

Database

 
GeneralRe: Stored procedure question Pin
Bill Dean10-Feb-04 9:26
Bill Dean10-Feb-04 9:26 
GeneralRe: Stored procedure question Pin
Mazdak10-Feb-04 9:28
Mazdak10-Feb-04 9:28 
GeneralRe: Stored procedure question Pin
Husein12-Feb-04 5:45
Husein12-Feb-04 5:45 
GeneralBrick Wall!! Pin
Kwai Cheng Kane10-Feb-04 6:04
Kwai Cheng Kane10-Feb-04 6:04 
GeneralRe: Brick Wall!! Pin
Bill Dean10-Feb-04 8:09
Bill Dean10-Feb-04 8:09 
GeneralRe: Brick Wall!! Pin
Bill Dean10-Feb-04 8:12
Bill Dean10-Feb-04 8:12 
GeneralRe: Brick Wall!! Pin
10-Feb-04 10:13
suss10-Feb-04 10:13 
GeneralRe: Brick Wall!! Pin
Kwai Cheng Kane10-Feb-04 9:06
Kwai Cheng Kane10-Feb-04 9:06 
The first (stored procedure) won't work, because the record selection criteria is too flexible. When I said I "dynamically" built the command strings, I literally allow the user to choose one of several fields in the table and present them with allowed values. Those fields not selected by the user are not added to the "Where" clause. Then, I reuse the exact same "Where" clause on the DELETE command. This alone would require the creation of several stored procedures to make it as flexible as I need it to be.

The fewer the additional fields selected, the more records will be included in the process. The only non-optional selection criteria is record date.

The second part of your suggestion, about trying to pass in parameters the value... I am researching this. It could work, but I am a bit new to the passing of parameters in a db exec command call, so that will take a bit of experimentation to see if it will accomplish the task.

GeneralRe: Brick Wall!! Pin
Bill Dean10-Feb-04 10:28
Bill Dean10-Feb-04 10:28 
GeneralRe: Brick Wall!! Pin
Kwai Cheng Kane10-Feb-04 10:51
Kwai Cheng Kane10-Feb-04 10:51 
GeneralRe: Brick Wall!! Pin
Kwai Cheng Kane10-Feb-04 11:34
Kwai Cheng Kane10-Feb-04 11:34 
GeneralRe: Brick Wall!! Pin
Kwai Cheng Kane10-Feb-04 12:45
Kwai Cheng Kane10-Feb-04 12:45 
QuestionHow to replace a string while retrieving data from an access database in ASP. NET Pin
mmxguy10-Feb-04 3:05
mmxguy10-Feb-04 3:05 
AnswerRe: How to replace a string while retrieving data from an access database in ASP. NET Pin
michanne11-Feb-04 9:47
michanne11-Feb-04 9:47 
GeneralDAO query by array long[] numbers Pin
arbrsoft9-Feb-04 0:14
arbrsoft9-Feb-04 0:14 
GeneralRe: DAO query by array long[] numbers Pin
Steve S10-Feb-04 6:18
Steve S10-Feb-04 6:18 
QuestionMultiple Header DataGrid....anyone?? Pin
srt76-Feb-04 9:49
srt76-Feb-04 9:49 
AnswerRe: Multiple Header DataGrid....anyone?? Pin
-Dr_X-7-Feb-04 21:05
-Dr_X-7-Feb-04 21:05 
AnswerRe: Multiple Header DataGrid....anyone?? Pin
Marcie Jones10-Feb-04 6:46
Marcie Jones10-Feb-04 6:46 
GeneralSQL Server problem Pin
srt76-Feb-04 9:47
srt76-Feb-04 9:47 
GeneralRe: SQL Server problem Pin
Hesham Amin8-Feb-04 8:40
Hesham Amin8-Feb-04 8:40 
GeneralAdapter Update function not working for me. Pin
Michael A. Barnhart6-Feb-04 4:31
Michael A. Barnhart6-Feb-04 4:31 
GeneralRe: Adapter Update function not working for me. Pin
Michael A. Barnhart6-Feb-04 13:24
Michael A. Barnhart6-Feb-04 13:24 
GeneralRe: Adapter Update function not working for me. Pin
Bill Dean6-Feb-04 17:11
Bill Dean6-Feb-04 17:11 
GeneralRe: Adapter Update function not working for me. Pin
Michael A. Barnhart7-Feb-04 15:25
Michael A. Barnhart7-Feb-04 15:25 

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.