what do u mean by schema in sql
what is schema
Collapse
X
-
IT is the definition of an entire database.
It defines the structure and the type of contents that each data element within the structure can contain.
Within each schema is database objects like tables, views and previledges. -
Originally posted by richardsonIT is the definition of an entire database.
It defines the structure and the type of contents that each data element within the structure can contain.
Within each schema is database objects like tables, views and previledges.Comment
-
Originally posted by vedapriyacan u explain more clearly
Employee {EmpID, EmpName, Address, Phone, SSN, DeptID (FK)}
This would be the schema for the table Employee. EmpID is underlined to indicate it is a Primary Key and DeptID has FK in brackets to indicate it is a foreign key.
How a schema is written can depend on various factors. This is just one example. It is a broad term referring usually to the physical design structure of the tables in a database.Comment
-
Originally posted by vedapriyawhat do u mean by schema in sqlComment
-
Originally posted by jayakrishnankSchema is the user which owns various database objects like table, procedures, functions, sequences etc...
All Schema can be users but all users cannot be a schema.Comment
Comment