Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Enhancing SQL Skills Expand / Collapse
Author
Message
Posted Friday, July 18, 2014 9:30 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, September 25, 2014 4:17 PM
Points: 18, Visits: 49
So I feel that I can write in general now any query for a report that my company would require of me.

However I would like to be able to write better and faster queries. And just overall be able to know all the nuances of SQL.

How would I go about that?
Post #1594125
Posted Friday, July 18, 2014 9:59 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Yesterday @ 12:44 PM
Points: 121, Visits: 501
I would start by reading many of the old posts/articles/stairways on this site.
I have been a DBD/artichect for ~ 15 years and I still manage to learn some new trick/syntax/way of thinking from one or more of the posters on this site at least weekly.

I also try and go to a few of the blogs/sites from some of the top posters (or at least the posters that I learn the most from) a few times per month to see if they posted anything interesting.

It sounds like you are a developer. If so, it would do you worlds of good to read up about what DBA's do.
IMHO, having a good understanding of what your teammates (DBA's, artichect's, developers) do will help you write more efficient code for your system.

Finally, pick an area of SQL that you don't have much knowledge in and work to understand and master it.
Post #1594136
Posted Friday, July 18, 2014 11:36 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Today @ 10:17 AM
Points: 2,127, Visits: 3,220
Read books, articles, etc., from/by Itzik Ben-Gan. Excellent!

SQL DBA,SQL Server MVP('07, '08, '09)

Carl Sagan said: "There is no such thing as a dumb question." Sagan obviously never watched a congressional hearing!
Post #1594176
Posted Friday, July 18, 2014 11:50 AM


SSCoach

SSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoach

Group: General Forum Members
Last Login: Today @ 11:02 AM
Points: 17,735, Visits: 15,601
ScottPletcher (7/18/2014)
Read books, articles, etc., from/by Itzik Ben-Gan. Excellent!


That is a good idea there.


Another good source of material is the SQL Saturday events. There is good material with all sorts of gems from different presenters at those events.




Jason AKA CirqueDeSQLeil
I have given a name to my pain...
MCM SQL Server


SQL RNNR

Posting Performance Based Questions - Gail Shaw
Posting Data Etiquette - Jeff Moden
Hidden RBAR - Jeff Moden
VLFs and the Tran Log - Kimberly Tripp
Post #1594181
Posted Friday, July 18, 2014 12:04 PM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Today @ 10:17 AM
Points: 2,127, Visits: 3,220
One very specific no-no that I still see all the time:

Never use ISNULL() or NULLIF() in a WHERE clause or JOIN.

You should avoid any functions against columns whenever possible (because of "SARGability"), but on rare occasions it's not possible. However, you can always avoid using ISNULL(), and you should.


SQL DBA,SQL Server MVP('07, '08, '09)

Carl Sagan said: "There is no such thing as a dumb question." Sagan obviously never watched a congressional hearing!
Post #1594186
Posted Friday, July 18, 2014 12:11 PM
SSCarpal Tunnel

SSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal Tunnel

Group: General Forum Members
Last Login: Today @ 11:00 AM
Points: 4,064, Visits: 3,499
This site has a lost of forum posts you can learn from. Reading them yields different approaches to a problem you might not think of yourself. SQL Saturday events are a great free events. The schedule is at http://www.sqlsaturday.com/. I don't know where you're located, but you may have a local PASS chapter near you where you can attend presentations.

Of particular interest to me:

Strings, Splits and Such
If you haven't done so yet, check out Jeff Moden's article on Tally Tables at http://www.sqlservercentral.com/articles/T-SQL/62867/. You'll find new uses for it constantly.
The next one to check out is the DelimitedSplit8K article at http://www.sqlservercentral.com/articles/Tally+Table/72993/.
Dwain Camps has an article on Pattern-Based splitting at http://www.sqlservercentral.com/articles/String+Manipulation/94365/.

Books
For a wide variety of topics, check out the SQL Server MVP Deep Dives. There are two of them and you can find them on Amazon.
Grant Fritchey's book on Execution Plans is excellent and is available for free at http://www.sqlservercentral.com/articles/books/65831/.
In fact, there are a lot of good books listed at http://www.sqlservercentral.com/Books/.

I could go on an on about different authors, but there are an awful lot of them.



Tally Tables - Performance Personified
String Splitting with True Performance
Best practices on how to ask questions
Post #1594187
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse