Book a Demo

Author Topic: VARCHAR2 (.. CHAR) not supported in 8i?  (Read 4307 times)

wzack

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
VARCHAR2 (.. CHAR) not supported in 8i?
« on: December 07, 2005, 10:48:09 am »
Oracle 8i is rejecting the CHAR in VARCHAR2(80 CHAR) generated by EA.  Is CHAR only supported in 10g?
Thanks

thomaskilian

  • Guest
Re: VARCHAR2 (.. CHAR) not supported in 8i?
« Reply #1 on: December 08, 2005, 12:18:20 am »
Quote
Oracle 8i is rejecting the CHAR in VARCHAR2(80 CHAR) generated by EA.  Is CHAR only supported in 10g?
Thanks

Shouldn't you ask in an Oracle forum?

wzack

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: VARCHAR2 (.. CHAR) not supported in 8i?
« Reply #2 on: December 08, 2005, 05:07:48 am »
Since EA is supposed to support Oracle and since this code was generated by EA I decided to ask it here.  Shouldn't EA generate valid code for a databas that it alleged to support?

thomaskilian

  • Guest
Re: VARCHAR2 (.. CHAR) not supported in 8i?
« Reply #3 on: December 08, 2005, 08:44:21 am »
Quote
...  Shouldn't EA generate valid code for a databas that it alleged to support?

Of course. But your question was
Quote
Is CHAR only supported in 10g?
which is an Oracle related question. Maybe Bruno can help...

Gary W.

  • EA User
  • **
  • Posts: 139
  • Karma: +0/-0
    • View Profile
Re: VARCHAR2 (.. CHAR) not supported in 8i?
« Reply #4 on: December 09, 2005, 04:01:30 pm »
Wzack,

Does your application need to be concerned with representation in various languages (i.e. globalization) and /or different character sets?

The 'char' versus 'byte' qualification is new, and I'm pretty sure it wasn't in 8i.  That may be the problem right there...

How did you even get EA to generate this?  I did a quick test on a table with VARCHAR2 and CHAR columns and didn't get this additional NLS qualifier.

I'm on EA 6.0.778.. what version are you on?


Gary

Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: VARCHAR2 (.. CHAR) not supported in 8i?
« Reply #5 on: December 09, 2005, 04:20:48 pm »
Hi,

since Thomas invoked my name :-) The ability to declare varchar2 using either byte (default) or char semantics has been introduced in Oracle 9i and is also supported in 10g. I have not seen it generated from EA though, did you type it in the attribute details yourself?

Bruno

Quote
Oracle 8i is rejecting the CHAR in VARCHAR2(80 CHAR) generated by EA.  Is CHAR only supported in 10g?
Thanks


donghwi

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: VARCHAR2 (.. CHAR) not supported in 8i?
« Reply #6 on: January 25, 2006, 01:44:23 pm »
I have a same problem and the CHAR come from the reverse engineering from the Oracle 8i.

I'd like to get rid of CHAR from display and also from the DDL generated from EA.

Would it be possible?

Thanks,
Dennis