Click here to Skip to main content
15,888,351 members
Home / Discussions / Database
   

Database

 
QuestionRe: date format problem with asp & mssql. Help! Pin
dansoft7-Feb-06 15:48
dansoft7-Feb-06 15:48 
AnswerRe: date format problem with asp & mssql. Help! Pin
Dave Kreskowiak7-Feb-06 16:11
mveDave Kreskowiak7-Feb-06 16:11 
AnswerRe: date format problem with asp & mssql. Help! Pin
dansoft7-Feb-06 17:54
dansoft7-Feb-06 17:54 
GeneralRe: date format problem with asp & mssql. Help! Pin
Dave Kreskowiak8-Feb-06 2:08
mveDave Kreskowiak8-Feb-06 2:08 
GeneralRe: date format problem with asp & mssql. Help! Pin
dansoft8-Feb-06 2:53
dansoft8-Feb-06 2:53 
GeneralRe: date format problem with asp & mssql. Help! Pin
Dave Kreskowiak8-Feb-06 11:58
mveDave Kreskowiak8-Feb-06 11:58 
GeneralRe: date format problem with asp & mssql. Help! Pin
dansoft9-Feb-06 7:37
dansoft9-Feb-06 7:37 
GeneralRe: date format problem with asp & mssql. Help! Pin
Dave Kreskowiak9-Feb-06 11:10
mveDave Kreskowiak9-Feb-06 11:10 
You're not getting it...Sigh | :sigh:

Well, you're putting the conversion in NOW. You're previous posts just used the value entered in a TextBox. The "conversion" saves you in this particular case. But try converting a username or password into something else to "verify" it's not SQL "unfriendly".

You just DO NOT concatenate strings together to build SQL statements in real-world code. You have to do so much more to validate that the entered data can do no harm, it's silly. Even after it's been "verified", you still must treat any user input as hostile to your database and write your code accordingly.

Write write your SQL code so the database (without any external help at all) can practically run itself just using stored procedures, views, and triggers. Then you wrap your C# code around that.

If you attempt to get junk like this into a retail product, you'll lose your job immediately.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: date format problem with asp & mssql. Help! Pin
dansoft9-Feb-06 14:37
dansoft9-Feb-06 14:37 
Questioninserting images Pin
Net-Programer-and-developer7-Feb-06 5:30
Net-Programer-and-developer7-Feb-06 5:30 
AnswerRe: inserting images Pin
Dave Kreskowiak7-Feb-06 7:59
mveDave Kreskowiak7-Feb-06 7:59 
Questionsql server credentials Pin
Dimitris Iliopoulos7-Feb-06 4:47
Dimitris Iliopoulos7-Feb-06 4:47 
AnswerRe: sql server credentials Pin
Mike Dimmick7-Feb-06 5:45
Mike Dimmick7-Feb-06 5:45 
QuestionCumalative Sum and Supply/Demand Delay Pin
T-Smooth7-Feb-06 4:41
T-Smooth7-Feb-06 4:41 
QuestionIf statement in select clause... Help! Pin
awisey7-Feb-06 4:25
awisey7-Feb-06 4:25 
AnswerRe: If statement in select clause... Help! Pin
Mike Ellison7-Feb-06 5:56
Mike Ellison7-Feb-06 5:56 
AnswerRe: If statement in select clause... Help! Pin
Michael Potter7-Feb-06 5:58
Michael Potter7-Feb-06 5:58 
QuestionSQL & DAO Connection Pin
paykani6-Feb-06 18:00
paykani6-Feb-06 18:00 
AnswerRe: SQL & DAO Connection Pin
Dave Kreskowiak7-Feb-06 7:56
mveDave Kreskowiak7-Feb-06 7:56 
QuestionSQL Server Express 2005 Pin
Bassam Abdul-Baki6-Feb-06 15:41
professionalBassam Abdul-Baki6-Feb-06 15:41 
QuestionPluggable Reports Pin
ProffK6-Feb-06 10:19
ProffK6-Feb-06 10:19 
QuestionHow to menage concurrency with timestamp (C#) Pin
ventomito6-Feb-06 7:00
ventomito6-Feb-06 7:00 
AnswerRe: How to menage concurrency with timestamp (C#) Pin
Edbert P6-Feb-06 15:46
Edbert P6-Feb-06 15:46 
QuestionDatabase Auditing (Urgent) Pin
Roro Adel6-Feb-06 4:08
Roro Adel6-Feb-06 4:08 
AnswerRe: Database Auditing (Urgent) Pin
Alex Deem6-Feb-06 4:41
Alex Deem6-Feb-06 4:41 

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.