If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > update in oracle 8i

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-21-04, 10:42
fadychammas fadychammas is offline
Registered User
 
Join Date: Oct 2003
Posts: 20
update in oracle 8i

Hi could someone help me to transform this sql statement that works on sybase, to work on oracle 8i:
update user_lvl, prg_lvl
set user_lvl.menu_module = 2,
user_lvl.menu_order = 6,
user_lvl.menu_level = 4
where prg_lvl.menu_tag = 'Menu=w_app_status;' and
user_lvl.menu_module = prg_lvl.menu_module and
user_lvl.menu_order = prg_lvl.menu_order and
user_lvl.menu_level = prg_lvl.menu_level and
user_lvl.menu_lang = prg_lvl.menu_lang and
user_lvl.menu_prog = prg_lvl.menu_prog ;
Thanks in advance
Reply With Quote
  #2 (permalink)  
Old 05-21-04, 10:44
arvindram arvindram is offline
Registered User
 
Join Date: Apr 2004
Location: USA
Posts: 33
update user_lvl
set menu_module = 2,
menu_order = 6,
menu_level = 4
where exists(
select 1 from prg_lvl where prg_lvl.menu_tag = 'Menu=w_app_status;' and
user_lvl.menu_module = prg_lvl.menu_module and
user_lvl.menu_order = prg_lvl.menu_order and
user_lvl.menu_level = prg_lvl.menu_level and
user_lvl.menu_lang = prg_lvl.menu_lang and
user_lvl.menu_prog = prg_lvl.menu_prog );
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On