Forum Replies Created

Viewing 15 posts - 2,851 through 2,865 (of 14,953 total)

  • RE: what is the use of : WITH (NOLOCK, READUNCOMMITTED)

    Sean Lange (11/14/2011)


    Ninja's_RGR'us (11/14/2011)


    It's only been posted 3 times... not sure it's enough ;-).

    Yeah apparently we were all three typing at the same time. Kind of scary!!

    Not as scary as...

  • RE: Don't Criticize Code

    Phil Factor (11/14/2011)


    On one memorable occasion, I was strolling around an IT department of an international company with the CTO (IT Director actually) chatting about this and that, when we...

  • RE: Don't Criticize Code

    majorbloodnock (11/14/2011)


    Arguably, though, the quality of the code doesn't matter; it either fulfills its business requirement or it doesn't. If you need to justify downtime to rewrite portions, then why...

  • RE: Using "or" in a join? Whatsupwiththat?!

    It's probably being used to accommodate a poor level of data normalization (should be rows, not columns), but it's not an uncommon thing to do.

    It is, indeed, a "conditional join"....

  • RE: Why is "Select *" bad in any SQL code?

    SanDroid (11/14/2011)


    GSquared (11/14/2011)


    SanDroid (11/14/2011)


    Ninja's_RGR'us (11/14/2011)


    You mean aside from ddl change, performance, network overuse, column order change, performance, indexes being useless, not seing the list of columns when working on the...

  • RE: INSERT ... SELECT ... ORDER BY consistency of results

    He asked about the ID sequence. That should do what's needed. ID can then be used in later Order By clauses to insure sequence.

  • RE: Treating an xml file with multiple levels as a simple single record (of type xml)

    I use OpenRowset within a T-SQL script for exactly this.

    EXEC sp_configure 'xp_cmdshell', 1 ;

    RECONFIGURE ;

    USE MyDatabase ;

    SET NOCOUNT ON ;

    IF OBJECT_ID(N'tempdb..#T') IS NOT NULL

    DROP TABLE...

  • RE: The Industry Problem

    David Zuckerman (11/14/2011)


    I really take personal offense at the phrase in the editorial:

    "It also seems that many of the people I've met with CS degrees are often those that make...

  • RE: Why is "Select *" bad in any SQL code?

    SanDroid (11/14/2011)


    Ninja's_RGR'us (11/14/2011)


    You mean aside from ddl change, performance, network overuse, column order change, performance, indexes being useless, not seing the list of columns when working on the code?

    so aside...

  • RE: INSERT ... SELECT ... ORDER BY consistency of results

    Here's the answer from Microsoft: http://blogs.msdn.com/b/sqltips/archive/2005/07/20/441053.aspx

    Relevant piece:

    4.INSERT queries that use SELECT with ORDER BY to populate rows guarantees how identity values are computed but not the order in which the...

  • RE: what is the use of : WITH (NOLOCK, READUNCOMMITTED)

    Well, most people think the primary use of either of those is to make the query faster. They're wrong, but that's what they think it's for.

    Putting both of them...

  • RE: Why is "Select *" bad in any SQL code?

    Same problem with anything implicit in code instead of explicit.

    The code calling the proc is then subject to negative impacts from table refactoring. If the sequence of columns is...

  • RE: The Industry Problem

    Good editorial, good article.

    I think two bits sum it up. The statement that people with CS degrees often don't know what they really need to do, and the statement...

  • RE: Don't Criticize Code

    Phil Factor (11/12/2011)


    Yes, of course we need to improve the code around us, but it can be done without criticism, in the sense of disparaging the code and the author....

  • RE: Don't Criticize Code

    I'm going to have to disagree with you on this one.

    There is definitely some code out there that deserves criticism.

    I look at some of the database designs and stored procedures...

Viewing 15 posts - 2,851 through 2,865 (of 14,953 total)