dbTalk Databases Forums  

updating LONG datatype columns

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss updating LONG datatype columns in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
uday
 
Posts: n/a

Default updating LONG datatype columns - 01-02-2008 , 09:27 AM






i have a column in my database with Long datatype, and i have to
update the values in it.
when i am trying to update it via

UPDATE UM_TB_PD_BU_ACCSS SET nm_prdct_dvsn_id = 1,vc_bsnss_unt_cd =
'1~~8~~11~~82'
WHERE nm_prdct_dvsn_id = 3 AND vc_bsnss_unt_cd = '-1';

oracle issues a "ORA-00997: illegal use of LONG datatype" error.

can some help on this issue?

Reply With Quote
  #2  
Old   
DA Morgan
 
Posts: n/a

Default Re: updating LONG datatype columns - 01-02-2008 , 10:24 AM






uday wrote:
Quote:
i have a column in my database with Long datatype, and i have to
update the values in it.
when i am trying to update it via

UPDATE UM_TB_PD_BU_ACCSS SET nm_prdct_dvsn_id = 1,vc_bsnss_unt_cd =
'1~~8~~11~~82'
WHERE nm_prdct_dvsn_id = 3 AND vc_bsnss_unt_cd = '-1';

oracle issues a "ORA-00997: illegal use of LONG datatype" error.

can some help on this issue?
http://tahiti.oracle.com
Look up LONG
--
Daniel A. Morgan
Oracle Ace Director & Instructor
University of Washington
damorgan@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org


Reply With Quote
  #3  
Old   
Mark D Powell
 
Posts: n/a

Default Re: updating LONG datatype columns - 01-02-2008 , 11:35 AM



On Jan 2, 11:24*am, DA Morgan <damor... (AT) psoug (DOT) org> wrote:
Quote:
uday wrote:
i have a column in my database with Long datatype, and i have to
update the values in it.
when i am trying to update it via

UPDATE UM_TB_PD_BU_ACCSS SET nm_prdct_dvsn_id = 1,vc_bsnss_unt_cd =
'1~~8~~11~~82'
WHERE nm_prdct_dvsn_id = 3 AND vc_bsnss_unt_cd = '-1';

oracle issues a "ORA-00997: illegal use of LONG datatype" error.

can some help on this issue?

http://tahiti.oracle.com
Look up LONG
--
Daniel A. Morgan
Oracle Ace Director & Instructor
University of Washington
damor...@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Groupwww.psoug.org
uday, I would suggest you look specifically at the Long data type
entry in the Concepts manual chapter on Oracle native data types where
you can find this statement >> You can use LONG columns in SELECT
lists, SET clauses of UPDATE statements, and VALUES clauses of INSERT
statements. <<

HTH -- Mark D Powell --





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.