Forum Replies Created

Viewing 15 posts - 5,791 through 5,805 (of 8,416 total)

  • RE: Are the posted questions getting worse?

    :w00t: :smooooth: :w00t: :smooooth: :w00t: :smooooth: :w00t: :smooooth: :w00t:

    ------------------------------

    Sequence Table article finished!

    ------------------------------

    :w00t: :smooooth: :w00t: :smooooth: :w00t: :smooooth: :w00t: :smooooth: :w00t:

    I've sent a copy by mail to those that expressed an...

  • RE: Slow performant select query, yet apparently simple.

    RBarryYoung (2/27/2010)


    Secondly, I am a little confused, is there a good form of this query or only a bad form?

    That was based on Jeff's code I think. The...

  • RE: Please Help - I've gone cross eyed.

    Jeff Moden (2/27/2010)


    Did you ever send that to me or did I just miss it somewhere in the daily flood of email?

    Barry distracted me with his interesting solution to Itzik's...

  • RE: Strange Variable Issue

    wschampheleer (2/27/2010)


    Easier to write and maintain.

    Seriously? That hasn't really been my experience. CASE statements are a great way to avoid using a useful index, of course 😛

  • RE: Identity field on each table

    Jeff Moden (2/27/2010)


    Cool... what kind of information did the table hold where it exceeded the positive values of INT?

    Well this was 13 years ago...but to the best of my recollection,...

  • RE: Avoid dynamic SQL

    Welsh Corgi (2/27/2010)


    I did not mean to get personal or offend anyone.

    Well you did, but I for one won't hold it against you. Let's move on.

    Welsh Corgi (2/27/2010)


    No excuse...

  • RE: Using CTE Common table expressions with SELECT CASE statement

    lmu92 (2/27/2010)


    If number of columns and data type would be identical for table 1 and table2 I guess Pauls approach would be the way to go.

    No, it's a daft idea....

  • RE: Slow performant select query, yet apparently simple.

    agustingarzon (2/26/2010)


    ID is a primary key (clustered index). The table indexes were just rebuilt. The table is about 1.2 gigs with 65.000 records ~, the max size of a row...

  • RE: Calculating interest query

    Jeff Moden (2/27/2010)


    nathan 7372 (2/27/2010)


    I'm overwhelmed with all the help. When I first posted this problem I figured it might be quite some time if ever that someone came...

  • RE: Calculating interest query

    Jeff Moden (2/27/2010)


    Paul White (2/27/2010)


    Chris,

    Turns out all that is needed to get rid of the index spool is to define the clustered index as UNIQUE. Given that information, a...

  • RE: XML Parse Query

    lmu92 (2/27/2010)


    @paul-2: Interesting approach!

    Which one out of the three solutions would you actually use on the given scenario (extended volume)?

    I'm not sure if the execution plan shows real figures on...

  • RE: XML Parse Query

    SELECT name = node.value('./@name', 'VARCHAR(30)'),

    account = node.value('./@account', 'INTEGER'),

    flag = node.value('./@flag', 'BIT')

    FROM ...

  • RE: UNION a series of TOP statements

    Divya Agrawal (2/26/2010)


    I have written a post on DATEFIRT which can help you understand the usage of it..

    http://www.sqlservercentral.com/articles/DateFirst/69203/

    LOL 😀

  • RE: Querying XML stored as NVARCHAR

    EnigmaticSoul (2/25/2010)


    TI think I found a much easier way to tackle the problem, though:

    CAST (o.[data] AS XML).value ('declare default element namespace "urn:schemas-quest-com:ActiveRolesServer"; (/Operation/Initiator/@dn)[1]', 'nvarchar(255)') AS xmlChangeHistory

    Not as easy as using...

  • RE: Strange Variable Issue

    wschampheleer (2/23/2010)


    What are you trying to do? What is the value of @Col? If you want @Col to represent the name of the column on which to filter, you'll either...

Viewing 15 posts - 5,791 through 5,805 (of 8,416 total)