Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check Constraint
Message
From
29/11/2021 15:07:19
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Check Constraint
Miscellaneous
Thread ID:
01682862
Message ID:
01682862
Views:
44
Hi,
What exactly does the CHECK CONSTRAINT command in the following do?
ALTER TABLE public.salesdetails  ADD  CONSTRAINT FK_salesdetails_sales FOREIGN KEY(isaleid)
REFERENCES public.sales (isaleid)
;
ALTER TABLE public.salesdetails CHECK CONSTRAINT FK_salesdetails_sales
;
This is code generated by SSMS.
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Next
Reply
Map
View

Click here to load this message in the networking platform