Hello दोस्तों! आज मैं आपको इस पोस्ट में Integrity constraints in RDBMS in Hindi के बारें में बताऊंगा, और इसके example को भी पढेंगे, तो चलिए शुरू करते हैं:-
Integrity constraints in Hindi
Integrity constraints:-
यह एक प्रकार की condition है जिसे database schema पर लगाया जाता है ताकि आवश्यकतानुसार data enter हो सके । अगर condition staiafy होती है ताकि data को store किया जाता है
Integrity constraints निम्न प्रकार के होंते है
1. Entity integrity constraints
2. Referential Integrity Constraints
3. Domain constraints
Entity integrity constraints: –
इसमें primary key की value null नहीं कर सकते हैं
Referential Integrity Constraints: –
यह एक प्रकार की condition है जो securityप्रदान करती है कि एक relation में आने वाले attribute के set की value set में दूसरे relation में मौजूद है।
Difference between DBMS and RDBMS in Hindi
Domain constraints:-
यह integrity constraints का primary रूप है domain प्रत्येक column में आने वाले data का collation है । domain पर condition इसलिए भी बनाई जाती है। क्योंकि कई सारे attribute का domain same हो सकता है।
Ex:-
हम एक domain का ऐसा set बना रहे हैं।जिसमे mobile number 10 digit का हो तथा उसकी value null ना हो जाये।
Create domain mobile no. Int(10);
Domain constraints mobile no. (Value not null)
निवेदन:- अगर आपके लिए यह आर्टिकल useful रहा हो तो इसे अपने दोस्तों और classmates के साथ अवश्य share कीजिये, या अन्य विषयों से related कोई question हो तो नीचे कमेंट के द्वारा बताइए. thanks.
Helpful 📝
What is key constraints I’m totally confused in entity constraints and key constraints..! Please explain it.