← RGPV CS-502 DBMS June 2025 solved question paper
RGPV CS-502 (GS) | June 2025 | Q3(b)
Question (restated): Distinguish strongly typed and weakly typed domains in the relational model.
Answer
A domain is the permitted set of values for an attribute. Strong typing enforces type compatibility and rejects inappropriate operations or assignments unless an explicit conversion is allowed. Weak typing permits more implicit coercions. For example, comparing an integer identifier with a text value may require CAST in one system but be automatically converted in another. SQL implementations vary; these terms describe enforcement behaviour rather than two formal categories of relational domains. A domain can additionally constrain values, for example marks between 0 and 100. Strong enforcement helps detect mistakes early; permissive coercion can simplify imports but may hide errors or change comparison semantics. Explicit casts, CHECK constraints and validation make behaviour predictable.
Discussion
Ask a question, share your thoughts or report an error.
Sign in to participate in the discussion.
Join the discussion