Is there any command in SQL or in form6i to view the role of current user?

Hi Friends,
Is there any command in SQL or in form6i to view the role of current user?
Please reply me on urgently basis.
Shahzad

select * from SYS.dba_role_privs where grantee=<USERNAME>
Ensure that you have select privs on above system view.
Cheers........ Bob

Similar Messages

  • Is there a command in sql

    hi all,
    is there any command in sql like CREATE DIMENSION
    Thanks and Regards,
    Sri Ram.
    Edited by: Sri Ram on 19-Oct-2010 02:46

    http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/statements_5006.htm#SQLRF01206

  • Is there any command in Reports 6i - which is similar to raise form_trigger

    Is there any command in Reports 6i - which is similar to raise form_trigger_failure in forms6i.

    This might be helpful,
    You must raise the exception from within your PL/SQL.
    SRW.PROGRAM_ABORT examples
    /* Suppose you want to put a border around the salary if it is greater
    than 0.
    ** Suppose, also, that if the report fetches a salary less than 0, you
    want to
    ** raise a customized error message (i.e., "FOUND A NEGATIVE SALARY. .
    ** then terminate the report execution. To do so, you could write the
    ** following format trigger for F_SAL.
    FUNCTION foo return boolean is
    BEGIN
    if :sal >= 0 then
    srw.attr.mask := SRW.BORDERWIDTH_ATTR;
    srw.attr.borderwidth := 1;
    srw.set_attr (0, srw.attr);
    else
    srw.message(100, 'FOUND A NEGATIVE SALARY.
    CHECK THE EMP TABLE.');
    raise srw.program_abort;
    end if;
    RETURN (TRUE);
    END;

  • Always on : Is there any command or other way which tells who and when replica got failover or failback to other replica?

    Is there any command or other way which tells who and when replica got failover or failback to other replica?
    Rahul

    By Monitoring of Availability Groups:
    Monitoring of Availability Groups (SQL Server)

  • Is there any command/FM to get rid of  error message in CATT?

    Dear friends,
    Is there any command/FM to get rid of  error message in CATT? such as the following in eCATT script?
    MESSAGE ( MSG_1 ).
    ENDMESSAGE ( E_MSG_1 ).
    or any body now how to get the socrce code of these commands?
    Many thanks!
    Cliff

    Hi,
      See the help
    http://help.sap.com/saphelp_nw04/helpdata/en/d7/e2143b408e11d1896b0000e8322d00/frameset.htm
    Regards
    Kiran Sure

  • Is there any command/query/etc, which would allow to understand what database objects (for example tables) are consuming memory and how much of it?

    TimesTen Release 11.2.1.9.6 (64 bit Linux/x86_64)
    Command> dssize;
    PERM_ALLOCATED_SIZE:      51200000
      PERM_IN_USE_SIZE: 45996153
    PERM_IN_USE_HIGH_WATER:   50033464
    TEMP_ALLOCATED_SIZE:      2457600
    TEMP_IN_USE_SIZE:         19680
    TEMP_IN_USE_HIGH_WATER:   26760
    Is there any command/query/etc, which would allow to understand what database objects (for example tables) are consuming memory and how much of it?
    tried to use ttsize function, but it gives some senseless results – for example, for the biggest table, tokens, it produces following output (that this table is 90GB in size – what physically cannot be true):
    Command> call ttsize('tokens',null,null);
    < 90885669274.0000 >
    1 row found.

    Are you able to use the command line version of ttSize instead? This splits out how much space is being used by indexes (in the Temp section of the TT memory segment), which I think is being combined into one, whole figure in the procedure version of ttSize you're using. For example:
    ttSize -tbl ia my_ttdb
    Rows = 4
    Total in-line row bytes = 17524
    Total = 17524
    Command> create index i1 on ia(a);
    ttSize -tbl ia my_ttdb;
    Rows = 4
    Total in-line row bytes = 17524
    Indexes:
    Range index JSPALMER.I1 adds 5618 bytes
      Total index bytes = 5618
    Total = 23142
    Command> call ttsize ('ia',,);
    < 23142.0000000000 >
    1 row found.
    In 11.2.2 we added the procedure ttComputeTabSizes which populates system tables with detailed table size data, and was designed to be an alternative to ttSize. Unfortunately it still doesn't calculate index usage though, and it isn't in 11.2.1.

  • Is there any command to see dfc memory on SUP32?

    Is there any command to see dfc memory on SUP32?

    I don't know if the Sup32's support dfc's or not or if it's only the 720's . To see this on the 720's you would have to log into the individual DFC cards by using the "attach slot#" command and then do a show version , this shows how much memory is on the indivdual cards . There is also a lot of other things you can look at in there , they have their own individual logs etc.... There is a a whole "show" command set just for the dfc's .

  • Are there any command can list all container and XML doc which in DB

    When I use BDB XML shell,
    are there any command can list all container or xml document which in database,
    maybe like command dir(in windows), can list all exist directory and file.
    Thank very much.
    Henry Wang

    Hi Henry,
    When I use BDB XML shell,
    are there any command can list all container or xml
    document which in database,
    maybe like command dir(in windows), can list all
    exist directory and file.If you type "help" in the dbxml shell you'll get a list of all the commands available. As you will observe, you can use the "getDocuments" command to retrieve all the documents within a container. You will have to open the container first.
    If you want to list all the files within a directory you'll need to simply use the command prompt's "dir" (naming all your containers within a directory in the <container_name.dbxml> would allow you get the list by running a "dir *.dbxml" command).
    Not sure that this is what you really want, but if you would like to keep track of all the containers within a directory, or other directories, you can use a container with a special role, that of a catalogue, to hold the list of all created containers on disk, and eventually other specific information.
    Regards,
    Andrei

  • Is there any way to download a backup to icloud over the internet

    is there any way to download a backup to icloud over the internet

    Welcome to the Apple Community.
    A back to iCloud of what. Your mobile devices can be backed up to iCloud using the iCloud settings.

  • Is there any way to create 3D PDF file without having the model tree ?

    Is there any way to create 3D PDF file without having the model tree ?
    3D communication is good but sometime we don't want the receiver to be able to study every components in model.
    or any way to make the receiver cannot use model tree and measurement tool ????
    Thank you very much

    You can remove the assembly tree by doing a roundtrip in 3D Toolkit, here's how:
    - start Acrobat 3D
    - drag & drop a CAD file
    - click on 3D Annot to activate
    - right-click on 3D
    - select 'Edit in 3D Toolkit'
    - 3D Toolkit launches
    - click in 'Scene Tree' panel
    - right-click on top assembly name
    - select 'Tools->Collapse Hierarchy'
    - select 'File->Save'
    - select 'File->Exit'

  • Hi, I've been playing Smurf's village for a year now and just last week, i tried to get into the app but it keeps rejecting and goes back to the main page.  Is there any reason for this?  I've been updating the app everytime and now it's not letting me in

    Hi, I've been playing Smurf's village for a year now and just last week, i tried to get into the app but it keeps rejecting and goes back to the main page.  Is there any reason for this?  I've been updating the app everytime and now it's not letting me in.  Pls advise. Tq

    Reset the device, restart the device, try downloading any other app.
    All of these are basic steps that could have been found by a simple search of the forums as a resolution for the issue.

  • TS2529 I had backed-up my iPhone and when I try to restore it it says that the back-up is corrupt or the iPhone is not compatible. I had a bunch of pictures that I need from that restore. Is there any way to get them back? I did the back-up to my Macbook

    I had backed-up my iPhone and when I try to restore it it says that the back-up is corrupt or the iPhone is not compatible. I had a bunch of pictures that I need from that restore. Is there any way to get them back? I did the back-up to my Macbook

    If the backup is corrupt, there is nothing that can be done.
    For what reason did you choose to not copy the pictures off the device to a computer prior to attemping an update or whatever caused the need to restore?  iPhones are not intended as sole storage of any media.

  • Is there any chance that FM reception gets made available on the next iPhone model?

    Hi,
    I did buy an iPhone 3G then upgraded iPhone 4 but always felt that Apple's devices missed a very useful function (and hoped that it would eventually be made available), FM reception! Now I have that cool iPhone and yet I have to have my iPhone to listen to my MP3s and a FM radio to be able to listen to the gym FM broadcasting or listen to my favorite FM station which doesn't broadcast on the internet! And I definitely don't see myself forking away a hundred on an iPod Nano just because of its FM receiver!!!
    Is there a hardware limitation preventing iPhone 4 from receiving FM broadcasting?
    Is there any chance that FM reception gets made available on the next iPhone model?
    Please give your iPhone customer FM reception!!! PLEASE!!!!!!

    We're all just fellow users here and have no idea what Apple might have in mind for future iPhone versions. You can offer your suggestion to Apple via their feedback page, if you wish:
    http://www.apple.com/feedback/iphone.html
    Regards.

  • Is there any option to recover a file we saved with the same name that other by mistake in a MAC PC

    is there any option to recover a file we saved with the same name that other by mistake in a MAC PC

    There's a slim chance. +*Stop using the drive IMMEDIATELY.+*
    Then see: [Data Recovery|http://web.me.com/pondini/AppleTips/Recover.html].

  • Is there any way to use a For Each Loop for each property of an User Defined Type?

    Is there any way to use a For Each Loop for each property of an User Defined Type? That would be very handy!
    Jorge Barbi Martins ([email protected])

    Alas, no, not in VBA.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

Maybe you are looking for

  • "Host Controller Not Found"

    I recently factory reinstalled my Lenovo W510. The recovery discs come with Vista 32 and I upgraded the system to  Win7 64. The device manager did a good job at finding the missing drivers I needed except for two things... The most concerning problem

  • Why do we need to have  a war or jar file

    Can someone please explain me what is the need of creating these 2 archives

  • Why do I got "Source of supply reset"???

    Hello, We are on SRM 5.00 SP12 on classic scenario. When we want to create a Catalog Shopping cart from a copy of an old one I got the message "Source of supply reset. Assign a new one, if necessary" and my Source of supply is reset. This is only for

  • Screen Sharing from Tablet

    I have a Samsing galaxy tablet, do any of the toshiba cloud tv's support screen sharing?

  • Email inbox folder page

    Can I create multiple folders on my Inbox, Outbox, Sent, Drafts, and Trash page for different email organization?