What is the alternate to this? without trigger & insrt...value(seq.nextval)

create sequence myv ;
drop table t33;
create table t33
(c1 number default myv.nextval);

Perhaps this, though the downside is it's rather more bulky than a generated number, and less human-readable:
SQL> create table t33
  2  (c1 raw(16) default sys_guid(), c2 varchar2(30));
Table created.
SQL> insert into t33 (c2) values ('Banana');
1 row created.
SQL> select * from t33;
C1                               C2
2571E04E2E3F59BFE040007F01001E0C Banana
1 row selected.

Similar Messages

  • So I have an iPad with the smart cover, and it's usually supposed to turn on the iPad when u open it, but it's no doing that for me. Nor is it turning off without pressing the button. What is the meaning of this?

    So I have an iPad with the smart cover, and it's usually supposed to turn on and off the iPad when u open it and close it, but it's not turning on for me. Nor is it turning off without pressing the button. What is the meaning of this?what caused it to be this way? Is there someway that I could fix it?

    Wait a sec did this just start?
    You set up the smart cover function in settings (you did that, right?) so, if you did that and it's failed you make an appointment at your nearest Genius Bar now.

  • HT201441 Hi I bought a second-hand phone iphone4, I update the software when you want to activate the phone asked for my registration icloud I do not know what is the password for this registration, can you tell me how to go to the next step without such

    Hi I bought a second-hand phone iphone4, I update the software when you want to activate the phone asked for my registration icloud I do not know what is the password for this registration, can you tell me how to go to the next step without such registration in icloud
    my ICCID is 8935905000307066111

    Unfortunately, you cannot do very much with your phone unless you get assistance from the previous owner, they should either provide you with the password to unlock it or remove their account from the phone entirely remotely through iCloud.com > Find My Phone.

  • I am unable to import pictures from camera to iphoto 9 or 11 without getting message saying "the file is an unrecognizable format"  They are JPG files like always but now i can only import from a CD.  What is the fix to this problem?

    I have always been able to import pictures from camera to iphoto without a problem.  Now, for some unknown reason our iMac and Mac Laptop will not import pictures from camera to iphoto 9 or 11...what is the fix to this problem?  It will only accept import from a CD.

    I have always been able to import pictures from camera to iphoto without a problem.  Now, for some unknown reason our iMac and Mac Laptop will not import pictures from camera to iphoto 9 or 11...what is the fix to this problem?  It will only accept import from a CD.

  • What are the consequences of Compiling a trigger in peaktime in a Database.

    What are the consequences of Compiling a trigger in peaktime in a Database.

    Compiling a (table) trigger, would temporarily require a lock on the involved table.
    So, no open transactions that involve the table can exist.
    Since a trigger is a top-level object (dba_dependencies - wise), compiling it will not invalidate other objects.
    Having said this: I would not advise doing this during peaktime...

  • WHAT IS THE POINT OF THIS FORUM?

    What is the point of this forum when over half the questions go unanswered?
    In fact, what is the point of creating and selling a product that so many people can't even install without an expert looking over their shoulder?
    This really sucks! I am really sorry that I elected a major in Oracle Development.

    Erin,
    There are reasons for doing controlled releases, and your implementation experience with prior upgrades is one of them.
    Doing an upgrade requires the management of the underlying repository, the underlying repository has changed significantly from 309 to 902 owing to the introduction of OID and other significant changes to the architecture.
    Running a controlled release allows Oracle to ensure that the final upgrade scripts when made publicly available are as solid and bug-free as possible whilst allowing those customers who wish to upgrade sooner rather than later and take part in the feedback process can do so with the knowledge that Oracle can help them should they come across any issues.
    We currently have over 150 customers running the upgrade scripts and providing feedback, so much so that we are hoping to release them publicly in the very near future.
    On another note, I should point out that in your post you are referring to DB upgrade versions and not Application Server upgrade versions..

  • What is the Alternate for AMPERSAND (&) in oracle???????????

    Hi All,
    This is my query......
    select * from
    select 'abc' a from dual union
    select 'def' a from dual union
    select 'abc & xyz' a from dual
    ) where a='abc & xyz';
    Output should be 'abc & xyz'.
    Since I am using '&' it will prompt to enter some value from my keyboard.
    Yes, I know, I will get the output either by using set scan off,set define off, set escape on.
    what is the Alternate for AMPERSAND (&) in oracle???????????
    The value 'abc & xyz' will be passed from the front end and will be passed to the select statement..........
    Regards,
    Kashyap Varma N

    nkvkashyap wrote:
    Hi All,
    This is my query......
    select * from
    select 'abc' a from dual union
    select 'def' a from dual union
    select 'abc & xyz' a from dual
    ) where a='abc & xyz';
    Output should be 'abc & xyz'.
    Since I am using '&' it will prompt to enter some value from my keyboard.
    Yes, I know, I will get the output either by using set scan off,set define off, set escape on.
    what is the Alternate for AMPERSAND (&) in oracle???????????
    The value 'abc & xyz' will be passed from the front end and will be passed to the select statement..........
    Regards,
    Kashyap Varma NI think you are confused. Oracle (i.e. the DB) doesn't care about &. However front-ends like SQL*Plus do: and prompt you for the substitution (unless set define off etc.).
    If you are using Java, then pass strings with & with no problem.

  • What is the use of this form?

    Hi all,
    What is the use of this form in include RV61B901?
    How does this code send any information to the program calling it? Is Sy-subrc global so that main program will know the reuslts?
    Code:
    FORM KOBED_901.
      DATA : l_anzpk LIKE likp-anzpk.
      SELECT SINGLE anzpk FROM likp
                          INTO l_anzpk
                          WHERE vbeln = komkbv2-vbeln.
      IF l_anzpk NE 0.
        sy-subrc = 4.
        exit.
      ENDIF.
      sy-subrc = 0.
    ENDFORM.
    Thanks,
    Charles.

    Hello,
    This form sets the value of sy-subrc(which is global) based
    on the value of l_anzpk.
    Regards
    Greg Kern

  • MM - PO - what is the meaning of this button?

    Dear friends,
    Could anybody help me with one question.
    There is a strange button in a Purchasing Order on the Account Assignment tab page on this screenshot (it is marked with red color).
    Screenshot below
    http://content.foto.mail.ru/mail/raiden87/81/i-84.jpg
    What is the meaning of this button? When it is used for?
    I hope that anybody knows the meaning =)

    hi raiden,
    as for as i have gone through the issue I have come to know that:
    If you want to use multiple account assignment for a line item in PO then at that moment you will have to first press the "repeat on " button. only after that multiple account button will be active that is just before your "repeat on " button.
    Steps:
    1:Save your PO.
    2:Go to transaction code ME22N to change the PO.
    (Here you will firstly see that the multiple a/c assignment button is firsty gray.It will become active only after when you press the "repeat on" button).
    I hope It will be helpfull for you.
    regards,
    Aslam Ansari.

  • My Ipod touch is frozen.  Shows USB cable with arrow pointing to Itunes.  What is the problem?  This is the second one I have had that has done this!

    My Ipod touch is frozen.  The screen shows only USB cable with arrow point to the word Itunes.  What is the problem?  This is the second touch I have had that has this same problem.  HELP!

    This time try restoring the iPod to factory defaults/new iPod instead of from backup.  You may have some corruption that is causing the problem and it may now be in the backup.  If the problem persists after restoring to factory defaults/new iPod. then you likely have a hardware problem and ana ppointment at the Genius Bar of an Apple store is in order.

  • What is the wrong in this PL/SQL  block

    Hi a...
    Can you please tell what is the wrong in this pl/sql block.
    declare
    TYPE TYP_NT_NUM IS TABLE OF NUMBER ;
    v_tab TYP_NT_NUM := TYP_NT_NUM();
    TYPE uname is VARRAY(30) of varchar2(100) ;
    usr uname := uname ( 'u1','u2','u3','u4' );
    TYPE pwd is VARRAY(30) of varchar2(100) ;
    psw pwd := pwd('p1','p2','p3','p4');
    x number(10):=0;
    Cursor fcid IS Select distinct FC_ID From FCMASTER ;
    Begin
    Open fcid ;
    --for ii in usr.first .. usr.last loop
         Loop
              Fetch fcid Into x ;
              Exit When fcid%NOTFOUND ;
              v_tab(fcid%ROWCOUNT) := x ;
         End loop ;
         For iii IN v_tab.FIRST .. v_tab.LAST Loop
              dbms_output.put_line(v_tab(iii).FC_ID) ;
              End loop ;
    End loop; End of outer loop
    End;
    The error is
    Error
    [row:28,col:36] ORA-06550: line 28, column 36:
    PLS-00487: Invalid reference to variable 'NUMBER'
    ORA-06550: line 28, column 4:
    PL/SQL: Statement ignored
    Thanks in advance,
    Pal

    v_tab(iii).FC_ID
    declare
      type typ_nt_num is table of number;
      v_tab typ_nt_num;
    begin
      select distinct object_id bulk collect into v_tab from all_objects where rownum <= 10;
      for i in 1 .. v_tab.count loop
        dbms_output.put_line(v_tab(i)) ;
      end loop ;
    end;
    /

  • I am trying to listen BBC radio news from BBC App, but on pressing the button I always get the error "there was an error playing this radio feed". What is the source of this error and how can I remove it?

    I am trying to listen BBC radio news from BBC App, but on pressing the button "live radio" I always get the error "there was an error playing this radio feed". What is the source of this error and how can I remove it?

    That is probably just a generic error message and you might not ever know what is causing it. Assuming that you have been able to play live radio with the app in the past (I know nothing about the app) and assuming that all other Internet related functions (Safari, email, etc.) are working properly on your iPad, quit the app completely and reboot your iPad.
    Go to the home screen first by tapping the home button. Double tap the home button and the recents tray will appear with all of your recent apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button or anywhere above the task bar.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
    If that fails to resolve the issue, you might want to reboot your router, unplug it for about 30 seconds and then plug it in again.

  • TS1702 I use iphone5, I see an app update on the app store. but when App store and click on the update tab, it doesn't show me which application to update.. just give me a blank page.!!!! what is the solution for this.!!!!

    I use iphone5, I see an app update on the app store. but when App store and click on the update tab, it doesn't show me which application to update.. just gives me a blank page.!!!! I wouldn't able to know what app has to be updated, untill and unless i get check for each every app on the app store installed on my iphone... what is the solution for this.!!!! can any1 one help me out.!!!!

    Cc2528 wrote:
    The iTunes Store on my iPad is set up with all my music already. And at the very bottom it shows my apple Id username. The only place it shows the previous owners id is in the App Store...
    You can probably change the ID in the "iTunes and App stores" settings on the iPad....click on the wrong account ID , select sign out, then log in with your own ID, I have not done this but I think it works.....
    but I would be more inclined to to the factory reset and start afresh.

  • What is the uses of this programe(accelerometer)?

    what is the uses of this programe(accelerometer) in N95 original or N95 8g and from where I can get it?

    This is Rotateme, but needs to be signed.
    http://www.bysamir.fr/rotateme/
    This is the movingball which just needs to be installed (doesn't require signing).
    http://research.nokia.com/files/MovingBall_Example.sisx
    Nokia N95
    V 20.0.015
    0546553

  • What is the meaning of this column in the pricing  procedure?

    Dear Gurus,
    What is the meaning of this column in the pricing procedure?
    thanks..

    subtotal field : Subtotal field is used to pass the value to some other field in PO .
    for ex: using value 9 you pass the value to field komp-brtwr. so that this can be used in  any other routine in the pricing procedure.
    requirement field: if there is a scenario that condition type should come in pricing on some condition like vendor country is india. in that case use create the requirment and attached this requirement.in this requirment you put logic and set the sy-subrc value 4 or 0.

Maybe you are looking for

  • Black ink not working

    my hp photosmart premium c390g-m installed a few years ago has been working fine. now will not print in black. new cartridge has been installed. cleaned printhead. alignment fails. do i need a new printer?

  • Can't remove saved passwords from Safari

    Using 10.10.1, Safari 8.0, upgrade from Snow Leopard. When I try to Remove one or all passwords in Safari's Passwords prefpane, nothing happens. How do I fix this? In a possibly related issue, when I try to delete the X509Anchors keychain file in Key

  • What happened to the bookmarks? next to the star which is bookmark this page is not a list of your bookmarks but the bookmark menu....

    with the latest update. Next to the star where you can bookmark a page used to be the bookmarks drop down. Now it opens up your bookmarks menu. How do you get it back to being a drop down of your bookmarks??

  • User/ Library / Prefs????

    Does anyone know what these folders are all about? I found them in the Pref Folder of my User File Library. There are 27 folders (all empty) with these titles - these are 6 of the 27 titles: à¿ìR à‡ìR à8êñr∂ àNPíÈî àPPíÈî àPñ˛Ñ Can I discard these f

  • URGENT-Usage Of -BAPI_CUSTOMER_CREATEFROMDATA

    HI CONSULTANTAS, i have got this document(SEE BELOW) form SAP-0SSNOTES, 1.WT DOES REALLY MEAN. 2.<b>CAN I CALL THIS FROM REPORT PROG TO CREATE THE CUSTOMER   OR CAN I HAVE TO USE BDC ONLY</b> Symptom This note is meant to provide an explanation of th