TABLE

Tables in Sql Server stores data in the form of Rows and columns. Below is the basic syntax for creating Table in Sql Server. CREATE TABLE <TableName> ( <ColumnName1> <Datatype> [CONSTRAINT], <ColumnName2> <Datatype> [CONSTRAINT], . . <ColumnNameN> <Datatype> [CONSTRAINT] ) Example: CREATE TABLE Customer ( CustomerId INT NOT NULL, Name NVARCHAR(100) NOT NULL, PhoneNumber VARCHAR(15)Continue reading “TABLE”

DATABASE

A Database in SQL Server consists of mainly database objects like Tables, Stored Procedures, User Defined Functions, Views and so on. A database instance will usually be having multiple System Defined databases and User created databases. MASTER,MSDB,MODEL and TEMPDB databases are the System Databases which shipped with SQL Server by default. SYSTEM DATABASE DESCRIPTION MASTERContinue reading “DATABASE”

Design a site like this with WordPress.com
Get started