Forum Replies Created

Viewing 15 posts - 1,171 through 1,185 (of 3,348 total)

  • RE: filter monthly activity file from yearly file

    You posted this same question in another forum, and I replied there.

    Please do not double-post.

  • RE: how to filter monthly data from a yearly data file ?

    You would add a WHERE clause.

    Yes, I know that this reply is probably too vague for your purposes. But so is your questions. Give us more details, and we can...

  • RE: Improving string comparisons that use like

    DamianC (1/8/2016)


    Hello

    I have a table (policy) with approximately 1.5 million rows in it.

    I have another table (userpolicy) with approximately 100k rows.

    The first table has a column called policyid

    The second table...

  • RE: get all dates between 2 dates 7 days apart

    I didn't run your code, but if it gives you all dates and you need only those between two dates, then you probably can just add WHERE calDate BETWEEN @StartDate...

  • RE: CLR concatenate function without duplicate values

    I agree with Jeff on asking the author.

    However, I also wonder why you want to filter out duplicates at the CLR side. Isn't it more efficient to filter them in...

  • RE: Clustered and NonClustered Index

    Thanks for the link, Jacob! That post confirms what I put out as speeculation.

  • RE: Clustered and NonClustered Index

    Okay, did a small test and confirmed that my faith in Gail was justified (and my faith in my own understanding of index internals was not). After creating a test...

  • RE: Clustered and NonClustered Index

    Jeff Moden (1/8/2016)


    The subject matter for this post starts at time marker 11:50.

    Thanks, Jeff! Found it, watched it, and Gail is pretty explicit about it.

    Coming from a lot of people,...

  • RE: Need help in Query Please help!!!

    Zohaib Anwar (1/8/2016)


    Sean Lange (1/7/2016)


    Zohaib Anwar (1/7/2016)


    Hi,

    I am trying to build attached query that is mentioned in the word document. I am struck on one point that is point number...

  • RE: the use of CTEs

    erics44 (1/8/2016)


    Hugo Kornelis (1/8/2016)


    Jeff Moden (1/7/2016)


    Alan.B (1/6/2016)


    You can't write a recursive CTE with using pre-CTE features.

    Technically correct because only an rCTE can be an rCTE but the rather well...

  • RE: Clustered and NonClustered Index

    er.mayankshukla (1/8/2016)


    I need an explanation may be pointing to some whitepaper for the explanation of below:

    In a unique non clustered index, the clustered key comes to leaf level only

    in a...

  • RE: Are the posted questions getting worse?

    Koen Verbeeck (1/8/2016)


    rodjkidd (1/8/2016)


    BWFC (1/8/2016)


    BrainDonor (1/7/2016)


    I see that SQL Saturday Manchester has been announced - same venue as last year, 22/23 July.

    Where did you see that? I can't find...

  • RE: Compare trace from 2 different DB Servers

    First: Are you moving from SQL Server 2012 (or older) to SQL Server 2014 (or newer)? In that case, the issues are most likely caused by the changed to cardinality...

  • RE: Edit a Clustered index

    There are unfortunately no answers to broad and generic questions like this.

    As a rule of thumb, giving SQL Server more information is always better - not just for performance (your...

  • RE: the use of CTEs

    Jeff Moden (1/7/2016)


    Alan.B (1/6/2016)


    You can't write a recursive CTE with using pre-CTE features.

    Technically correct because only an rCTE can be an rCTE but the rather well advertised rave in...

Viewing 15 posts - 1,171 through 1,185 (of 3,348 total)