Sql server JOIN
Upcoming SlideShare
Loading in...5
×
 

Sql server JOIN

on

  • 892 views

 

Statistics

Views

Total Views
892
Views on SlideShare
559
Embed Views
333

Actions

Likes
0
Downloads
11
Comments
0

19 Embeds 333

http://exacthelp.blogspot.in 156
http://onlinesqlserver.blogspot.in 77
http://onlinesqlserver.blogspot.com 33
http://exacthelp.blogspot.com 25
http://onlinesqlserver.blogspot.ru 14
http://programing.hol.es 6
http://onlinesqlserver.blogspot.fi 5
http://vbdotnet.hol.es 3
http://onlinesqlserver.blogspot.kr 2
http://exacthelp.blogspot.co.uk 2
http://exacthelp.blogspot.co.at 2
http://onlinesqlserver.blogspot.de 1
http://webcache.googleusercontent.com 1
http://onlinesqlserver.blogspot.se 1
http://exacthelp.blogspot.mx 1
http://exacthelp.blogspot.com.ar 1
http://exacthelp.blogspot.com.br 1
http://exacthelp.blogspot.be 1
http://onlinesqlserver.blogspot.com.es 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Sql server JOIN Sql server JOIN Presentation Transcript

  • SQL SERVER Day 2
  • Natural Order• When you do a SELECT FROM the table, the rows will ALWAYS appear in the same order of insertion• It’s the “natural” chronologically-entered order of the rows
  • Natural Order• Table data is stored as a collection of 8-KB (8192-byte) pages.• 8060 bytes for the data on each page.• A row of data can not span multiple pages.
  • Why Optimizer chooses NCI• a nonclustered index will have less data in its pages than a clustered one• The size of a nonclustered index will be either equal to or less than the size of a clustered index… it will never be bigger…
  • Pages and Extents• The fundamental unit of data storage in SQL Server is the page.• Size of a page is 8 KB (96-byte header )• Header store system information about the page:• Page Number• Page Type• Free pace on the page• Allocation unit ID
  • Data Page
  • Extents• Page type: Data, Index, LOB, ROW_OVERFLOW_DATA etc.• Extents are the basic unit in which space is managed.• Extents are a collection of eight physically contiguous pages
  • ORDER BY CLAUSE• ORDER BY order_by_expression [ ASC | DESC ] [ ,...n ]
  • JOINING OF TABLES• INNER JOIN• LEFT OUTER JOIN• RIGHT OUTER JOIN• FULL OUTER JOIN• CROSS APPLY• OUTER APPLY
  • INNER JOIN
  • LEFT OUTER JOIN
  • RIGHT OUTER JOIN
  • FULL OUTER JOIN