官术网_书友最值得收藏!

Database objects

Tables are the containers for database records. They represent basic elements of the database structure. For example, Students, Educators, Courses, and Grades can be a table in some hypothetical eUniversity system. Tables are built around data types bounded on table columns. For example, LastName - nvarchar(50), Salary - Money, BirthDate - datatime. Every data operation includes tables and some of the other database objects (listed as follows):

  • Stored procedures are objects in the database for storing methods of actions. A procedure could be described as a program that processes actions in the database. For example, inserts, updates, and/or delete rows in a table.
  • Functions are objects in the database that encapsulate formulas and calculations and return either scalar values, or sets of data.
  • Views are an object that consists of one select-statement, and are referenced as a table. Normalized database views bring normalized data together and masks complex table structures.
  • Schemas are an organizational object and can be described as a folder in a filesystem. All objects in a database must belong to a schema.
  • User-defined objects are objects that consist of an interpretation of a native SQL Server data type and offer a standardized method of describing the value of columns, variables, and parameters.
主站蜘蛛池模板: 鲁山县| 荔波县| 临澧县| 新绛县| 汪清县| 张北县| 法库县| 漠河县| 井研县| 信宜市| 崇义县| 东台市| 布尔津县| 周至县| 潞城市| 泰安市| 包头市| 兖州市| 浮山县| 鹿邑县| 九龙城区| 南投市| 德化县| 洛宁县| 自贡市| 东乡| 逊克县| 宣武区| 措勤县| 华容县| 昆山市| 泰顺县| 富锦市| 思茅市| 泰州市| 安福县| 砀山县| 剑河县| 东辽县| 巫溪县| 灯塔市|