Click here to Skip to main content
15,892,059 members
Home / Discussions / Database
   

Database

 
AnswerRe: getting second highest date from a sql table Pin
Krish - KP26-Jul-07 2:21
Krish - KP26-Jul-07 2:21 
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 
Gosh! That was a much more comprehensive answer than the one I gave.

My only comment would be:

Mike Dimmick wrote:
call sp_executesql with a dynamically-constructed query. The reason I recommend doing it in the client code is that C# and VB's string manipulation support is much better than T-SQL's.


The string manipulation may be better in the client code, but you open up some security concerns, in my view. I prefer the database to be the master of the queries run on it and allowing dynamic code through from the client shoots that idea down. Building the dyanmic code in SQL at least adds the possibility of running additional checks and knowing that the SQL is being built internally from a more trusted source.


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

AnswerRe: Stored Procedure Issue Pin
Colin Angus Mackay26-Jul-07 0:48
Colin Angus Mackay26-Jul-07 0:48 
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 

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.