Forum Replies Created

Viewing 15 posts - 2,011 through 2,025 (of 5,590 total)

  • RE: Loading XML Data into SQL Server (SQL Spackle)

    Steve Jones - SSC Editor (1/3/2011)


    Excellent discussion, Wayne. This is one that I will keep bookmarked.

    mtillman-921105 (1/3/2011)


    Excellent Wayne, thank you sir!

    :smooooth:

    gregg_dn (1/3/2011)


    Thanks!

    Steve, Matt and Gregg - thanks for your kind...

  • RE: Loading XML Data into SQL Server (SQL Spackle)

    Jeff Moden (1/3/2011)


    I have to admit, I've not yet had to enter the realm of loading XML files. But now I know where to go for a quick reference....

  • RE: Loading XML Data into SQL Server (SQL Spackle)

    shad-873858 (1/3/2011)


    Yes, as the author noted, you have to provide an alias to the OpenRowset. In his example the author used rs. This will get you past that...

  • RE: Loading XML Data into SQL Server (SQL Spackle)

    paul.marsh (1/3/2011)


    decent article - good reference. but I feel a comment about the bcp utility should be added for those situations that warrant a different approach.

    Paul - thanks. But...

  • RE: Loading XML Data into SQL Server (SQL Spackle)

    Kelsey Thornton (1/3/2011)


    Thanks for this.

    It's now clearer.

    Kelsey,

    Good, I'm glad it all makes sense. If it hadn't, I would have failed.

  • RE: Loading XML Data into SQL Server (SQL Spackle)

    SQL-DBA (1/3/2011)


    I wonder what others are doing about doing an example like this when the XML is from a web service. I run into that more often then XML...

  • RE: Loading XML Data into SQL Server (SQL Spackle)

    Kelsey Thornton (1/3/2011)


    WayneS (1/1/2011)


    If you can't explain to another person how the code that you're copying from the internet works, then DON'T USE IT on a production system! After all,...

  • RE: T-SQL

    Excellent question, thanks!

    The only thing that is missing is how to solve this type of problem - you need to split the items in the variable into their separate items,...

  • RE: filegroupe

    a.e.ghorbani (1/1/2011)


    i have 2300 tables in my database.all of tables have relation together.i want to move tables to another filegroupe whitout remove my relation or without any change .only i...

  • RE: Insert into: use values() or SELECT

    piet.kouwer (12/31/2010)


    Hi all,

    perhaps this question had been asked before, but I don't exactly know which keywords to use on the search-engine:

    Sometimes I read code (e.g. on the Internet) to insert...

  • RE: Update/Increment existing DB with .CSV file

    olie480 (12/31/2010)


    I don't know if this can be done or not, but is there a program, or anything I can do to import a CSV, and whatever quantities are in...

  • RE: SQL 2008 query

    Here's one method that will get what you want. It may not be the best performing, but depending on the size of your data it may be acceptable.

    -- See how...

  • RE: SQL 2008 query

    Does this "Date_Stamp" column store just the date portion, or does it include the time also?

    How big of a date range are you talking about?

  • RE: Need help with query

    Thanks for the DDL script and sample data - makes it worthwhile helping someone if they help us a wee bit first.

    How does this work for you?

    ;

    WITH CTE1 AS

    (

    -- Assign...

  • RE: XQuery, output the integer that represents a singleton

    Adam Machanic (12/30/2010)


    Glad to hear that it worked!

    Why did it cause a problem? Well, the fact is that XML indexes in SQL Server are really not well integrated with the...

Viewing 15 posts - 2,011 through 2,025 (of 5,590 total)