alter values in a column
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: alter values in a column

  1. #1
    Join Date
    Jul 2000
    Posts
    70

    Talking

    What sql statement would allow me to change a value in the column STATUS from O to A in a table?
    Is that possible at all?
    THanks.

  2. #2
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    UPDATE tablea SET col1 = 'A';
    Jeff Hunter
    marist89@yahoo.com
    http://marist89.blogspot.com/
    Get Firefox!
    "I pledge to stop eating sharks fin soup and will not do so under any circumstances."

  3. #3
    Join Date
    Dec 2000
    Location
    Ljubljana, Slovenia
    Posts
    4,439
    And add some WHERE condition like

    ...WHERE col1 = 'O' ;)
    Jurij Modic
    ASCII a stupid question, get a stupid ANSI
    24 hours in a day .... 24 beer in a case .... coincidence?

Posting Permissions

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


Click Here to Expand Forum to Full Width