Forum Replies Created

Viewing 15 posts - 46 through 60 (of 149 total)

  • RE: Normalization???

    You've done a good job of normalization, but I think there are some tweaks that could be made here.

    Why is 'CreditCardName' in the main Payment table? It seems to...

  • RE: Any ideas why this query is running so slow?

    To answer the composite index question...

    Essentially, if you have a simple index and a composite index, they just sit next to each other, and are maintained separately. The good...

  • RE: Requesting help creating ''''by month'''' summary query

    Note that, in both of the above examples, April 2005 and April 2006 will be counted as the same thing. It's best to also add a DATEPART(y,monthdate) to your...

  • RE: N-Many Relationship

    Personally, I think the problem is a tendency among many developers (myself included, when I was young and foolish) to see fewer tables as more efficient. There's no reason...

  • RE: Tough problem

    Ah. See, when I was working out the hash in Excel, 0 was represented by the first digit to the right of the decimal point (the tenths place). ...

  • RE: Tough problem

    Using the hash as a computed column is very nice. That should refine your result set pretty nicely.

    ---

    I'm not sure what the point of the magnitude column is. ...

  • RE: Union Query Question

    xposted

  • RE: Return Value Not Returning

    Is the problem that the function doesn't return anything? Or that it always returns 1?

    Even stax68's suggestion would only point to an area in which the function is possibly...

  • RE: Union Query Question

    Glad I could help!

  • RE: Tough problem

    Well, I can tell you very rapidly if any two numbers have a pair of digits transposed. The difference will always be divisible by 9. (Old accounting trick,...

  • RE: Union Query Question

    Er, because you're asking for three records?

    Seriously, I think you're misunderstanding the nature of UNION. UNION is supposed to take multiple datasets with identical structures, and append them vertically.

    What...

  • RE: SQL Server 2000 - insert

    One of the advantages of HTML is that, ultimately, it's just text.

    If it's going to be less than 8000 characters, store it in a varchar field.

    If it's going to extend...

  • RE: updatng rows in a table

    First of all, why are you repeating your join criteria? The ON criteria is doing exactly the same job as the WHERE criteria inside your subquery.

    However, you want to...

  • RE: MIN() Function

    First of all, this is a trivial problem in Crystal Reports, or most any other reporting application. Depending on the method you are using to display this information, you...

  • RE: Default order of rows without order by clause

    Excellent book recommendation.

    The similar horror story I remember hearing was a developer coming to a DBA, because the users were bitching about how slow the data entry was. The...

Viewing 15 posts - 46 through 60 (of 149 total)