Dependency check

I am increasing the size of a varchar2 column, how to find out if this has any negative impact (anywhere in the code where they are using insert into..) etc, can i use dba_dependencies ?
or any trigger that is doing the insert ?

Hi,
Yes, you can use dba_dependiencies; that will tell you, for example, that package x references table y.  Unfortunately, it won't tell you which procedures in package x, or whether they reference the column that you're going to change.
Actually, you don't have to worry about INSERTs into the changed table.  Any INSERT that works with the shorter column will still work if the column is bigger.  What you do need to worry about is going the other direction: if you read data from the column into variables that were declare as, say
this_name  VARCHAR2 (30);
rather than
this_name  customer.customer_name%TYPE;

Similar Messages

  • Foreign key dependency checking

    Dear all:
    I have a question about foreign key checking.
    Let's say I have two Z table, one is master table and one is transaction table.
    The master table contains a primary key named CustNo.
    The transaction table have two primary keys named CustNo and OrderNo.
    The CustNo has foreign key (mandt + CustNo) point to master table, with setting
    "Key fields/candidates  1:N"
    I expected that, delete record in master table should check if there is any dependency in the transaction table,
    but I am wrong.  I am able to delete anything in master table even there are records in transaction table using the same CustNo.
    My question is, how can I make the dependency check?
    Thanks in advance.
    Edited by: Hung Kai, Michael Cheng on Nov 3, 2008 5:29 AM

    Hello,
        For this u need to change the cardinality.
    Below are the list of cardinalities and their functionality.Chack it and use the proper one.
    The left side (n) of the cardinality is defined as follows:
    n=1: There is exactly one record assigned to the check table for each record of the foreign key table.
    n=C: The foreign key table may contain records which do not correspond to any record of the check table because the foreign key field is empty. This can occur for example if the field of the foreign key table is optional, in which case it does not have to be filled.
    The right side (m) of the cardinality is defined as follows:
    m=1: There is exactly one dependent record for each record of the check table.
    m=C: There is at most one dependent record for each record of the check table.
    m=N: There is at least one dependent record for each record of the check table.
    m=CN: There may be any number of dependent records for each record of the check table.
    Shafi

  • Solution Manager/Charm and Transport Dependency Check

    Hello Everyone,
    I apologize if this question has an obvious answer.  I have searched SDN and could not get a 100% answer.
    We are just now in the process of rolling out Charm/Solution Manager and I have noticed that it appears to not perform transport dependency checks.  For example, let's say I am working on object ABC and have completed my testing (ready for transport to production) and then another developer also starts development on object ABC.  When my change is moved to production, it will pick up the other developers modifications without giving a warning or an error that a dependency has been encountered between the two transport requests. 
    Does Charm/Solution Manager offer the option of producing a warning should a transport depedency be identified?  If so, will someone explain (or point me to the appropriate documentation) how this can be set up?
    Best Regards,
    Scott

    Hi Scott,
    ChaRM supports imports from DEV->QAS->PRD by transport by transport requests level not by transport request task level. So don't worry(i.e., You can't import only your change of object ABC to production. It allows to import your change and other user's change of object ABC together to production).
    This is how it works(if more than an user works on the same object):
    1. Requester creates a support message from satelitte system to report a problem.
    2. Service desk employee creates a change document because some changes need to be done on object ABC to correct that reported problem.
    3. Change Manager approves the change document. So a normal correction is created automatically.
    4. This normal correction is assigned to 2 developers(your scenario) like for an example DVPR1 and DVPR2.
    5. DVPR1 creates a transport request and does some changes on object ABC. So a transport task will be created for DVPR1 under that transport request automatically.
    6. When DVPR2 tries to do some changes on the same object ABC, a seperate transport task(not a transport request) will be created for DVPR2 under the same transport request because the object ABC is locked under the transport request. So DVPR2 can't create a separate transport request for the same object if any transport request is pending(not released).
    7. Now object ABC will have one transport request. That transport request will have 2 transport tasks(1 for DVPR1 and 1 for DVPR2).
    8. Each developer relases their transport task only(not transport request) once he/she completes his/her change on the object ABC.
    9. DVPR1 or DVPR2 will change the status of normal correction to "Development Completed".
    10. Now, IT operator or DVPR1 or DVPR2 can release the transport request. The transport request can be released only if all tasks are released under the same transport request.
    (In this example: DVPR1 completed his change and released his transport task. Next DVPR2 completed and released his transport task).
    11. Finally IT operator import the transport request to QAS and PRD.
    Hope you are clear now. Let me know if you have any doubts.
    Regards,
    Sanjai

  • Enhancement request: dependency check cancel button

    I like the cancel compile button in 9.0.3. It would be nice if you could also include cancel button for stopping during the dependency checking phase of a deploy.
    PS I know you can kill the admin phase from the process window it's the phase in between the end of compiling and the admin phase.

    I've filed enhancement 2579440 for tracking. Thank you for your feedback.

  • Better dependency checking in pacman

    I'm often quite unhappy when I install some software and then getting errors like the following everywhere else:
    error while loading shared libraries: libjpeg.so.7: cannot open shared object file: No such file or directory
    Ok, it usually means that I need to upgrade the whole system. But not only some packages could not be rebuilt in official repositories yet, but also this mistake can ocasionally lead to broken pacman (or ssh, or any other vital component of the system).
    I guess it can be fixed. And I have two ideas how to fix that.
    First way is to extend dependency checking. In perfect world all packages should write in their dependencies maximum version of package that is needed for this particular package. But almost always we don't know future. It could be fixed by downloading an additional file for already installed package, which says that this particular version of package is not compatible with versions of dependency starting from specified. That dependencies might then be used just like native dependencies of that package. These additional dependencies can be tracked both by hand and automatically (using ldd, namcap, whatever).
    Second way is add freebsd-like dependencies on files for packages. So when packages are removed (upgraded) pacman could check if somebody relies on this file.
    Probably file list could be maintained by makepkg using something like ldd internally. But may be file dependencies could be used not only for dynamic libraries.
    Any thoughts?

    But there are plenty of problems:
    1. I want to setup a new little program. Am I supposed to wait to a full system upgrade?
    2. There are no drivers for ATI video for current xorg server now. Do I need to add ALL dependencies of old catalyst to IgnorePkg recursively? Or I need to add xorg-server only and hope nothing will break?
    3. Am I supposed to rebuild all packages from AUR after upgrade?
    4. Seems there are lots of topics with such mistakes in this forum.

  • Program for transport dependency checks

    Any body developed transport dependency program that would warn people of dependent transports? I hope this program would help greatly in managing transports and someone might have written an ABAP program.
    Your help is appreciated.
    Thanks
    Rajesh Yadla

    You can use SE03 transaction for the same.
    Goto SE03 transaction - select Include objects in a transport request - check the radio button for selected objects and
    add all your objects - execute - save in request.

  • Scheduler dependency checking

    While I see that one can assign Resource Groups to Job Classes for jobs running concurrently, is there a way to assure that one job task will not start up unless dependent jobs have finished?
    What I want if for job_B to start only after job_A has finished. I do not want job_A to have to call job_B. I want there to be a tightness so that job_B will follow job_A either immediately or in a reasonable amount of time, but job_B will not fire if job_A is still running.
    I can schedule job_A to run at the top of the hour. I can schedule job_B to run at 15 after the hour every 6th hour. I want to make sure however, that job_B will wait until job_A finishes in the event job_A takes longer than 14 minutes.
    Does this functionality exist, or do I have to put a flag in some extra 'jobs_running' table for job_B to check, and then have it trigger job_B if it has checked, but could not run. It would be really nice if this were already built into the underlying DBA_ tables for Scheduler.
    Please advise.
    Thanks,
    Scott Rappoport

    Hi,
    I have a similar question: Is there a possibility to lock a certain job in DBMS_SCHEDULER?
    For example: I want to run a certain job every 10 minutes, but if after 10 minutes that job is still running, I don't want that the same job will run again, but that that job waits until the first job finishes its job.
    I can do this using DBMS_LOCK by giving my job a lock that he releases when the job finishes. But isn't there a way that I can specify this directly in DBMS_SCHEDULER?

  • Java Dependency Checking

    Hi all,
    Can anyone suggest me a good Java tool to check dependenciess? I had a look at JDepend but it probably doesn't suffice. We have a enterprise application composed of many other applications, I am not sure how good the abstractions are in terms of coupling or cohesiveness since I am new to this app. We are trying to maintain a dependency list of methods and classes so that when someone is trying to change something in a method in one application they know what all gets impacted i tnhe same application or the another application. Please suggest some good tools which can help me with this.
    Thank you ver much,
    Amnesiac.

    I found something called Structure101, hope it helps. Please suggest me if there are any better options.
    Thank you.

  • Transport Dependency check

    Hi,
    How to enable transport dependecy check for transport that are to be imported.
    When i try to import a request from STMS_IMPORT, it should check for any dependecy of the transport which has been
    used or modified the same object and it should prompt for pop showinf precdor import and status whether it has been
    imported into system or not?
    In general we would import request direclty from stms_import. here i would like to activate option or configure such
    that any dependcy exsists they shud be bought to our notice by the system
    Regrds
    kumar

    How can we do that, can you guide with steps
    thanks in advance
    kumar

  • Oxygen-icons dependency check error

    Hi!
    I tried to upgrade my system this morning and got this
    error: cannot resolve "oxygen-icons", a dependency of "kdebase-runtime"
    error: failed to prepare transaction (could not satisfy dependencies)
    :: kdebase-runtime: requires oxygen-icons
    Is it a bug, or just I'm doing something wrong? Tried to switch mirrors, but to no avail.

    Wait one or two more days. Its a big update and it takes time until the mirrors catch up.

  • Dependency check for package being ported

    Looking to port a program from Debian and want to make sure I get all my dependencies right. But there is no real scale or database to work with. Below are the dependencies for my package... Any help making sure I cover all these would be greatly appreciated.
    mono-runtime,
    libmono-system-xaml4.0-cil,
    libgtk2.0-cil-dev,
    libwebkit1.1-cil,
    libmono-system-web4.0-cil,
    libmono-system-data-linq4.0-cil,
    libmono-wcf3.0-cil

    I suspect most of those are in [extra]/mono.  Arch does not split packages endlessly as debian does.  You can verify each one, here is an example:
    1) find the package at debian.org and look at the file list:
    http://packages.debian.org/wheezy/all/l … l/filelist
    2) use pkgfile on any of those files:
    $ pkgfile /usr/lib/mono/4.0/System.Data.Linq.dll
    extra/mono
    3) Have a beer, and remember to buy one for the arch devs too, cause you're done.
    Last edited by Trilby (2013-10-21 22:04:34)

  • Issue making Cost Center Hierarchy Time Dependent

    Hi,
    We have three hierarchies on top of cost center and cost center was not time-dependent. There is a new requirement to make one of the hierarchies time dependent. To faclitate it, I changed the hierarchy property in cost center infoobject to "Hierarchy structure is time-dependent" and then loaded the hierarchy.It took the validity dates of 1.1.1000 to 31.12.999. A costcenter was changed from one node to another in ECC and was extracted into BI. As time-dependency is set, I thought that node will have two entries now one with validity period 1.1.1000 to 30.10.2009 and another with 31.10.2009 to 31.12.999. But instead the hierarchy was overwritten and only the latest change is refelcted.
    Can someone please help in figuring out the issue. Should some change be done in ECC for time-dependency to reflect.
    Thanks
    Achyuta

    Hey Achyuta,
    The hierarchy needs to be time dependent in the source system and then the datasource for the time dependent hierarchy would then need to be replicated again.  You'll know if it's right after the replication if you view the datasource in BW and the Data is Time Dependent check box is checked on the General Info Tab.  Once the datasource is time-dependent, loads should populate the DateTo and DateFrom as you expect.  Consult your R/3 expert if you need help over on the source system side.
    Peace,
    Dan Glick

  • Dependency between projects for presentations, BPM objects and external res

    Hi,
    I am trying to create a common project for all our exceptions, presentations and external resources...
    I have updated the properties of the project1 for dependeny on project2(exceptions project)
    but I am not able to see the user exception BPM Objects in the depended project to use...
    Project 1 is having all code that needs to call the BPM objects, presentations and external resources on the Project 2
    but these objects and presentations etc., are not visible to the project1.
    please advice if I need to do anything in relation to configs apart from making the Project 1 properties to dependency --> check box ticked and selecting the Project 2.
    thanks
    Satya

    When you use the project dependency feature, you do not see the BPM Objects in the Catalog. You see them (shown in blue) when you add variables in the process that refer to BPM Objects from the master project. You see them when you create a new attribute in your BPM object that is an BPM Object in the master project. You see them when you use them in logic inside your methods.
    Dan

  • How to create a time dependent characteristic

    Hi,
    Can someone give me steps to create time dependent characteristic? there is a tab for attributes to make them time dependent.  I don't know whether we can make the characteristic as time dependent or only the attribute.
    Thanks,
    Sam

    What makes a IO a time dependent char?
    The attribute values of the IO change according to the time. meaning atleast one attribute value has to(supposed to) change during the course. So to make a IO time dependent, atleast one of ur attribute values should be time dependent.
    IO - change _ attributes - 4th column - time dependent - check that box. that would generate  - MasDataTab. timDep - SIDTab timeDepAttr(tables)
    simple saying in real time - cost center ABC's manager is XYZ from 06/19/2007 to 06/19/2008. So the manager (attribute of costcenter) has to be time dependent.
    Hope that makes it understandable. In essence the costcenter itself never changes but the attribute values do change.

  • How can I read the filter dependent values in abap class implementation ?

    Hi Experts,
    I need read the filter dependent values in my Z Class implementation but I don´t know how to do it.
    In classic badi was via FT_VAL parameter.
    Now how can I do it ?
    Regars,
    Bala

    Rogerio,
    In case of badis the field flt_val gets added automatically as an import parameter when you check FILTER DEPENDENT check box. This is to restrict which implementation of the badi should be executed, if there are more than one.
    There is no such concept when you are building a class.
    If you want one of your methods to be executed on in certain cases, you need add the required logic within the method.
    If you are referring to the FILTER check box in the pic below, that is used for a different purpose. It is used to filter what is displayed on the class builder screen. F1 on the field to know more about the same.
    Thanks,
    Vikram.M

Maybe you are looking for

  • How to Print Blank row in between the lsit of records/rows

    Hi, My Rtf output is 10 rows with 12 columns in each row, which comes form the SQL query of the RDF. Ii want to display a blank row after 9th row and before 10th row. So it would be 11 rows where 10th row should be blank. So how can i get this done t

  • Graphical mapping issue with useOneAsMany if segment does not exist

    Hi all I have an issue with graphical mapping in an IDoc to file scenario. I need to have header level fields mapped to line item fields. Whether or not and how many source header segments of the same type exist depends on a qualifier (QUALF). This i

  • Creating a time tracking graph in Numbers

    I need to make a chart of an employee's time into work.  I tried inputting time format but didn't graph/chart it. How do I do this AND show the expected arrival time (they've been coming in late). Thanks

  • Dynamic link with an if statement

    Hi there I'm trying to combine an if statement to a dynamic link. If there is a value in a column, then display the link. For now I have come up with this for the if statement. If the column is not empty, then echo out a B to let the user know there

  • How to start a loop back proxy in Windows Phone 8 and have all app and internet traffic routed via it

    I want to develop a proxy in windows phone 8 that will handle all data traffic emanating from phone(i.e. browser and Apps). The following procedures were carried out a) Edited the Wifi settings http proxy and port to the loop back proxy running in th