Forum Replies Created

Viewing 15 posts - 1,291 through 1,305 (of 5,103 total)

  • RE: XML Workshop XIV - Generating an XML Tree

    Totally agree with Doug. FOR XML PATH *is* the way to solve these problems in SQL Server 2005. Now, that said I will vote *against* doing such thing on the...

  • RE: Why my tempDB log bloted?

    global temporary tables (##) DO get dropped automatically when ALL the connections that reference them are CLOSED.

    You can find that here

    For convenience this is the relevant part:

    ...

    Global temporary tables have...

  • RE: How often should I run an index defrag?

    We do it all the time but computing fragmetation level is paramount if you have to do it intraday 😉

  • RE: Data files on log drive

    If you created the clustered index in the new file you effecively moved the table to that file. 😉

  • RE: Active Account Query Question.

    sdhan79 (2/4/2008)


    Thank you noeld!! can I ask you one more???

    If I am understanding this right, your query sample will look for

    any customer who made purchase between given periods (let...

  • RE: Active Account Query Question.

    sdhan79 (2/4/2008)


    Hi, first of all, thanks for reading my first post :).

    I am currently trying to create a query to find the number of active customers on each month.

    Business rule...

  • RE: using derived column in calculation

    The "right" way is to put the calculated column in an inline view so that you have access to the name in the outer query. Oh and No it does...

  • RE: Top N plus

    Indexed View 😉 ... any one ?

  • RE: Top N plus

    I believe the real problem lies in this part:

    ... view with group by ...

    Queries of views are "VERY" deceiving and indexes may not be appropriately used because you are hiding...

  • RE: 5MB Inline Inserts to TempDB

    Totally in favor of using BCP over that "30000" insert lines !!!!

  • RE: XML in Text field

    it is absolutely valid to cast the text column as xml

    select x.vakue('Xpath Expression', 'datatype') extractedXmlData

    from (

    select cast( txtcol as xml) x from table

    ) data

  • RE: Tras Replication Retry and timeout

    One second is too short of a latency. The best you could do is to reduce the "ppoling interval" to one second but that will be "pushing" it ...

  • RE: Career Advice...what is next after SR SQL DBA ?

    Vivien Xing (1/15/2008)


    one more option: Freelance DBA and Consulting.

    I vote for that 😀

  • RE: Capacity Planning

    given that you have only two drives I doubt that separating tables in different filegroups is going to buy you anything in terms of "preformance". Recovery time is probably a...

Viewing 15 posts - 1,291 through 1,305 (of 5,103 total)