Forum Replies Created

Viewing 13 posts - 1 through 13 (of 13 total)

  • RE: Help with importing data

    Give it a try...

    I don't see the rolling over as a big problem. Every time you read in a row, check to see if it starts with "author=", "year=", "title=",...

  • RE: Regarding xml update in sql server2005

    Thum,

    I guess at this point I'm a bit confused about exactly what it is you are trying to do. I thought someone was sending you the XML you provided in...

  • RE: Help with importing data

    The only issue with this method is that in some cases a line e.g. author maybe longer than a line and roll over to the next line. In this case...

  • RE: Help with importing data

    There are probably a lot more elegant (and faster) ways to do this but one simple and straight forward way would be to pull the whole thing into a temporary...

  • RE: First come first serve table

    What about using a loop? Not that this is the best way but it's getting late and it was the first thing that popped into my head...

    I haven't done any...

  • RE: Ordering data SQL 2000 vs. SQL 2005

    I'm a little confused by your post because in the first sentence you mention "sorting...outside of the order by clause" but then your select statement clearly has the order by...

  • RE: Compare dates to current and notify if no new data

    Grasshopper,

    Will something like this work? I know it runs the command SQL twice but maybe it's worth it.

    DECLARE @ProblemFound INT

    SELECT @ProblemFound =

    CASE DATEDIFF(day, MAX(dbname.dbo.FRQuoteRevision.StartedOn), GETDATE())

    ...

  • RE: Including extra columns in a grouping

    Terry,

    I took Lee's code and tweaked it just a bit to account for the fact that you can have multiple projects.

    CREATE TABLE Project (

    Project varchar (10)

    ...

  • RE: Regd deletion of Rows from large table

    Do you have any special requirements? Such as...

    - Are you trying to save the 90 percent of the rows you need to get rid of?

    - Do...

  • RE: Problem with Commit

    Based on the pseudocode, I think it makes sense...

    When you ran the code, the transaction started.

    When the error was caught, it jumped over the commit and went straight to the...

  • RE: Regarding xml update in sql server2005

    Thum,

    I'm not exactly sure which "one" of the "Reads" you want to set to False, but you can do something along the lines of:

    SET @FeatureList.modify('replace value of (/FeatureList/Feature[@id="9CF9805F-367A-41A2-81F2-78562AA4D310"]/Read)[1]

    ...

  • RE: Compare two tables in SQL server 2005 and get whats changed in two tables

    There are probably quite a few ways you can accomplish this.

    1. One way I've tried in the past is to create another column at the end of each table and...

  • RE: Sp_Cycle_ErrorLog not working

    I had the same problem and it apparently couldn't cycle the error log was for the same reason that the logs were getting so large. Once I corrected the problem...

Viewing 13 posts - 1 through 13 (of 13 total)