Forum Replies Created

Viewing 15 posts - 19,951 through 19,965 (of 22,213 total)

  • RE: Index on uniqueidentifier column

    What do the execution plans look like? Maybe it's not using the uniqueidentifier at all?

  • RE: Efficient Tuning

    OK.

    WHILE (@StartDate < @StopDate)

    BEGIN

    SET @StartDate = DATEADD(month,1,@StartDate)

    SET @EndDate = DATEADD(day,-1,DATEADD(month,1,@StartDate))

    ...

  • RE: Database Design for Online Examination System

    Yes, it is possible for the most part to build the data structure, tables, primary keys, foreign keys, and clustered indexes without having an application. Writing all the views and...

  • RE: select into

    The problem is, even if you order the SELECT statement when doing the inserts, when you next SELECT from the table, you're not guaranteed the order it comes back in....

  • RE: Index on uniqueidentifier column

    The testing I've seen and read about suggests that, by and large, uniqueidentifiers are poor choices for indexes, especially clustered indexes, because of their width. I've also seen testing that...

  • RE: Use of identity columns in foreign key references

    And that, of course, is the absolute strongest argument for using nothing but artificial keys. But, even so, there are business definitions that can allow for the use of natural...

  • RE: Locking problem...

    Almost all the time, it's better to allow SQL Server to control the locking scheme in your queries. There are exceptions to this, but the exceptions should be exceptional.

    It sounds...

  • RE: Re setting seed value of table after deleting rows

    Check this in the Books Online for details:

    DBCC CHECKIDENT(TableName,RESEED,1)

  • RE: Currency based on regional settings in stored procedure

    Since all the work is being done on the server, how many different settings are likely to come out?

    What they want to do, if I'm reading this correctly, is get...

  • RE: Issues

    4.

  • RE: Create versions of records - possibly using Shadow Tables

    We had to track versions over time, so we created a version table, put a key for it in every other table and then did nothing but inserts into all...

  • RE: Short cut key

    OK. I got it to work... eh. I'm underwhelmed by this one. I get more out of Red Gate's SQL Prompt, easier.

    One serious comment. If documentation is supplied, it really...

  • RE: Short cut key

    Well it sure doesn't work by default. I tried it in 2005 and 2008 and received nothing. I also note, that the answer, ALT-F1, is not listed in the documentation...

  • RE: View vs Join

    Take a look at the execution plan. Usually (and there are exceptions) you'll see that a query with a view and a query without a view, both of which reference...

  • RE: Newbie need help on handle single quotes in store proc???

    What he's saying is, you can't refer to tables by variable names in regular TSQL statements. Instead you have to build a dynamic query as a string, inserting your parameter...

Viewing 15 posts - 19,951 through 19,965 (of 22,213 total)