Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
Dev@nlkss
134 Posts |
Posted - 2008-12-15 : 10:00:16
|
Hi Visakh,Its Working finethanks for ur replyi have one more requirementits really urgentI am Working on Filter criteria...Filter criteria should allow user to retreive names that match any/all of criteria entered from 6 textboxes...which is the best way to write a query.if i am not clear plz forgiv and try to understandits really urgentthanks in advanceSatya |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-12-15 : 10:40:00
|
just make a procedure with 6 parameters @Param1,@param2,...@Param6then pass values from 6 textboxes to spthen in sp the where condition will likeWHERE (field1=@Param1 OR @param1 IS NULL)AND (field2=@Param2 OR @param2 IS NULL)AND (field3=@Param3 OR @param3 IS NULL)....AND (field6=@Param6 OR @param6 IS NULL) also make default values of parameters as NULL |
 |
|
Dev@nlkss
134 Posts |
Posted - 2008-12-16 : 03:49:53
|
Hi visakh,its workingthanks a lotand i also have to work on DBA apsectsmy basic areas are1.daily backups2.performance tuning3.index creation is there any material or free online links for these topicsplz sugest meand also on sql reporting servicesSatya |
 |
|
|
|
|