MS SQL Server 2012 How-to - Creating Database Objects in MS SQL Server 2012 - Part 2/5

Publié le: 01 février 2017
sur la chaîne: baghul
157
1

https://sqlserver2014tutorial.com/

In this MS SQL Server 2012 training video series, we cover database objects and how to create them. A database object is any defined object in a database that is used to store or reference data. Some examples of database objects include tables, views, clusters, sequences, indexes, and synonyms.

You can create a database or object through Microsoft SQL Server Management Studio (SSMS), Transact SQL (TSQL) or the Template Browser.

In this part (2 of 5), we look at and demonstrate creating a database using Transact SQL (TSQL) using the ‘CREATE DATABASE’ command. Syntax for this method:
CREATE DATABASE [name of database] ON
LOG ON
o NAME – Logical name for data file
o FILENAME – Physical location for data file
o SIZE – Initial size in megabytes (MB)
o MAXSIZE – Maximum file size in MB
o FILEGROWTH – Filegrowth parameter using percent or MB
ALTER DATABASE – Modifies a database, files or filegroup associated with a database
sp_helpdb – Gives basic information on database
DROP DATABASE – Deletes a database

In the second part of this video, we look at creating a table in SQL Server 2012. Just like the Database Object, the Table Object can be created using SSMS, TSQL or Template Browser.

A Table is made up of Fields / Columns (Info like SSN, CustomerID) and Records / Rows (complete instance of one item or specific customer).

Please subscribe to our channel and like our videos! We have many training videos on MS SQL 2012

Visit our other sites:
https://www.learningcomputer.com
https://datatechnologyllc.com
https://sqlserver2014tutorial.com/


Sur cette page du site, vous pouvez voir la vidéo en ligne MS SQL Server 2012 How-to - Creating Database Objects in MS SQL Server 2012 - Part 2/5 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur baghul 01 février 2017, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 157 fois et il a aimé 1 téléspectateurs. Bon visionnage!