Ceriwis  

Go Back   Ceriwis > HOBI > Komputer & Teknologi > Programming

Programming Share, tanya jawab, saling bantu antar programmer dengan berbagai macam bahasa pemrograman.

Reply
 
Thread Tools
  #1  
Old 20th November 2011
Linuxmania Linuxmania is offline
Ceriwiser
 
Join Date: Nov 2011
Posts: 392
Rep Power: 15
Linuxmania mempunyai hidup yang Normal
Default [ask]execute immediate select into variable ORACLE

gan ane ada masalah begini

pertama2 ane masukin dynamic syntak ke variable
Code:

v_statement:='select ('||v_gens_id||'.currval) from dual';

abis itu kan di eksekusi
Code:

execute immediate v_statement;

trus ane lihat isi v_statement ituh... dalemnya ini gan(udah bener syntaknya yang ini yang pengen di eksekusi)
Code:

select (GEN_RESELLER_ID.nextval)into v_generator from dual

nah tapi knapa ada error yang begini?

ORA-00905: missing keyword

ORA-06512: at "ROOT.GET_PREFIX_ID", line 52






tulung gan...sedikit urgent mentok ane...

</div>
Reply With Quote
Reply


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 On
HTML code is Off


Terkait
Thread Thread Starter Forum Replies Last Post
[Logika Learning Center - Oracle Training] Membuka Program Oracle BootCamps masbro1 Programming 4 8th October 2013 11:15 AM
JUAL [WTS] Diamond Select Toys And Collectibles Marvel Select Zombie Hulk Figure KozoBoyz Action Figures 0 3rd October 2012 08:59 AM
JUAL [WTS] Diamond Select Toys And Collectibles Marvel Select Zombie Hulk Figure Sharinggan Action Figures 0 3rd October 2012 08:40 AM
koneksi oracle form developer 10g ke oracle db 10g Guesuper Programming 0 20th November 2011 10:12 AM
&lt;ask&gt; About Oracle, select jadi lama setelah hapus record Darkc0der Programming 0 20th November 2011 12:23 AM

 


All times are GMT +7. The time now is 02:45 AM.