Forum Replies Created

Viewing 15 posts - 18,646 through 18,660 (of 22,202 total)

  • RE: Where to start

    I'd suggest getting a copy of the book "Database Administration" by Craig Mullins. It's not technical and it doesn't focus on SQL Server at all. Instead it talks about the...

  • RE: query

    Kent Waldrop (1/21/2009)


    The same question was posted here:

    http://www.sqlservercentral.com/Forums/Topic639228-145-1.aspx

    You responded to that post also.

    I thought I remembered seeing that before.

  • RE: How long will SQL 2005 hang around with 2008 being released?

    george sibbald (1/21/2009)


    Grant Fritchey (1/21/2009)


    The overwhelming majority of our production systems are 2000. We're starting an initiative this year to get them upgraded to 2008 over the next two years...

  • RE: COVERED INDEXES / COVERING A QUERY

    True.

    And one other thing I just thought of, your clustered index is a part of the covering index even though you can't see it.

    Assume that ID is the clustered index....

  • RE: COVERED INDEXES / COVERING A QUERY

    Statistics are enough the same between the versions that you don't really need to worry about them too much.

    The only way to create a covering index in 2000 was to...

  • RE: How long will SQL 2005 hang around with 2008 being released?

    The overwhelming majority of our production systems are 2000. We're starting an initiative this year to get them upgraded to 2008 over the next two years because, in 2010, extended...

  • RE: query

    How does table 3 relate to the others?

    Also, didn't this get posted before in the same form?

  • RE: Sql Query (Urgent)

    Abhijit More (1/21/2009)


    I think below example will give you better performance ...

    CREATE TABLE tmpProduct

    (

    ProductIDINT IDENTITY(1, 1) PRIMARY KEY CLUSTERED,

    ProductNameVARCHAR(10)

    )

    CREATE TABLE tmpProductSales

    (

    ProductSalesIDINT IDENTITY(1, 1) PRIMARY KEY CLUSTERED,

    ProductIDINT,

    TotalAmtMONEY,

    BalanceAmtMONEY

    )

    INSERTtmpProduct(ProductName)

    SELECT'Pr0duct' UNION

    SELECT'Pr0duct2' UNION

    SELECT'Pr0duct3' UNION

    SELECT'Pr0duct4'

    INSERTtmpProductSales(ProductID,...

  • RE: Optimize query

    Are you trying to insert into the first temp table filling the gaps?

    Because if you're simply trying to insert unique numbers, you can get the max value from the original...

  • RE: how to get maxium value of a table when there are no records

    And if you want to get really confused, then, without an IDENTITY setting on the column, when the table is empty, the MAX value should be NULL. I'll bet that's...

  • RE: Sql Query (Urgent)

    Great. Glad to hear it. And thanks for posting the success of the suggestion.

  • RE: Auto Create St Procs and Compare

    So when you say you want to "extract non-generic sql" do you mean that you have stored procedures in your database that you need to pull out or that you...

  • RE: SQL Server Architecture

    I didn't have that one on my list. I do now.

  • RE: create a batch sql ?

    Check out the Books Online for the topic SQL Agent. Agent is a scheduling process that will let you run lots of stuff, including TSQL batches, on a scheduled basis....

  • RE: SQL Server Architecture

    One place I've been visiting for bits and pieces is this blog: http://blogs.msdn.com/sqltips/default.aspx

    But by & large, for focused information, Gail has given you what I've been using.

    There is also the...

Viewing 15 posts - 18,646 through 18,660 (of 22,202 total)