Forum Replies Created

Viewing 15 posts - 19,816 through 19,830 (of 22,199 total)

  • RE: query performance

    As several people have already posted, that's just too vague a question to give you a good answer. If you're really stuck on how to get started, here's a basic...

  • RE: MS SQL Shop Outage

    You still can't buy it though. All they're offering is the "Readiness" disk and the July CTP.

  • RE: SQL 2008 Release Date?

    Today? I seriously doubt it, but this is the first time I heard this rumor.

  • RE: IdentityColumn is Duplicated ?

    IDENTITY columns do not duplicate, even without a constraint, when operating normally. You can force duplicates in by using IDENTITY_INSERT or by doing a RESEED, but the normal behavior is...

  • RE: IdentityColumn is Duplicated ?

    When you say duplicated, do you mean in the data? I've never seen that in normal functions, it must be a bug or you're not using the IDENTITY setting and...

  • RE: Auto Indentation

    The newest version of Red Gate's SQL Prompt will do that for you and lots more. Also Red Gate's SQL Refactor has a way to clean up the layout of...

  • RE: Optimize query

    And just like your last post, take a look at the execution plans that will tell you a lot of what you need to know for making these sorts of...

  • RE: Optimize query

    Check the execution plan. WHERE clause order can affect some execution plans, but won't affect all. On a very simply query like this, it's unlikely to make a difference.

  • RE: Inserting Multiple Tables at Once

    dale_keller (7/30/2008)


    Thanks....I'll throw another question at you. I have a UDF which is called from a select statement which goes after several tables to get results. Based on...

  • RE: Stored Procedures Reconsidered

    gcopeland (7/30/2008)


    Scott, you took the words right out of my mouth. I have always disagreed with the mindless use of sprocs in the design of systems, and I am...

  • RE: Inserting Multiple Tables at Once

    I don't entirely understand the question...

    You can insert into two tables:

    INSERT INTO A

    INSERT INTO B

    But that's going to sequential, not simultaneous. In order to do them "at the same time"...

  • RE: Indexing on Foreign Keys is advisable or not?

    From the first link:

    So, I guess the only way round this is to disable the constraints - an option if your system is suffering from blocking or excessive reads caused...

  • RE: SQL Server 2005 - relationships

    You don't need to create a diagram, but you can if you want to visualize what was created on the database. If you want to use the GUI to check...

  • RE: Indexing on Foreign Keys is advisable or not?

    I thought it was fairly expected and common to put indexes on foreign keys (depending on needs of the queries used, etc., of course). I've never seen any documentation from...

  • RE: SQL Query Vs Stored Procedures

    There's really not a difference between a query and a procedure. A procedure is just a query stored in the database. Queries can be parameterized just like queries. In fact,...

Viewing 15 posts - 19,816 through 19,830 (of 22,199 total)