Need help about how to capture the name of an object before inserting.

Hi everybody,
how i can capture the name of an object before it inserts in a table.
i will use a pre-insert trigger to do this, but i don't know how to specify the name of the object that's inserting.
any help about this issue will be appreciated.

Mentioning objects you mean: You have a procedure which inserts data into some table and this procedure needs to know the name of the caller (another procedure or ...)
Can this be of some help http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:382218730166 ?
Regards
Etbin

Similar Messages

  • Need help about how to print the report landscape

    Hi,
    I am using Oracle Developer 6.0 Report Builder to generate reports and I am new to it. My boss asked me to generate the report in landscape style. In the Report Builder for Windows 95/NT, I went to FILE->PAGE SETUP, clicked Landscape and OK, but it didn't work. Also, I saved report as PDF file, in Acrobat Reader 4.0, I did FILE->PAGE SETUP->Properties and chose Landscape. But after the report was printed out, it was still in Portrait style. By the way, the Landscape Properties of printer working for MS Word.
    I'd really appreciate it if someone would give me some suggestions.
    Best regards.
    Judy

    Hi,
    Thanks for your reply, but I have no idea with patch 7, I am wondering if you can tell me more about it.
    Best regards.
    Judy
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Chris Sung ([email protected]):
    It is Oracle Bugs... Try to apply patch 7 to see whether it can help you!<HR></BLOCKQUOTE>
    null

  • I have an itouch, most songs i got off my cd's. i have a new laptop and want to put songs from itouch to laptop.I can only get the songs that i purchased onto the laptop? need help with how to get the rest from itouch to laptop please??

    i have an itouch, most songs i got off my cd's. i have a new laptop and want to put songs from itouch to laptop.I can only get the songs that i purchased onto the laptop? need help with how to get the rest of the songs (from my cd's) from itouch to laptop please??

    See this previous discussion:
    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities

  • 9I: How can get the names of all objects in a package header? [RESOLVED]

    Is there a way to get the names fo all objects (function, procedures) from package header
    select * from user_objects only gives the the header name, I need the object in the header.
    John
    Message was edited by:
    johnminkjan

    Here is an example with dbms_output package!
    SQL> select owner, object_name,procedure_name from all_procedures
      2  where  object_name='DBMS_OUTPUT';
    OWNER                          OBJECT_NAME                    PROCEDURE_NAME
    SYS                            DBMS_OUTPUT                    GET_LINES
    SYS                            DBMS_OUTPUT                    GET_LINE
    SYS                            DBMS_OUTPUT                    NEW_LINE
    SYS                            DBMS_OUTPUT                    PUT_LINE
    SYS                            DBMS_OUTPUT                    PUT_LINE
    SYS                            DBMS_OUTPUT                    PUT
    SYS                            DBMS_OUTPUT                    PUT
    SYS                            DBMS_OUTPUT                    DISABLE
    SYS                            DBMS_OUTPUT                    ENABLE
    9 rows selected.
    "or"
    SQL> desc dbms_output

  • HELP!!! i need help on how to update the core applications and system software.

    can anyone help me update my software for a blackberry curve 9300. i need to updat the core applications and the system software but i dont know how to do so. do i do it by my desktop or device

    Hi and Welcome to the Community!
    The simplest way is this:
    KB16068 How to update the BlackBerry Device Software through the web
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Need help with ipod and changing the name

    I am new to using my ipod, and I put my name on it so it shows "(My name) Ipod's), and I was wondering if their was anyway to change the name of the ipod... So it could show something else other than (Mynames Ipod's).. Thanks for your help,
    Adele

    Ok, I'm sorry, I must be an idiot... So I connected my ipod, but where is the source list? I looked for my ipod under My Computer and I do not see anything there.. Can you please explain to me where the source list is, thank you!

  • Need help on how to specify the current select row in a View Object

    Hi,
    I have a ADF table on my page, when I was selecting the rows in this table, I want the set and get methods in the ViewRowImpl class to do some customized actions. I found out that each time regardless the row I select in the table, the viewrowimpl class will always return the data in the first row, I tried to use getCurrentRow in VO row impl. but still, gets the first row.
    Does anyone know how to get the selected row value in the View Object, or View Row Impl rather???
    Thanks!

    Hi,
    you can call a method exposed by the AM and pass teh rowKey of the selected row as an argument. When you configure the exposed AM method in the pageDef (creating a method binding) the argument is shown in a dialog from where you can use EL like #{bindings.iteratorName.currentRow.rowKey} to access the current selected row.
    Frank

  • Need help on how to create the simple mapping using ORACLE DATA INTEGRATOR

    Hi guys,
    am new to learn odi.. please share me or steps how to develop the simple mapping using ODI...

    Hi,
    I am a newbie to Oracle Data Integrator as well. You should have a look here first; http://www.business-intelligence-quotient.com/?p=379
    Try to play around with ODI and then come back if you have specific questions. You should better move to this ODI-forum; Data Integrator
    Good Luck,
    Daan Bakboord
    http://obibb.wordpress.com

  • Need help on How to achieve the belo pl/sql job in best bossiple way

    Hi,
    I need a help on PL/SQL
    I have A table EN and few columns and its values are as below
    SQL> select distinct(cpstpn),concno from en ORDER BY CPSTPN;
    CPSTPN CONCNO      counnt(concno)
    0 0          1234     
    0 2          1578
    0 4          1238
    0 5          800     
    0 7          567
    1 2          1234
    1 4          1587
    3 0          1489     
    3 1          1287
    select cpstpn,concno,enum,lctype,synthetic from en where cpstpn=0 and concno=0 and abbrnac=10 order by enum asc;
    CPSTPN CONCNO ENUM LCTYPE SYNTHETIC
    0 0 0 MK3MCI 00POOLE1000MK3MCI20000000
    0 0 1 MK3STSP
    0 0 2 MK3STSP
    0 0 3 MK3STSP 00POOLE100MK3STSP45571400
    0 0 4 MK3STSP
    0 0 5 MK3STSP
    0 0 6 MK3STSP
    0 0 7 MK3STSP 00POOLE100MK3STSP19969600
    0 0 8 MK3STSP
    0 0 9 MK3STSP 00POOLE100MK3STSP45549500
    0 0 10 MK3STSP
    CPSTPN CONCNO ENUM LCTYPE SYNTHETIC
    0 0 11 MK3STSP
    0 0 12 MK3STSP
    0 0 13 MK3STSP 00POOLE100MK3STSP45476100
    0 0 14 MK3STSP
    0 0 15 MK3STSP
    0 0 16 MK3MCI
    0 0 17 MK3STSP 00POOLE100MK3STSP19852600
    0 0 18 MK3STSP
    My query
    1 cpstpn has many Concno
    1 concno has upto 2048 ENUM
    There is one more Column Name Recstat
    if the recstat column is 0 consider it is free else not free
    Conside 1 cpstpn has 4 concno 1 concno has 1500 enum
    1 cpstpn=4*1500=600Enum
    I want to pick up 24 enum's
    such that it goes as below
    1) FIND A CPSTPN,CONCNO by listing cpstpn having least free device and again in that concno having least free devices
    Ex: consder cpstpn1 has concno 1 and 2 and count of free device(recstat=0) is 510
    cpstpn concno free_count
    1 0 210
    1 1 300
    total: 1 510
    consder cpstpn 2 has concno 1 and 2 and count of free device(recstat=0) is 710
    cpstpn concno count(concno)
    2 1 250
    2 2 460
    total: 1 710
    My final list should look like this
    that is in the order of concno having least free equipment
    (Need the query for the below output)
    cpstpn concno count(concno)
    1 0 210
    2 1 250
    1 1 310
    2 2 460
    so that i can pick the cpstpn=1 and concno=0 in case i find the a single concentrator having free equipments greater than requested ENUM(i.e in this case 24)
    all the concno has free equipments greater than 24
    select count(*) froom en where cpstn=1 and concno=0 gives me 780 records(which include recstat=0 and recstat!=0)
    780/64=12.18
    i need to split the 780 into rows of 64 if there are remaining records that needs to go to next element(Here it is LCT Column which is imaginary)
    like below
    CPSTPN CONCNO ENUM LCTYPE SYNTHETIC LCT
    0 0 0 MK3MCI 00POOLE1000MK3MCI20000000 1
    0 0 1 MK3STSP 1
    0 0 63 MK3STSP 00POOLE100MK3STSP45571400 2
    0 0 127 MK3STSP 2
    0 0 128 MK3STSP 3
    0 0 129 MK3STSP 3
    Again in this i need to find the count of free devices(recstat=0 or synnthrtic field is not null) in each LCT
    LCT FREE COUNT
    1 20
    2 30
    3 1
    SO i wnat to now to dstribute the input 24 Equipments in the above free count rows in round robin fashion
    (free count rows is noth but row having snthetic field as null)
    i.e as below
    CPSTPN CONCNO ENUM LCTYPE SYNTHETIC LCT
    0 0 2 MK3MCI 1
    0 0 65 MK3STSP 2
    0 0 128 MK3STSP 3
    my 24 enum will be as belo
    2
    65
    128
    if the count of free devices becomes zero during picking of enum from skip & go to next lct
    in case i dint find a single concno having enough free equiments as requested i need to pick the enum across concentrators(as min imu as possible) under single cpstpn having free quipments greater than >= my request
    requested enum=24 and free counts in conco is as below
    cpstpn concno count(concno)
    1 0 8
    1 1 3
    2 1 13
    2 2 6
    2 3 4
    i need to pick up cpstpn 2 and conco=1 and alaccote= 13 enum as explained up then
    i need to pick up cpstpn 2 and conco=2 and alaccote= 6 enum as explained up then
    i need to pick up cpstpn 2 and conco=2 and alaccote= 3 enum as explained up
    so that input request of 24 ENUM is satisfied
    ccondition: while picking the cpstpn here i will have to ensue that i pick the cpstpn having least free devices first > my input request always first
    Also when two or three jobs comes @ once for 24(or any num) as request there should not be any collision

    How to ask question
    SQL and PL/SQL FAQ

  • I need help in "HOW TO EXTEND THE DATA TYPE SYSTEM"......

    Hi All,
    I need to add new data type like SDO_GEOMETRY in spatial Oracle.
    I don't mean the User-Defined Datatype but new datatype embed in the database.
    I read the Data Cartridge Developer's Guide but it has info how to use more efficiently UDT through indexes.
    Anybody used the “Type System” under Databases and Extensibility Services?
    It might be written in C++ or Java but I do not know how.
    Any hints and help will be appreciated.
    Thanks,

    > In Figure 1-1 Oracle Services, there is a "Type System" as Oracle Services.
    The "Type System" is merely a compartmentalising the data type handling and implementation code/modules in Oracle.
    This covers all types. Oracle native types, user defined types (UDTs), etc.
    Saying that you want to create a new type in the "Type System" is basically saying you want to use the CREATE TYPE SQL command in Oracle.
    > So, I want new_type1 and new_type2 behave like other built-in types, just the way
    SDO_GEOMETRY works in Oracle Spatial Cartridge.
    Not familiar with the SDO_GEOMETRY. Why do you mention this type specifically? What do you want to do similar?
    > I have already done it with user-defined types. Now I need to do this way so that I can
    compare and contrast in terms of speed, space...etc for part of my research.
    Hmm.. I'm not sure what you are trying to compare ito of a UDT and Data Cartridge extensions. It is not one or the other. What research is this if I may ask?
    Simplistically you extend the Type System with a new UDT/ADT. And there you have a new type data can be used in the SQL Engine and the PL/SQL engine. The OCI (Oracle Call Interface) supports such types via the OCI object API calls - which means this new type can also be used from Oracle clients written in Delphi, C++, Java, etc.
    That new type can be a complex type. This type may need specific management code (memory management, context management, internationalisation, etc). To support this you can extend the UDT/ADT further by developing Cartridge Basic Service interfaces for the type - designing and writing management code to, for example, support specific internationalisation requirements when dealing with multibyte character sets.
    You can also extend the UDT/ADT to be custom managed ito indexing, determining query optimisation, computing costs of custom methods/functions/operators on this custom data type. These extensions are done by developing Data Cartridge interfaces for the type.
    Thus I cannot see what you are trying to compare. It is not one layer/interface versus another. These layers exist for all Oracle types (in the Type System). Oracle not only allows you to add to the top layer by adding/defining a new data type. It also allows you to customise (if needed) the layers below it.

  • Need to know how to find the name of the classes for ABAP Objects

    Hi Experts,
    I am new in ABAP Objects. I do not now the best way to find the class which I want to use. Shall I search it using F4 search help, but many of the classes does not have a description with them.
    I want to create a text field on my splitter container. Can anybody please tell me the class-name for the text field.
    Regards,
    Saurabh A. Buksh

    Hi,
    Thank you for the helping me. But, I actually want something which we call a Text Box. I do not require a Text Edit Control.
    Please tell me if you know any classes related to it and the parameters that I need to pass into it.
    Thanks & Regards,
    Saurabh A. Buksh

  • Need Help on How to Change The Encryption Key and or Change security settings

    Hello, i just installed the wireless router and i would like to know how i can change the encryption key or change the security settings (i want it so you do not have to answer it with a password). Thank you in advance.
    Message Edited by DARK_MARIO on 01-06-200706:10 PM

    Hi…
    In order to change the wireless settings of your router you need to login into the router configuration page. Open your internet explorer browser…in the address bar type http://192.168.1.1 ( Default IP address). Leave the username field balnk……type admin as password (If you have not changed the router password). When the setup page loads fully…..click on the tab that says wireless. Just below the main tab wireless ….click on the sub tab that says wireless security. You can Change the wireless security settings here. After the changes are made click on save settings.

  • FDM: Need help on how to show the new attribute in import - export form.

    Hello,
    I was able to enable a new attribute in FDM workbench client. Now I see this new attribute in import format , but I don't see this attribute in import, validate and export form. Please help how I can show this new attribute in import, validate and export.
    we are using FDM 11.1.1.2.0 version.
    THanks,
    sikandar

    Hello SH,
    Thanks for your response.
    We have already have attribute1, 2, 3 and attribute12 which is already enabled and I can also see them in the import, validate and export form.
    I even tried to click on the amount field to see the details (Click here to see details). When I check on the amount field, nothing appears.
    Might be some setting which is missing. If you can please guide that will be helpful.
    Thanks,

  • Need help on how to identify the latest timestamp ran for the WorkBooks

    I know some tables to identify the workbooks when they are created.But this tables are not updating If we ran the workbook today.
    for example, :   if we created workbook & saved on 05/25/2009 or opening old WB.After that if we ran same workbook on 05/26/2009 then system has to update the latest timestamp as last ran.but iam unable to find this timestamps for workbooks.
    WB are maitained in RSDDSTAT.here i can able to find when it was last changed but not the latest timestamps.Our requirement to find the latest timestamp ran for the WorkBooks from last one year, which are using.
    below are the tables to identify when the workbook was created and other details:
    RSRWBINDEX  List of binary large objects (Excel workbooks)
    RSRWBINDEXT  Titles of binary objects (Excel workbooks)
    RSRWBSTORE  Storage for binary large objects (Excel workbooks)
    RSRWBTEMPLATE  Assignment of Excel workbooks as personal templates
    RSRWORKBOOK  Where-used list for reports in workbooks
    Thanks in advance
    Mahesh

    Any Updates,
    I got one more table to identify WB,
    /BI0/PTCTWORKBK - Master Data (Time-Ind.): Characteristic Workbook
    Still unable to find Last run timestamps for workbooks
    Mahesh.

  • Need help about Hidden Markov Model model

    I want to make classification for EEG signal using Hidden Markov Model
    algorithm based on neural network.
    plz need help about how to implement this algorithm using LABVIEW.
    if not I want another thing to make classification.
    any one know information about this topic, send me a reply
    thanks

    Have you derrived the HMM that you want to implement?
    If so, post the algorithm and we can provide comments on how to implement it using LabVIEW.
    Message Edited by Ray.R on 04-12-2010 12:54 PM

Maybe you are looking for