Forum Replies Created

Viewing 15 posts - 2,896 through 2,910 (of 3,606 total)

  • RE: SQL Statement

    Wasn't there a Monty Python sketch on this very subject refering to John Cleese as the comic mesiah?

    For the younger programmers, Monty Python was a comedy team before the invention...

  • RE: SQL Statement

    I have never seen a performance difference but from my point of view the separation of join conditions and selection conditions aids clarity to the code.

  • RE: SQL Statement

    Basically all your tables relate on the accountId field.

    So tblBorrowerAddress.AccountID = tblAccount.AccountID and tblAccount.AccountID = tblBorrower.AccountID

    A human being will infer that tblBorrowerAddress can be linked to tblBorrower but a computer...

  • RE: No Result set with a WHERE Clause.

    Put SET DATEFORMAT YMD at the beginning of your procedure

  • RE: Is there a way to make DELETEs faster?

    I'm not sure that switching to 'Simple' mode would have the desired effect.

    All activity is logged, all simple mode does is truncate the log by removing checkpointed transactions.  I would...

  • RE: Many to Many Self Join?!

    Think of it as a parent/child relationship if that isn't too Freudian.

    An employer is a parent the child is the employee.

    The customer is the child of contact 4.

    Your tbl_relationship table...

  • RE: Practical Course of Learning

    A Haynes manual is a maintenance guide for a car based on a complete strip down of a vehicle.

    In theory you could buy a Haynes manual and completely rebuild your...

  • RE: Question of the Day for 14 Dec 2004

    I would put the SELECT and FROM part of the query in a view so that your SQL string is as small as possible.

    sp_ExecuteSQL does at least grant the possibility...

  • RE: Question of the Day for 14 Dec 2004

    You could convert the date to a number first

    SELECT * from dbo.MyTable ORDER BY SIGN(@sortOrder)*CAST(MyDate AS REAL)

    I'm not sure about strings.  I have a feeling that your options are to...

  • RE: Practical Course of Learning

    Cool, hip, stylish and VERY dangerous.

    I have a friend who restored one of the original FIAT 500s and those have the fuel tank under the dash!  Free cremation with every...

  • RE: Practical Course of Learning

    Sorry Frank, is it also the former Trabant or are they still made?

  • RE: Practical Course of Learning

    I am not a fan of MS Press books.

    It may be an obsolete prejudice but I see the existence of 3rd party books as proof that the manufacturers own manuals...

  • RE: Is there a way to make DELETEs faster?

    Not sure what will happen to your existing stored procedures if you follow the renaming route.  I suspect that every stored procedure using your table will recompile so there could...

  • RE: Insert tuning

    How big are these image files?

    If someone is uploading a huge image file then that will impact on other users.

    Do you have some form of created or updated date on...

  • RE: Is there a way to make DELETEs faster?

    TRUNCATE TABLE dbo.YourTable

    However, the user needs to be in the DDL_Admin role or higher and you can't GRANT permissions for TRUNCATE.

    The small chunks example works well and is good for...

Viewing 15 posts - 2,896 through 2,910 (of 3,606 total)