sql - Issue with check constraint -


i want create check constraint allow session of date end session greater date begin session :

alter table sessionn add constraint checkdate_ck check ( sessionn.datebeginsessionstage <sessionn.dateendsessionstage) 

but have probleme message :

msg 547, level 16, state 0, line 1 alter table statement conflicted check constraint "checkdate_ck". conflict occurred in database "v12013", table "dbo.sessionn".


Comments

Popular posts from this blog

double exclamation marks in haskell -

qml - Is it possible to implement SystemTrayIcon functionality in Qt Quick application -

Qt Creator - Searching files with Locator including folder -