Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2004
    Posts
    2

    Unanswered: Updating varchar field in SQL Server 2000

    I would like to update a varchar field with an update statement that appends information to what is currently stored in the field, for example in the Statement field I may currently have a name (Mark) and I want to add a unique identifier to the end of the name so that it may look like, Markq1572, is there a way to do this in an update statement?

  2. #2
    Join Date
    Jan 2003
    Location
    Massachusetts
    Posts
    5,800
    Provided Answers: 11
    You could always use this old trick:

    Code:
    update table
    set Statement = Statement + 'your added text here'
    where conditions...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •