sql dba training

First Normal Form (1NF)

First Normal Form (1NF)
A database table is said to be in 1NF if it contains no repeating fields/columns.

• Make a separate table for each set of related attributes and give each table a primary key. In simple words we can say it as
• There are no repeating or duplicate fields.
• Each cell contains only a single value.
• Each record is unique and identified by primary key

Example:

ITEM COLORS PRICES TAX
Pen Red,Blue 3.0 0.40
Scale Red,Yellow 3.0 0.40
Pen Red,Blue 3.0 0.40
Bag Blue,Black 120.0 12.52

This table is not in first normal form because:

• A. There are multiple fields in color lab.

• B. Records are repeating (Duplicate records) or no primary key. First Normal Form (1NF)

ITEM COLORS PRICES TAX
Pen Red 3.0 0.40
Pen Blue 3.0 0.40
Scale Red 3.0 0.40
Scale Yellow 3.0 0.40
Bag Blue 120.0 12.52
Bag Black 120.0 12.52

This table is now in first normal form.

What is Normalization? 

What is Normalization? 

Normalization is a database design technique which organizes tables in a manner that reduces redundancy and dependency of data.

It divides larger tables to smaller tables and link them using relationships.

In this tutorial, you will learn-

The inventor of the relational model Edgar Codd proposed the theory of normalization with the introduction of First Normal Form and he continued to extend theory with Second and Third Normal Form. Later he joined with Raymond F. Boyce  to develop the theory of Boyce-Codd Normal Form.

Theory of Data Normalization in Sql is still being developed further. For example there are discussions even on 6th Normal Form. But in most practical applications normalization achieves its best in 3rd Normal Form. The evolution of Normalization theories is illustrated below

1st Normal Form >> 2nd Normal Form >> 3rd Normal Form >>4th Normal Form >>  5th Normal Form >>6th Normal Form

Database Normalization Examples –

Assume a video library maintains a database of movies rented out. Without any normalization all information is stored in one table as shown below.

Further We shall discuss on different normal forms in detailed:

 

 

 

 

 

 

How to use INNER JOIN in SQL Server?

The most frequently used and important of the joins is the INNER JOIN. They are also referred to as an EQUIJOIN.

The INNER JOIN creates a new result table by combining column values of two tables (table1 and table2) based upon the join-predicate. The query compares each row of table1 with each row of table2 to find all pairs of rows which satisfy the join-predicate. When the join-predicate is satisfied, column values for each matched pair of rows of A and B are combined into a result row.

Syntax: The basic syntax of INNER JOIN is as follows:

SELECT table1.column1, table2.column2…
FROM table1
INNER JOIN table2
ON table1.common_field = table2.common_field;

Image Representation:

The INNER JOIN in SQL joins two tables according to the matching of a certain criteria using a comparison operator.

Sample Two Table Data:

FOODS:

 ITEM_ID ITEM_NAME ITEM_UNIT COMPANY_ID
1 Bread PCS 25
2 Sliced Bread PCS 16
3 Roasted Bread PCS 32
4 Garlic Bread PCS 48
5 Cheese Bread PCS 18
6 Fruit Bread PCS 22
7 Milk Bread PCS 28

Company:

COMPANY_ID COMPANY_NAME COMPANY_CITY
25 SUBWAY IRLAND
16 BURGER KING UNITED STATES
32 KFC UK
18 ROLLZONE AUSTRALIA
28 DOMINOS INDIA

Example

Here is an example of inner join in SQL between two tables.

To join item name, item unit columns from foods table and company name, company city columns from company table, with the following condition –

1. company_id of foods and company_id company table must be same, the following SQL statement can be used :

SELECT foods.item_name,foods.item_unit,
company.company_name,company.company_city
FROM foods
INNER JOIN company
ON foods.company_id =company.company_id;

Example of SQL INNER JOIN using JOIN keyword

To get item name, item unit columns from foods table and company name, company city columns from company table, after joining these mentioned tables, with the following condition –

1. company id of foods and company id of company table must be same,

the following SQL statement can be used :
SELECT foods.item_name,foods.item_unit,
company.company_name,company.company_city
FROM foods
JOIN company
ON foods.company_id =company.company_id;

SQL Server next version CTP 1.4

Microsoft is excited to announce a new preview for the next version of SQL Server (SQL Server v.Next). Community Technology Preview (CTP) 1.4 is available on both Windows and Linux. In this preview, they added the ability to schedule jobs using SQL Server Agent on Linux. We can try the preview in your choice of development and test environments now: www.sqlserveronlinux.com.

Key CTP 1.4 enhancements
The primary enhancement to SQL Server v.Next on Linux in this release is the ability to schedule jobs using SQL Server Agent. This functionality helps administrators automate maintenance jobs and other tasks, or run them in response to an event. Some SQL Server Agent functionality is not yet enabled for SQL Server on Linux. To learn more and see sample SQL Server Agent jobs, you can read detailed blog titled “SQL Server on Linux: Running scheduled jobs with SQL Server Agent” or attend an Engineering Town Hall about “SQL Server Agent and Full Text Search in SQL Server on Linux.”

The mssql-server-linux container image on Docker Hub now includes the sqlcmd and bcp command line utilities to make it easier to create and attach databases and automate other actions when working with containers. For additional detail on CTP 1.4, please visit What’s New in SQL Server v.Next, Release Notes and Linux
documentation.

In addition, SQL Server Analysis Services and SQL Server Reporting Services developer tools now support Visual Studio 2017. They are available for installation from the Visual Studio Marketplace providing the option for automatic updates going forward.

 

Get SQL Server v.Next CTP 1.4 today!
Try the preview of the next release of SQL Server today! Get started with the preview of SQL Server with our developer tutorials that show you how to install and use SQL Server v.Next on macOS, Docker, Windows, and Linux and quickly build an app in a programming language of your choice.

SQL DBA TRAINING – CDC, SERVER ALIAS n NETWORK PROTOCOLS

SQL DBA TRAINING – CDC, SERVER ALIAS n NETWORK PROTOCOLS

SQL SERVER DBA TRAINING CDC, Aliases, Network Protocols

This video explains SQL DBA Training Content – CDC [Change Data Capture], Server Aliases and Network Protocols.

Change Data Capture is used to AUDIT DML [INSERT. UPDATE, DELETE] and minimal DDL[ALTER TABLE .. ADD/ALTER COLUMN/CONSTRAINT .. statements] operations on any SQL Server Table. Applicable for Enterprise and Data Center Editions.

Server Aliases are used for SQL Server Connection Aliasing and Application Level Connection Abstraction.

Network Protocols to ensure secured transfer of TDS [Tabular Data Stream] Packets between SQL Server and any client like SSMS, SQLCMD, PSSDIAG, etc..

At SQL School Training Institute, we provide complete real-time and practical traininings on SQL Server T-SQL, SQL DBA, MSBI (SSIS, SSAS, SSRS), Power BI and more…

For details course curriculum available at :

http://sqlschool.com/SQLDBA-Online-Training.html

To register for a free demo, visit:
http://sqlschool.com/register.html

contact@sqlschool.com
+91-9666440801 (India)
+91-9542916779 (India)
+91-(0)40 64577244 (India)
+1-510-400-4845 (USA/Canada)

SQL DBA LIVE Online Training with Real-time Project

SQL DBA LIVE Online Training with Real-time Project

All Training sessions are completely practical, real-time.

One Real-time Project included in the course.

Free demo today @ June 16th 7 PM India Time.

Register Now.

 

Microsoft SQL Server Training from SQL School

Mail: contact@sqlschool.com
Skype: SQL School
Address/Map
USA: +1 (510) 400 – 4845
India: +91 (040) 64577244 / 66343536 (Off)
India: +91 09666440801 (Mob)

 

 

SQL DBA LIVE Online Training with Real-time Project

 

One Real-time Project included in the course.

Free demo today @ June 16th 7 PM India Time.

Register Now.

 

SQL DBA LIVE Online Training with Real-time Project

 

http://sqlschool.com/Register.html

Register today for free demo!!

Call us on +91 9666440801 (INDIA)
Call us on +1 (510) 400-4845 (USA/CANADA)

Mail us on contact@sqlschool.com
Website: http://www.sqlschool.com

SQL Server T-SQL & SQL DBA Training cum Certification

Please register for SQL Server / T-SQL & SQL DBA Free Demo onApr 13, 2016 11:00 AM IST at:

https://attendee.gotowebinar.com/register/1524505130912828676

Why Choose Us?

** Instructor Led LIVE Online Training
** Completely Practical and Real-time
** Advance Theory Material
** Weekly Revision Classes
** Highly Interactive and Real-time

After registering, you will receive a confirmation email containing information about joining the webinar.

SQL School Training School

SQL School Trainers – Online

Register at htttp://www.sqlschool.com/Register.html

Details at http://sqlschool.com/SQLDBA-Online-Training.html

Call us on +91 9666440801 (INDIA)
Call us on +1 (510) 400-4845 (USA/CANADA)

Mail us on contact@sqlschool.com
Website: http://www.sqlschool.com

SQL DBA Training – Training and Project

Microsoft SQL Server Training from SQL School

Mail: contact@sqlschool.com
Skype: SQL School
Address/Map
USA: +1 (510) 400 – 4845
India: +91 (040) 64577244 / 66343536 (Off)
India: +91 09666440801 (Mob)

 

SQL DBA Training – Training and Project

 

SQL Server with SQL DBA LIVE Online Training, Inhouse Classroom Trainings from Real-time experts.

On-demand Video Trainings also available.

COMPLETE PRACTICAL and Real-time Training. Register today for free demo!!

Register at htttp://www.sqlschool.com/Register.html
Details at http://sqlschool.com/SQLDBA-Online-Training.html

Call us on +91 9666440801 (INDIA)
Call us on +1 (510) 400-4845 (USA/CANADA)

Mail us on contact@sqlschool.com
Website: http://www.sqlschool.com

SQL School: Best Trainers for Microsoft SQL Server Technologies

SQL School: Best Trainers for Microsoft SQL Server Technologies

Choose SQL School (http://www.sqlschool.com) for LIVE Online, Classroom and Video Trainings.

SQL School: Best Trainers for Microsoft SQL Server Technologies

Best Trainers for Microsoft SQL Server Technologies

 

SQL School: Best Trainers for Microsoft SQL Server Technologies 

 

About SQL School Training Institute

SQL School (Regd: SequelGate Innovative Technologies Pvt. Ltd.) is strongly committed to provide complete real-time and practical training exclusively on Microsoft SQL Server and Datawarehousing technologies. SQL School Training Institute established in February, 2008 is now one of the best training institute offering SQL Server and T-SQL (SQL Server) Training, SQL Database Administration (SQL DBA) Training and Business Intelligence (MSBI / SQL BI) Training.

 

Training Highlights:

  • Highly Interactive, Practical
  • Certifications & Resumes
  • Placements & Job Support
  • THREE Realtime Case Studies
  • One Real-time Project
  • 24×7 LIVE Server with Lab

 

 

Continue reading

SQL DBA LIVE Online Training – Free Demo

www.sqlschool.com

www.sqlschool.com

 

Please join for SQL Server / T-SQL & SQL DBA Free Demo on Mar 27, 2015 6:15 AM IST at:

https://attendee.gotowebinar.com/register/3801357308688063490

Completely Real-time and Practical.
Theory Material in Advance.
Trainer Profile @ https://www.linkedin.com/in/saiphanindra

After registering, you will receive a confirmation email containing information about joining the webinar.

Mail: contact@sqlschool.com

Skype: SQL School

Address/Map

 USA: +1 (510) 400 – 4845

India: +91 (040) 64577244 / 66343536 (Off)
India: +91 09666440801 (Mob)