Click here to Skip to main content
15,917,559 members
Home / Discussions / Database
   

Database

 
AnswerRe: getting second highest date from a sql table Pin
hk7792126-Jul-07 2:34
hk7792126-Jul-07 2:34 
Questioninserting values by checking the existing values Pin
dsaikrishna26-Jul-07 2:12
dsaikrishna26-Jul-07 2:12 
AnswerRe: inserting values by checking the existing values Pin
Eliz.k27-Jul-07 0:20
Eliz.k27-Jul-07 0:20 
QuestionHiding Report Parameters. Pin
Karuna Kumar26-Jul-07 0:34
Karuna Kumar26-Jul-07 0:34 
QuestionStored Procedure Issue Pin
Brendan Vogt26-Jul-07 0:00
Brendan Vogt26-Jul-07 0:00 
AnswerRe: Stored Procedure Issue Pin
Mike Dimmick26-Jul-07 0:46
Mike Dimmick26-Jul-07 0:46 
GeneralRe: Stored Procedure Issue Pin
Colin Angus Mackay26-Jul-07 0:52
Colin Angus Mackay26-Jul-07 0:52 
AnswerRe: Stored Procedure Issue Pin
Colin Angus Mackay26-Jul-07 0:48
Colin Angus Mackay26-Jul-07 0:48 
ma se wrote:
I'm not sure how to construct this stored procedure because not all the input values will have a value.


Then they will be null?

SELECT * FROM MyTable
WHERE (someColumn = @param1 OR @param1 IS NULL) AND
      (someOtherColumn = @param2 OR @param2 IS NULL) AND... so on



Upcoming events:
* Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ...

"I wouldn't say boo to a goose. I'm not a coward, I just realise that it would be largely pointless."


My website

GeneralRe: Stored Procedure Issue Pin
Mike Dimmick26-Jul-07 3:05
Mike Dimmick26-Jul-07 3:05 
GeneralRe: Stored Procedure Issue Pin
Brendan Vogt26-Jul-07 3:10
Brendan Vogt26-Jul-07 3:10 
AnswerRe: Stored Procedure Issue Pin
Aaron VanWieren26-Jul-07 2:31
Aaron VanWieren26-Jul-07 2:31 
GeneralRe: Stored Procedure Issue Pin
Brendan Vogt26-Jul-07 3:09
Brendan Vogt26-Jul-07 3:09 
Questioncoping data in sql server express Pin
Amjath Rahman25-Jul-07 22:55
Amjath Rahman25-Jul-07 22:55 
AnswerRe: coping data in sql server express Pin
Blue_Boy25-Jul-07 23:12
Blue_Boy25-Jul-07 23:12 
GeneralRe: coping data in sql server express Pin
Amjath Rahman25-Jul-07 23:24
Amjath Rahman25-Jul-07 23:24 
GeneralRe: coping data in sql server express Pin
Blue_Boy25-Jul-07 23:37
Blue_Boy25-Jul-07 23:37 
AnswerRe: coping data in sql server express Pin
Aaron VanWieren26-Jul-07 2:27
Aaron VanWieren26-Jul-07 2:27 
GeneralRe: coping data in sql server express Pin
Blue_Boy26-Jul-07 3:55
Blue_Boy26-Jul-07 3:55 
QuestionHow to reset identity(ID) field Pin
Mubashir Javaid25-Jul-07 22:09
Mubashir Javaid25-Jul-07 22:09 
AnswerRe: How to reset identity(ID) field Pin
Vasudevan Deepak Kumar25-Jul-07 22:15
Vasudevan Deepak Kumar25-Jul-07 22:15 
GeneralRe: How to reset identity(ID) field Pin
Muhammad Qasim Pasta25-Jul-07 22:37
Muhammad Qasim Pasta25-Jul-07 22:37 
AnswerRe: How to reset identity(ID) field Pin
Blue_Boy25-Jul-07 22:16
Blue_Boy25-Jul-07 22:16 
Questionasp horizontal data Pin
calvinjb888825-Jul-07 21:31
calvinjb888825-Jul-07 21:31 
AnswerRe: asp horizontal data Pin
Vasudevan Deepak Kumar25-Jul-07 22:17
Vasudevan Deepak Kumar25-Jul-07 22:17 
AnswerRe: asp horizontal data Pin
Pete O'Hanlon25-Jul-07 23:44
mvePete O'Hanlon25-Jul-07 23:44 

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.