Forum Replies Created

Viewing 15 posts - 541 through 555 (of 726 total)

  • RE: Performance Problem when using partitioned view against actual table

    Why are you using the GROUP BY clause when you have no aggregates, out of curiousity? I'd try removing that first.

    Next, if that doesn't take care of it, try this...

  • RE: varbinary(float) to int

    Nice job, Jeff. Did you notice any "lossy" numbers at all, and if not, did you try fun things like putting 1/3 into the varbinary for testing? The main reason...

  • RE: varbinary(float) to int

    By the way, I'm assuming this is an app you are having to deal with, so could you provide us with an actual value that the app displays, as well...

  • RE: varbinary(float) to int

    I know the basics of how it's stored, but I don't remember the specifics, and I'm pretty sure that for every rule there were exceptions. I'd advise a search for...

  • RE: Namin Convention

    Of course, if you replace "Business Intelligence" with "Analytics", it's far more likely to be self-descriptive.

  • RE: Cleanup old backup files

    Since you are keeping a copy for everyday, I'm assuming the "XXXX" in your backup file name is MMDD, or something like that. If so, just determine which day(s) you...

  • RE: varbinary(float) to int

    The problem is that it's not storing the string representation of @f in @v. It's actually converting the float directly into @v. If you convert @f...

  • RE: How to handle Currency Rate Exceptions

    I'm with Peter, and I'd like to see the "unsimplified" table structure in the samples. It would also help if you'd give us an example of what might change that...

  • RE: Use of Order by on value not column. Need help

    You didn't mention that you wanted to use DISTINCT. Without DISTINCT, my solution works fine. For DISTINCT, you need to return the sorting column, so use longshanks solution, which is...

  • RE: Performance Problem when using partitioned view against actual table

    I realize that it was mentioned upthread, but it is absolutely vital that you have the necessary constraints, John. Perhaps you could post a dump of the CREATE TABLE script.

    We...

  • RE: Please Help

    Oops, you're right. He definitely needs to lose that "e." from rownumber in the derived table.

  • RE: How to fix a non-indexed huge table?

    Unless I'm missing something, his original table was about the same size, as he had three columns at 4096 each. While I realize that you questioned his need for that...

  • RE: Please Help

    I thought that might be it. Try this as a quick fix and see if it works, then it can be expanded upon.

    SELECT

     d.*

    FROM

     (

     SELECT PartnerLeadTypeID, PartnerID, LeadTypeID, isActive, AllowedStates, RestrictedStates, CreditHistory,...

  • RE: Please Help

    SG, can you post exactly what you are running when you get that message, as well as a script dump of the tables in question? Either there is a typo...

  • RE: How to fix a non-indexed huge table?

    Jeff, in our shop, it's 2500% certain and nothing less. We had problems once when we were only 2100% certain. That day is now known as "The day of which will not...

Viewing 15 posts - 541 through 555 (of 726 total)