Forum Replies Created

Viewing 15 posts - 76 through 90 (of 292 total)

  • RE: Katie

    This is just my "political" opinion but Health Care in the US is Huge business and in the US big business is the "bible" of the country.  Changing it from...

  • RE: Watch for a Specific Record

    Your welecome.  Thanks for the feedback.

    James.

  • RE: Watch for a Specific Record

    Create a SQL Job with two steps.  The first step checks for the record and if not found then raise an error (severity 11).  Set the job to not process...

  • RE: Updating fields - Can this be optimized?

    As for preventing the casts in each query I recommend bulk loading to a "staging" or temp table then have a function (created seperately) that merges/updates or replaces the values in...

  • RE: Updating fields - Can this be optimized?

    No guarentees since you didn't post the full table definitions but based on what I saw I would think this would work:

    UPDATE dbo.EMPLOYEE

    SET CongDist = r.CongDist,

        UpperDist = r.UpperDist,

        LowerDist...

  • RE: Update values with random values

    Thanks Jeff (sorry Peter).  I read it several times but my brain just wouldn't interpret it that way.  Must have been a senior moment.  I just re-read it and I...

  • RE: Update values with random values

    Hey Peter, nice and neat, but you don't need the last " / 100.00".  It will give the -5 to +5 range without it.  At least when I tested it...

  • RE: runtime error -2147467259 (80004005)

    I don't have any direct knowledge of this error but a quick google search showed a number of similiar entries.  Most pointed to MDAC problems, maybe an older version and...

  • RE: Update values with random values

    Ok, if you have to have negative numbers you could try this:

    update mytable

    set myvalue = myvalue +

                  case when RAND(CAST(NEWID() AS VARBINARY)) > 0.50

                       then CAST(RAND(CAST(NEWID() AS VARBINARY))*-5+1 AS...

  • RE: Update values with random values

    Try:

    update mytable

    set myvalue = myvalue + CAST(RAND(CAST(NEWID() AS VARBINARY))*5+1 AS INT)

    James.

    Oops, guess that won't produce any negative numbers.  Sorry.

  • RE: Do not update data

    Your welcome, and thanks for the feedback.

    James.

  • RE: Do not update data

    Try:

    update

    telematchout set telephone = case when telephone is null

  • RE: Question of the Day for 16 Jul 2007

    Ok, I'm confused.  High Safety is not one of the operating modes that I could find.  Since the other two listed were referenced and definately NOT automatic failovers I select...

  • RE: Katie

    Rex,

       You have my prayers and best wishes.  I bought a ticket and wish I could do more.  I'll try to remember and get another one next month.  Try not...

Viewing 15 posts - 76 through 90 (of 292 total)