Click here to Skip to main content
15,895,256 members
Home / Discussions / Database
   

Database

 
QuestionHow to edit a view Pin
mhh11228-Sep-09 12:17
mhh11228-Sep-09 12:17 
AnswerRe: How to edit a view Pin
Ashfield28-Sep-09 21:00
Ashfield28-Sep-09 21:00 
QuestionConstraint question Pin
ToddHileHoffer28-Sep-09 7:31
ToddHileHoffer28-Sep-09 7:31 
AnswerRe: Constraint question Pin
Abhishek Sur28-Sep-09 10:35
professionalAbhishek Sur28-Sep-09 10:35 
GeneralRe: Constraint question Pin
i.j.russell28-Sep-09 10:55
i.j.russell28-Sep-09 10:55 
GeneralRe: Constraint question Pin
Abhishek Sur29-Sep-09 4:04
professionalAbhishek Sur29-Sep-09 4:04 
GeneralRe: Constraint question Pin
J4amieC29-Sep-09 6:00
J4amieC29-Sep-09 6:00 
AnswerRe: Constraint question Pin
David Skelly29-Sep-09 22:28
David Skelly29-Sep-09 22:28 
I don't think you can do this via a constraint.

You might be able to do this with a trigger that runs on insert/update to check the date and raise an error if it violates your rule.

Another possibility might be to restrict update and insert permissions to the table so that the only way to update/insert is via a stored procedure which does the check for null dates and raises an error accordingly.
GeneralRe: Constraint question Pin
ToddHileHoffer30-Sep-09 2:34
ToddHileHoffer30-Sep-09 2:34 
Questionhierarchy Pin
mehrdadc4828-Sep-09 4:42
mehrdadc4828-Sep-09 4:42 
AnswerRe: hierarchy Pin
J4amieC28-Sep-09 5:36
J4amieC28-Sep-09 5:36 
AnswerRe: hierarchy Pin
i.j.russell28-Sep-09 10:56
i.j.russell28-Sep-09 10:56 
QuestionXML Column in SQL Server 2005 Pin
Kartik Kumar28-Sep-09 0:02
Kartik Kumar28-Sep-09 0:02 
QuestionSSRS - Web Service vs URL access Pin
devvvy27-Sep-09 21:36
devvvy27-Sep-09 21:36 
AnswerRe: SSRS - Web Service vs URL access Pin
r a m e s h29-Sep-09 0:21
r a m e s h29-Sep-09 0:21 
GeneralRe: SSRS - Web Service vs URL access Pin
devvvy29-Sep-09 0:24
devvvy29-Sep-09 0:24 
QuestionNo error from SSMS but from applciation [modified] ------ Never mind, solved Pin
Mustafa Ismail Mustafa26-Sep-09 9:58
Mustafa Ismail Mustafa26-Sep-09 9:58 
Questionrun date query in nvarchar type, how ? Pin
E_Gold26-Sep-09 8:25
E_Gold26-Sep-09 8:25 
AnswerRe: run date query in nvarchar type, how ? Pin
Luc Pattyn26-Sep-09 10:10
sitebuilderLuc Pattyn26-Sep-09 10:10 
AnswerRe: run date query in nvarchar type, how ? Pin
Mycroft Holmes26-Sep-09 15:07
professionalMycroft Holmes26-Sep-09 15:07 
GeneralRe: run date query in nvarchar type, how ? Pin
Luc Pattyn26-Sep-09 16:44
sitebuilderLuc Pattyn26-Sep-09 16:44 
GeneralRe: run date query in nvarchar type, how ? Pin
Mycroft Holmes26-Sep-09 17:51
professionalMycroft Holmes26-Sep-09 17:51 
GeneralRe: run date query in nvarchar type, how ? Pin
Richard MacCutchan26-Sep-09 22:00
mveRichard MacCutchan26-Sep-09 22:00 
Questiondatagridview in tabcontrol! Pin
jeshra27925-Sep-09 18:31
jeshra27925-Sep-09 18:31 
AnswerRe: datagridview in tabcontrol! Pin
Mycroft Holmes26-Sep-09 15:12
professionalMycroft Holmes26-Sep-09 15:12 

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.