Forum Replies Created

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

  • RE: How to avoid using scalar User Defined Functions?

    Jeff Moden (9/28/2015)


    Kim Crosser (9/28/2015)


    On the other hand, UDFs used to do some fancy formatting of an output result value aren't likely to have any significant impact on performance.

    Lets not...

  • RE: How to avoid using scalar User Defined Functions?

    Luis Cazares (9/28/2015)

    Just because it isn't a problem right now, it doesn't mean that it won't be a problem in the future. If Kristen starts refactoring the functions now, there...

  • RE: How to avoid using scalar User Defined Functions?

    The real question is whether the UDFs are causing any performance problems. 10x sounds horrible, but in your system does that result in a query that runs 10 minutes...

  • RE: Multiple queries in the same stored procedure

    In a system for which I was one of the principal architects, we code-generated stored procedures for each and every table that implemented full parameter validation and auditing, then added...

  • RE: Multiple queries in the same stored procedure

    Manic Star (9/22/2015)

    If you are using proper source control this is hardly an issue.

    Source code control is important, but beside the point.

    Most higher-level languages have some form of encapsulation. ...

  • RE: Multiple queries in the same stored procedure

    Of course, SQL Server could certainly benefit by implementing the Package concept that Oracle provides.

    You can bundle all your related procedures and functions into a single Package for portability and...

  • RE: The checksum

    FYI - some interesting Checksum behavior.

    declare @STR varchar(8000) = '';

    declare @i int = 0;

    while @i < 256

    begin

    set @i = @i + 1;

    ...

  • RE: The checksum

    Just for grins... I generated a list of CHECKSUM values for strings of "a", "aa", "aaa", ... up to a string of 255 "a" characters.

    The Checksum values for...

  • RE: The checksum

    The question may not have been fully qualified, but if you make some minimal assumptions about it, the answer given is correct. The whole point of the question is...

  • RE: Not Exist causing major performance problem

    ... and of course, you have a suitable (unique? clustered? as appropriate) index on ContractorCoverageException, like:

    ... ContractorCoverageException (contractorcoverageid, postalid)

    or

    ... ContractorCoverageException (contractorcoverageid) include (postalid)

  • RE: Not Exist causing major performance problem

    Have you tried the following?

    -- in the joins section

    left outer join ContractorCoverageException e where e.contractorcoverageid = ContractorCoverage.id and e.postalid = postal.id

    -- in the where section

    and e.postalid is null

  • RE: Mission Critical Deployments

    I have the following Tenets regarding Software (or System) Deployments that I try to share with developers.

    It looks like Airbus missed multiples of these - highlighted - the updated failed...

  • RE: Real to Float

    A lot of this stems from the fact that a binary "floating point" representation cannot exactly represent certain decimal values. In particular, any fractional part of a number ending...

  • RE: Put clustered index on 8 Column Natural Key, or on Identity Key

    rmechaber (8/4/2015)


    Setting aside the question of clustering key for the moment, which others here have already taken up, I would ask whether your assumption of having an 8-column natural key...

  • RE: Extra join is killing query

    My $0.02 (and worth every penny...).

    When I am faced with a query that is performing poorly, particularly if it is joining a lot of tables and returning a lot of...

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