Forum Replies Created

Viewing 15 posts - 1,771 through 1,785 (of 2,458 total)

  • RE: doubt on sql server

    what is the difference between clustered and non clustered index

    This is a big topic and there's plenty of people on SSC that can answer this in detail. I think it's...

    "I cant stress enough the importance of switching from a sequential files mindset to set-based thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code."

    -- Itzik Ben-Gan 2001

  • RE: Which Datawarehouse Books good to read

    Eirikur beat me to it but I was going to say

    The Microsoft Data Warehouse Toolkit, 2nd Edition

    [/url]. This is the geared towards data warehousing in Microsoft environments specifically. If...

    "I cant stress enough the importance of switching from a sequential files mindset to set-based thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code."

    -- Itzik Ben-Gan 2001

  • RE: Traversing down a tree

    Quite frankly, I had to read it a few times to get it. It is extremely well-written but the subject matter is a bit heavy in my opinion. Well worth...

    "I cant stress enough the importance of switching from a sequential files mindset to set-based thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code."

    -- Itzik Ben-Gan 2001

  • RE: I want to be certified SQL developer, what to do?

    I have not passed the test yet but have been studying for it and think this book is really good:

    Querying Microsoft SQL Server 2012 (MCSA) (Microsoft Press Training Kit)

    I would...

    "I cant stress enough the importance of switching from a sequential files mindset to set-based thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code."

    -- Itzik Ben-Gan 2001

  • RE: I want to be certified SQL developer, what to do?

    CooLDBA (2/9/2015)


    Start with Exam 70-433 - TS: Microsoft SQL Server 2008, Database Development

    https://www.microsoft.com/learning/en-us/exam-70-433.aspx

    Wrong version (the link is for 2008, this is a 2012 forum.

    "I cant stress enough the importance of switching from a sequential files mindset to set-based thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code."

    -- Itzik Ben-Gan 2001

  • RE: Traversing down a tree

    I periodically have to do this kind of thing. Take a look at:

    Hierarchies on Steroids #1: Convert an Adjacency List to Nested Sets[/url] by Jeff Moden. This has...

    "I cant stress enough the importance of switching from a sequential files mindset to set-based thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code."

    -- Itzik Ben-Gan 2001

  • RE: Save each report page as a seperate file

    The first thing that comes to is to save the the report as a PDF and then use some kind of utility that splits the PDF into seperate files. There's...

    "I cant stress enough the importance of switching from a sequential files mindset to set-based thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code."

    -- Itzik Ben-Gan 2001

  • RE: regarding sql developer

    You might find this helpful.

    Sample Resume: SQL Developer[/url]

    "I cant stress enough the importance of switching from a sequential files mindset to set-based thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code."

    -- Itzik Ben-Gan 2001

  • RE: What's a good indexing strategy for this situation?

    Dave-148053 (2/5/2015)


    I am most often returning all the columns in the table.

    As far as the primary key, that's part of my "what's a good strategy" question. Should I be...

    "I cant stress enough the importance of switching from a sequential files mindset to set-based thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code."

    -- Itzik Ben-Gan 2001

  • RE: What's a good indexing strategy for this situation?

    What columns are you returning? And why no primary key? The first index you need is a clustered index...

    Edit: Added question about PK.

    "I cant stress enough the importance of switching from a sequential files mindset to set-based thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code."

    -- Itzik Ben-Gan 2001

  • RE: Passing Malformed email address to Send Mail Task

    This is a duplicate post. Active thread can be found here:

    http://www.sqlservercentral.com/Forums/Topic1658159-3412-1.aspx

    "I cant stress enough the importance of switching from a sequential files mindset to set-based thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code."

    -- Itzik Ben-Gan 2001

  • RE: How to compare a list of numbers, kind of like lottery results

    Using the unpivot method in Dwain's article I came up with this solution...

    (Note that I used 4 numbers for brevity)

    USE SSRS_POC

    GO

    IF OBJECT_ID('tempdb..#tablewinners') IS NOT NULL DROP TABLE #tablewinners;

    IF OBJECT_ID('tempdb..#tableguesses') IS...

    "I cant stress enough the importance of switching from a sequential files mindset to set-based thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code."

    -- Itzik Ben-Gan 2001

  • RE: Query fast one day, slow the next day - can indexes go bad

    Igor Micev (2/5/2015)


    Alan.B (2/5/2015)


    Igor Micev (2/5/2015)


    Alan.B (2/5/2015)


    Or you can run DBCC FREEPROCCACHE & DBCC DROPCLEANBUFFERS (caution: this will cause other queries to slowdown as they will need to recompile)....

    "I cant stress enough the importance of switching from a sequential files mindset to set-based thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code."

    -- Itzik Ben-Gan 2001

  • RE: How to compare a list of numbers, kind of like lottery results

    Interesting...

    I have never unpivoted a table, but I think I understand what it is your are saying. I will read up on unpivot to see how to make it...

    "I cant stress enough the importance of switching from a sequential files mindset to set-based thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code."

    -- Itzik Ben-Gan 2001

  • RE: Query fast one day, slow the next day - can indexes go bad

    Igor Micev (2/5/2015)


    Alan.B (2/5/2015)


    Or you can run DBCC FREEPROCCACHE & DBCC DROPCLEANBUFFERS (caution: this will cause other queries to slowdown as they will need to recompile).

    No this! It...

    "I cant stress enough the importance of switching from a sequential files mindset to set-based thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code."

    -- Itzik Ben-Gan 2001

Viewing 15 posts - 1,771 through 1,785 (of 2,458 total)