Download presentation
Presentation is loading. Please wait.
Published byElaine Norris Modified over 9 years ago
1
Platinum Gold Silver www.sqlbits.com Group BY: [Food and Drink at Reading Bowl, see you there!] Feedback Forms: [Voucher for £30 book on return of Form] Lunch Time Sessions: [Idera in Everest, Quest in Memphis, Grok in Chic 1 and 2] Learn & Enjoy [Put your phone on Vibrate!] Ask The Experts [Sessions need to finish on time, take questions to the ATE area]
2
Premier League PGDPTS 1Nottingham Forest3846114 2Man Utd38583 3Man City38576 4Liverpool3810 74 5Everton38272 6Portsmouth38370 7Blackburn38268 8Chelsea3864 9Aston Villa383 62 10Newcastle38262
4
Clustered Index The data is physically stored in the order of clustered index key.
7
Non Clustered index Is used by the engine when a query is sorted by the index key. create index IX_HR_Person_surname on HR.Person(surname) select forename, surname, dob from HR.Person order by surname
8
Table variables are in memory structuresCreating a temp table in a transaction causes blockingISNULL and COALESCE are the same Point in time recovery cannot be achieved in bulk logged mode. Instant file initialisation is only for enterprise edition
9
The server writes sequentially and so a cursor to write row by row is just as fast Exists, Non Exists, IN and NOT IN perform differently To free space in my transaction log I need to truncate it. Sysdepends provides an accurate dependency list
11
Challenge 1 Write the TSQL to get a string of a date in the format “YYYY mon dd” i.e. 2007 April 04
12
Challenge 2 Write the TSQL to get a date from a string in the format “YYYY mon dd” i.e. 2007 April 04
13
Challenge 3 Write the TSQL to get a number padded to with zeros on both side of the decimal point “00.00” i.e. 1.1 becomes 01.10 and 0 into 00.00
14
SQLCLR Tips
15
Take Away Just because it was true before doesn’t mean its true now, even in football Try to understand why? CLR is a good thing, become its friend
16
Reference Blogs http://sqlblogcasts.com/blogs/simons http://sqlblogcasts.com/blogs/simons http://sqlblogcasts.com/blogs/tonyrogerson http://sqlblogcasts.com/blogs/tonyrogerson Contact Me Simon@onarc.com Simon@onarc.com Feedback – Complete the forms
17
Platinum Gold Silver www.sqlbits.com www.SQLBits.com [Conference Web site] www.SQLBlogCasts.com [Becoming the premier Blogging site for SQL professionals] www.SQLServerFAQ.com [UK SQL Server Community Website] UK SQL Bloggers cwebbbi.spaces.live.com sqlblogcasts.com/blogs/simons sqlblogcasts.com/blogs/tonyrogerson Feedback Forms!! Contact Me Simon@onarc.com
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.