updating char in Oracle 10g

40 pts.
Tags:
Oracle 10g
Oracle Statements
UPDATE statement
how do you update a char in 10g

Answer Wiki

Thanks. We'll let you know when a new response is added.

To update a CHAR column:

<pre>UPDATE your_table
SET your_char_column = ‘X’
WHERE …;
</pre>
If that’s not what you mean, please provide more details.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Gunzforlife
    SQL> update operator set char_REVOKFLG='0' where login like 'ospprov'; update operator set char_REVOKFLG='0' where login like 'ospprov' * ERROR at line 1: ORA-00904: "CHAR_REVOKFLG": invalid identifier the column Name= REVOKEFLG Type= (char(1) . Please note the above result.
    40 pointsBadges:
    report
  • carlosdl
    If the column name is REVOKFLG, then you should use that column name and not char_REVOKFLG.
    77,180 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: