.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Imran Ghani
Post New Web Links

SQL contraint

Posted By:      Posted Date: October 12, 2010    Points: 0   Category :ASP.Net
 

Hello I try to create one CONSTRAINT in Sql Server 2008 which checked that:

if Frecuencia = 0 then EsPar <> null   

I try to do this:

ALTER TABLE [IngresoxConsorcio] WITH NOCHECK

ADD CONSTRAINT CheckBimestral

CHECK(Frecuencia = 2 AND EsPar <> null)


But obviously don't works ! je!

Thanks!




View Complete Post


More Related Resource Links

Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend