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

Veröffentlicht am: 01 Februar 2017
auf dem Kanal: 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/


Auf dieser Seite können Sie das Online-Video MS SQL Server 2012 How-to - Creating Database Objects in MS SQL Server 2012 - Part 2/5 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer baghul 01 Februar 2017 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 157 Mal angesehen und es wurde von 1 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!