Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: opposite of oracle decode
Adam Sandler wrote:
> Doug wrote: >
> > > Doug... thanks for the reply. I have a follow-up question. Isn't > UPDATE SET dependent upon the data already existing? If the GUI sends > this to the data access layer > > INSERT INTO T_TEST (Status) VALUES 'Open' > > won't I get an error? The status column is set to hold 1 char. If I > send "Open" to a new row, that busts the properties of the status > column.
You are correct that you can not store 4 bytes in a space large enough to hold 1 byte.
But your statements, above, display an astounding lack of knowledge of fundamentals for someone already writing code. I would suggest you take a basic Databases 101 course followed by something specific to Oracle. Until then leverage the materials at http://tahiti.oracle.com.
-- Daniel A. Morgan http://www.psoug.org damorgan_at_x.washington.edu (replace x with u to respond)Received on Thu Oct 06 2005 - 08:50:47 CDT
![]() |
![]() |