Forum Replies Created

Viewing 15 posts - 6,526 through 6,540 (of 8,761 total)

  • RE: Error in CASE statement

    Fundamental error here, ELSE is the last / unmatched clause, not a part of the higher case flow hierarchy, suggest you remove all but the last else statements within each...

  • RE: Are the posted questions getting worse?

    Gazareth (11/25/2014)


    SQLRNNR (11/24/2014)


    Eirikur Eiriksson (11/24/2014)


    SQLRNNR (11/24/2014)


    Jeff Moden (11/24/2014)


    Eirikur Eiriksson (11/24/2014)


    Just a quick question to "the thread", am I missing something or is XML getting more popular? Just noticed that this...

  • RE: Importing XML into Multiple Tables

    swoozie (11/25/2014)


    I do not have an example of the xml to post, not allowed. The file is not large.

    It organizes perfectly except on the 5th table that I Need to...

  • RE: Are the posted questions getting worse?

    Ed Wagner (11/25/2014)


    Eirikur Eiriksson (11/24/2014)


    Jeff Moden (11/24/2014)


    Evil Kraig F (11/24/2014)


    Jeff Moden (11/24/2014)


    Eirikur Eiriksson (11/24/2014)


    Just a quick question to "the thread", am I missing something or is XML getting more popular?...

  • RE: Please vote for the "built in Tally Table" function.

    +1 (vote)

    😎

  • RE: How Update works for unique values?

    vignesh.ms (11/25/2014)


    3. In query 1, will the sql server look for matching rows even after it found 1 row?

    No, the column has a unique constraint

    4. Will query 2 really gains...

  • RE: Are the posted questions getting worse?

    SQLRNNR (11/24/2014)


    Jeff Moden (11/24/2014)


    Eirikur Eiriksson (11/24/2014)


    Just a quick question to "the thread", am I missing something or is XML getting more popular? Just noticed that this topic on the XML...

  • RE: Are the posted questions getting worse?

    Jeff Moden (11/24/2014)


    Evil Kraig F (11/24/2014)


    Jeff Moden (11/24/2014)


    Eirikur Eiriksson (11/24/2014)


    Just a quick question to "the thread", am I missing something or is XML getting more popular? Just noticed that this...

  • RE: Are the posted questions getting worse?

    Jeff Moden (11/24/2014)


    Eirikur Eiriksson (11/24/2014)


    Just a quick question to "the thread", am I missing something or is XML getting more popular? Just noticed that this topic on the XML forum...

  • RE: Are the posted questions getting worse?

    Just a quick question to "the thread", am I missing something or is XML getting more popular? Just noticed that this topic on the XML forum has proportionally many times...

  • RE: Importing XML into Multiple Tables

    Quick questions, can you post an example of the XML and how big are the files?

    😎

  • RE: Flat file read , conditionally extract data rows

    Quick suggestion as this isn't as complex as it seems at first, import the file's content into a staging table, one line per row and group/parse it from there.

    😎

    USE tempdb;

    GO

    SET...

  • RE: Question about VALUE

    Quick note (for completeness), the inner query returns an XML, the value() method is invoked on that XML

    😎

    (inner query returning XML).value() <--the value method on the XML data type.

  • RE: rollback transaction in nested stored proc

    gravitysucks (11/24/2014)


    create proc proc1 (@param1 int)

    as

    begin try

    declare @param2 int

    begin transaction

    exec proc2 @param2

    commit transaction

    end try

    begin catch

    if @@trancount > 0

    rollback transaction

    end catch

    i haven't had an opportunity to do this before....

  • RE: XQuery insert new node

    Good catch with the node value Arthur, don't think it merits a dynamic sql though as one can easily encode the value with a simple FOR XML statement.

    😎

    /* Simple encoding...

Viewing 15 posts - 6,526 through 6,540 (of 8,761 total)