DBMS CONSTRAINTS IN HINDI

Types of constraints:- प्रत्येक table में डेटा को insert करने के लिए कुछ business rules होते है। ये business rules, data constraints कहलाते है।
DBMS में constraints निम्नलिखित प्रकार के होते है।

1:-NOT NULL constraints:- इस constraints का प्रयोग तब किया जाता है जब किसी column को खाली ना रखना हो। NOT NULL constraints एक column की value को null होने से रोकता है। जब किसी column में इस constraints का प्रयोग किया जाता है तो उस कॉलम को null वैल्यू provide नही की जा सकती।

2:-Primary key constraints:- यह constraints डेटाबेस टेबल में प्रत्येक row (record) को विशिष्ट रूप से identify करता है। primary key कभी भी null वैल्यू contain नही कर सकती है। यह हमेशा एक यूनिक वैल्यू contain करती है।

3:- Foreign key constraints: Foreign key constraints का प्रयोग दो tables में data के मध्य लिंक(link) provide करने के लिए करते है। इस constraints का प्रयोग referential integrity को लागू करने के लिए किया जाता है।

4:- Check constraints:-Check constraints का प्रयोग column में स्थापित की गयी value को limit करने में किया जाता है। इस constraints का प्रयोग domain integrity को लागू करने के लिए किया जाता है।

5:- UNIQUE constraints:-unique constraints, column की वैल्यू की uniqueness को दर्शाता है। Unique constraints यह ensure करता है कि column या field केवल unique values contain करती है इसका अर्थ यह है कि column की सभी values अलग अलग होंगी।

6:- DEFAULT Constraints:-इस constraints का प्रयोग column को default वैल्यू provide करने के लिए किया जाता है। जब किसी column को कोई भी value नही provide की जाती है तब Default Constraints का प्रयोग किया जाता है।

निवेदन:- आपको ये पोस्ट कैसी लगी आप हमें कमेंट के माध्यम से अवश्य बतायें। हमें आपके कमेंट्स का बेसब्री से इन्तजार रहता है। अगर आपके कोई सवाल या कोई topics है तो हमें बतायें हम उसको एक या दो दिन के अंदर यहाँ प्रकाशित करेंगे और हाँ पोस्ट शेयर जरूर करें।

16 thoughts on “DBMS CONSTRAINTS IN HINDI”

  1. tq sir..really helpfull site hai coz bohot si chize thi usme confution hai ab vo lear hore isse so tq so much for the website..!

    Reply
  2. Dear Yugal Ji,
    This is a very helpful site. i am very thankful to you for this work, but there is no option to download in pdf file.
    So that anybody can download their topics to read easily without internet. Aap pdf me download ka option bhi provide karaiye

    Reply
  3. I am sorry to say that your can’t provide full information about constraint
    Like:
    1 candited key
    2 Alternet key
    3 Super key
    4 composite key
    5 index constraint

    Reply

Leave a Comment