Forum Replies Created

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

  • RE: Changing error messages

    Thanks Howard.

    I have located the stored procedure and will give the TRY....Catch a whirl.

    Cheers...Steve

  • RE: updating ntext

    Just re read reply :doze:

    The column is ntext purely because we do not know how the application will react if we changed it.

    Which is a real pain for me.

    There is...

  • RE: updating ntext

    Hi Sean,

    just seen reply as I posted thanks, we have come to the same answer and it worked.

    I join the table to itself to limit the amount of rows it...

  • RE: updating ntext

    Not sure why, but changed varchar(max) to nvarchar(max) and it all worked fine...will check it out in BOL

  • RE: Sub select in update returning more than 1 row

    CELKO (10/18/2010)


    CREATE TABLE PerformanceEvaluations

    (emp_id CHAR(10) NOT NULL

    REFERENCES Personnel(emp_id),

    objective_nbr INTEGER NOT NULL,

    PRIMARY KEY (emp_id, objective_nbr),

    objective_description VARCHAR(1000) NOT NULL,

    objective_status CHAR(5) NOT NULL ...

  • RE: Sub select in update returning more than 1 row

    GSquared (10/15/2010)


    I missed that you need to partition the number.

    Is there a reason that the incrementing number needs to be stored in the database? Can you store a datetime...

  • RE: Sub select in update returning more than 1 row

    I'm all ears

  • RE: Sub select in update returning more than 1 row

    Ok thanks I will check that out. I did not know that the identity column could be based on a group of records with the same foreign keys. I thought...

  • RE: Select Columns based on input

    Wayne,

    thanks for the follow up. You are so right.

    I have just had to take on some of the Accounts stuff and I have been so concerned with understanding the terminology...

  • RE: Select Columns based on input

    Thanks for the replies guys, most helpful.

    I have used a little bit of each suggestion and come up with a solution.

    I have no access to the presentation layer so...

  • RE: Data Cleaning

    Looks like I may be a bit premature with my question. I am going to have a go at it using SSIS and fuzzy lookup, looks like it may be...

  • RE: Breakdown a filepath string

    thanks Ian helped a lot.

    ended up with this, if it is of any intrest.

    update tbl_out_test set job_number =

    (select substring(location,((dbo.CHARINDEX2('\', location,4)+1)),

    ((dbo.CHARINDEX2('\', location,5)) - ((dbo.CHARINDEX2('\', location,4))+1))))

    where job_number =''

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