Click here to Skip to main content
16,021,041 members
Home / Discussions / Database
   

Database

 
GeneralRe: Is it recommended to use trigger to manage business rules with SQL Server? Pin
Jörgen Andersson22-Jun-14 22:24
professionalJörgen Andersson22-Jun-14 22:24 
GeneralRe: Is it recommended to use trigger to manage business rules with SQL Server? Pin
Kornfeld Eliyahu Peter22-Jun-14 22:28
professionalKornfeld Eliyahu Peter22-Jun-14 22:28 
AnswerRe: Is it recommended to use trigger to manage business rules with SQL Server? Pin
Jörgen Andersson22-Jun-14 19:52
professionalJörgen Andersson22-Jun-14 19:52 
AnswerRe: Is it recommended to use trigger to manage business rules with SQL Server? Pin
Mycroft Holmes23-Jun-14 1:04
professionalMycroft Holmes23-Jun-14 1:04 
QuestionCompare two tabel and add/update query Pin
member002618-Jun-14 20:44
member002618-Jun-14 20:44 
AnswerRe: Compare two tabel and add/update query Pin
Mycroft Holmes18-Jun-14 22:33
professionalMycroft Holmes18-Jun-14 22:33 
QuestionValidate Date Time value on Sqlite before insert / update Pin
rahmat198517-Jun-14 22:29
rahmat198517-Jun-14 22:29 
AnswerRe: Validate Date Time value on Sqlite before insert / update Pin
Mycroft Holmes17-Jun-14 22:57
professionalMycroft Holmes17-Jun-14 22:57 
You should be storing the data as a datetime TYPE not a string, therefore convert (TryParse) your string input to a datetime and pass it to the database in the correct data type using a paramaterised query.

If it fails the tryparse it is invalid
Never underestimate the power of human stupidity
RAH

GeneralRe: Validate Date Time value on Sqlite before insert / update Pin
Eddy Vluggen18-Jun-14 0:28
professionalEddy Vluggen18-Jun-14 0:28 
GeneralRe: Validate Date Time value on Sqlite before insert / update Pin
Mycroft Holmes18-Jun-14 12:44
professionalMycroft Holmes18-Jun-14 12:44 
GeneralRe: Validate Date Time value on Sqlite before insert / update Pin
Bernhard Hiller19-Jun-14 22:26
Bernhard Hiller19-Jun-14 22:26 
GeneralRe: Validate Date Time value on Sqlite before insert / update Pin
Eddy Vluggen20-Jun-14 0:30
professionalEddy Vluggen20-Jun-14 0:30 
GeneralRe: Validate Date Time value on Sqlite before insert / update Pin
PIEBALDconsult20-Jun-14 9:45
mvePIEBALDconsult20-Jun-14 9:45 
GeneralRe: Validate Date Time value on Sqlite before insert / update Pin
Eddy Vluggen20-Jun-14 10:01
professionalEddy Vluggen20-Jun-14 10:01 
GeneralRe: Validate Date Time value on Sqlite before insert / update Pin
PIEBALDconsult20-Jun-14 10:30
mvePIEBALDconsult20-Jun-14 10:30 
GeneralRe: Validate Date Time value on Sqlite before insert / update Pin
Eddy Vluggen20-Jun-14 10:45
professionalEddy Vluggen20-Jun-14 10:45 
GeneralRe: Validate Date Time value on Sqlite before insert / update Pin
PIEBALDconsult20-Jun-14 9:43
mvePIEBALDconsult20-Jun-14 9:43 
AnswerRe: Validate Date Time value on Sqlite before insert / update Pin
Eddy Vluggen18-Jun-14 0:29
professionalEddy Vluggen18-Jun-14 0:29 
AnswerRe: Validate Date Time value on Sqlite before insert / update Pin
jschell18-Jun-14 11:23
jschell18-Jun-14 11:23 
AnswerRe: Validate Date Time value on Sqlite before insert / update Pin
PIEBALDconsult20-Jun-14 9:46
mvePIEBALDconsult20-Jun-14 9:46 
QuestionSQL search question Pin
Jassim Rahma16-Jun-14 22:14
Jassim Rahma16-Jun-14 22:14 
AnswerRe: SQL search question Pin
Eddy Vluggen16-Jun-14 22:29
professionalEddy Vluggen16-Jun-14 22:29 
AnswerRe: SQL search question Pin
NitinDhapte16-Jun-14 23:08
NitinDhapte16-Jun-14 23:08 
AnswerRe: SQL search question Pin
Shameel17-Jun-14 0:48
professionalShameel17-Jun-14 0:48 
GeneralRe: SQL search question Pin
Jassim Rahma17-Jun-14 1:35
Jassim Rahma17-Jun-14 1:35 

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.