--1.
Install MS SQL Server
-- Go to official microsoft website and download ms sql server installation (choose developer)
-- launch the setup file
-- select basic or custom for advance options
--- accept license terms , choose installation path and configure server settings
--click on install and wait for process to finish
-- use sql server management studio to connect to your sql and start managing databases
--2. Give the difference between Char and Varchar data type.
-- char stands for character .
-- it is a fixed length datatype that is used to store text
--if you define char(10) and store 5 still sql reverese the space 10charcter
-- varchar:
-- varchar stands for variable character
--it is varaible length datatype to store text
-- if you define varachar(50) and store 5 character , sql wll only use space for 5 character not all 50
--3. Explain the types of SQL Commands.
-- sql commands are intructions to communicate with database
-- they are used to create table, insert data,, update records, delete records and many more
-- DDL - data definition language -> create , drop, alter
-- DML -- data manipulation language -> insert , update , delete , select
-- DCL -- data control language --> grand , revoke
-- TCL --> transaction control language -> commit,rollback
-- DQL -> data query language -> select
--4. Explain NVarchar and Nchar.
-- nchar -> (national character)
-- it is fixed length unicode character datatype
-- if you declare nchar(10) it will store 10 charcter
--- good when all the values have the same length
-- nvarchar: (national varaible character)
--it is a variable unicode characte datatype
-- if you declare nvarchar(50) , store 10 character it uses only that space it needs
-- more flexible than nchar