How to find a certain usage of a specific value inside an SSIS package

Hi,
In T-SQL, there are many tools to search for instances of a specific value in all the objects such as tables and SPs.
The only way I can think of in SSIS, is to search for a value in the XML of the DTSX, but it is not that user friendly.
Are there any existing tools or other ways for a value search that can assist ?
Thanks,
Dani

Since a package is just a plain text XML file thus  you are able to perform a text search in the file.
http://sqlblog.com/blogs/jamie_thomson/archive/2012/06/12/using-find-replace-with-regular-expressions-inside-a-ssis-package.aspx
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence

Similar Messages

  • How to find native memory usage for a domain

    Hi All,
    We want to know how to find out current native momory utilization for a perticular weblogic domain. Basically we want to increase our current JVM heap size from 2 GB to 3.5GB because of 32 bit JDK restriction we are not having confident to increase at the memont. If we can get the current native memory utization then we will have a idea how to pregess and change in production env.
    OS - Solaris 10
    Weblogic - 9.2
    Java - 1.5
    Thanks and Regards
    Dinabandhu

    920767 wrote:
    Basically we want to increase our current JVM heap size from 2 GB to 3.5GB because of 32 bit JDK restriction we are not having confident to increase at the memontSurprisingly enough to me that will not work. The maximum on solaris is 2G presuming you are running on a 32 OS.
    http://www.oracle.com/technetwork/java/hotspotfaq-138619.html#gc_heap_32bit
    We want to know how to find out current native momory utilization for a perticular weblogic domainMemory is per process. Weblogic, the server, is one process (one VM.) Thus you can't increase the application memory for only part of it. I doubt weblogic has a way to limit it by app.

  • How to find if certain record exists from stored procedure

    Hello
    I am not an expert in this and am trying simple thing. I want to find if certain record exists in a table and if so set some boolean variable.
    create or replace procedure findit(param)
    AS
    return_group boolean;
    BEGIN
      myflag := false;
    --here goes my question
    -- say I have SELECT WHATEVER FROM TABLE WHERE BLA = param
    --if it returns at least one record set myflag to true;
    END;Any idea?

    THanks Satyaki_De,
    However, when I put simple SELECT statement in the body of my procedure it does not compile. Actually I should have said that before. So here is my code and where it breaks:
    create or replace procedure close_subjects(study_id varchar2)
    AS
    return_group boolean;
    BEGIN
    dbms_output.enable(1000000);
    FOR current_group IN(
       SELECT DISTINCT group_id from groups WHERE study_id=study_id
    ) LOOP
       FOR current_subject IN(
          SELECT individual_id from groups WHERE group_id=current_group.group_id AND study_id=study_id
       ) LOOP
          return_group := true;
          SELECT INDIVIDUAL_ID FROM ASSIGN WHERE DATE_TIME_ASSIGNED = ( SELECT MAX(DATE_TIME_ASSIGNED) FROM ASSIGN WHERE INDIVIDUAL_ID = current_subject.individual_id ) AND                            ASSIGN_STATUS_ID = 'A';
         IF SQL%RowCount = 0 THEN
           return_group := false;
             dbms_output.put_line(current_subject.individual_id);
          END IF;
       END LOOP;
    END LOOP;
    END;
    /If I comment out SELECT statement and leave dbms_output for testing purposes it works well. As I said I am faaaar from expert and seems to me that I cannot have SELECT in procedure BODY?

  • How to find out a lot  for a specific stock posting?

    Dear Friends
    In our system every day 3 times rej posting ( and ok qnty posting) is done and 3 lots are supposed to be cleared for 3 consecutive shifts A, B, C. Now I found  on 2.9.2009, 4 rej postings are done in mb51, (The unmatched rej qntity is X) rej storage.But I found only three lots are cleared from qa32.
    I found that none of these 3 lots have rej qnty/ok qnty as X
    So there must be a fourth lot that was cleared on 2nd sep but created on some other date. Can u tell me how to find out this lot?
    Can I find out inspection lot no from material doment created due to stock posting in mb51?
    In qa32 we can find production order number, but can i find order confirmation number from qa32?
    Thanks
    Chandra

    Hi Chandra
    It is very muxh possible to view the Inspection lot from the Material document if know either through MB51 or MIGO
    Enter material document number>at the bottom there is QTy tab>Here you will find "Status  Gr Doc" Inspection lot.
    Also
    Just check the Material document's mvt type for Qty X it may not be 321.......Revert back
    This document may be generated due to additional mvt done in US screen.
    Regards
    Sujiy

  • How to find out which page contains a specific ITextFrame

    Hi all,<br /><br />I would like to ask if it is possible to find out which page contains a specific text frame?<br /><br />I used the following code to find the ITextFrame that contains the caret<br />ISelectionManager* mgr = activeContext->GetContextSelection();<br />InterfacePtr<ITextEditSuite> esuite(mgr, UseDefaultIID());<br />InterfacePtr<ITextTrackerAccess> tracker(esuite, UseDefaultIID());<br />ITextFocus* focus = tracker->QueryTextFocus();<br />ITextModel* model = focus->QueryTextModel();<br />IFrameList* flist = model->QueryFrameList();<br />RangeData range = textFocus->GetCurrentRange();<br />TextIndex cposition = range.Start(0);<br />int32 fidx;<br />ITextFrame* frm = flist->QueryFrameContaining(cposition, &fidx);<br />UIDRef frmUIDRef = ::GetUIDRef(frm);<br /><br />However, when I use the following code to iterate through the pages, I cannot find any UID that matches the ITextFrame<br />for (int32 sIdx = 0; sIdx < spreadList->GetSpreadCount(); sIdx++) {<br />  UIDRef spreadUIDRef(database, spreadList->GetNthSpreadUID(sIdx));<br />  InterfacePtr<ISpread> spread(spreadUIDRef, UseDefaultIID());<br />  for (int32 pIdx = 0; pIdx < spread->GetNumPages(); pIdx++) {<br />    spread->GetItemsOnPage(pageIndex, &uidList);<br />    if (uidList.Contains(frmUIDRef.GetUID()) == kTrue) {<br />      ...<br />    }<br />  }<br />}<br /><br />Any help is appreciate. Thank you.<br /><br />Ikki

    I think your frmUIDRef is too far down the hierarchy to show up in GetItemsOnPage(). Try getting the IHierarchy interface from frmUIDRef and calling QueryParent(). That should get you from the kFrameItemBoss to the kMultiColumnItemBoss. Do the same again and you'll get to the kSplineItemBoss, which should appear in GetItemsOnPage().
    If you're running the debug version of InDesign, you can use the Test menu to run the Diagnostics > Document Structure > Trace Content Hierarchy command, which will print out the UIDs of all the items on a page and let you see what's happening.
    Charles

  • How to find out which object has a specific attribute value

    Hi all,
    which is the easiest way to check in a collection of objects which object has an attribute with a specific value?
    i.e. I have n objects of classA and they all have an attribute "String value;".
    How can I check which object has that attribute set to "myvalue"?
    Thanks,
    A.

    hi,
    i don't know if this would be the best way to do it, but i would add all the instances of the objects to a hashtable with the key as the attribute with which you want to search them. You would then retrieve the object using the value.
    Cath

  • How to scan an Excel Page/sheet for specific value in cells?

    Hi,
    I want to be able to scan an excel sheet for a specific value and return it.
    My goal is to be able to scan the excel file which it compares to another value:
    I.E : reads item 1 which gives it a value of A it will then search for this A at location X it will then return a value that matchs it or return a pop up message saying no such item exists in area excel page G.
    Message Edited by MrSafe on 07-23-2008 04:48 PM

    I did not understand your explanation since I don't know what "item 1" is supposed to be to read. Skipping that, the easiest way to do this is to do the searching in LabVIEW. Simply read the Excel sheet into an array and search the array in LabVIEW. You can try to use ActiveX to execute the "Find" method, but that's up to you. You can research MSDN on how to call the "Find" method. The attached example is one that I created a while ago as an example to read an Excel range into an array. It's in 8.0.
    Attachments:
    Read Excel.vi ‏35 KB

  • How to find a certain class in all "JARs" on my partition ?

    Is there a way/tool which helps me to find out in which of all the JARs on my partition a certain class exists ?
    Example: I want list all JARs (with path) which contain the Class
    cmpack.mypack.mayclass234
    Note that not only JARs in my CLASSPATH should be investigated but ALL JARs!

    Look at all files on the partition, check whether they're JARs (-->FileFilter), feed them to an UrlClassLoader and try to load that class. If that works, it's in there.

  • How to find IMessage on Usage

    I know it's a weird question but I am trying to see if there is anyway to view who all you have imessaged..On the usage when you text someone without imessage it shows up but when u imessage someone it doesn't.. Is there anyway to find out this information.

        Hi jadree06,
    The best way to check the iMessage count is to view the messages on the device itself. You can distinguish the iMessage from the SMS by reviewing the details on http://bit.ly/OOBCze.
    Thank you,
    MariaC_VZW
    Please follow us on Twitter @VZWSupport

  • How to find a certain Requst?

    Hello experts,
    I cannot activate an DSO because I first have to set an older Delta-Request in PSA to status red in order to activate the latest Delta-Request. But when I look into the DataSource-Administration I can't find that Request in the PSA!
    Any suggestions?
    Hiza

    HEllo,
    is it so that when you are trying to activate the DSO, its failing. IF so  then i dont think soo it has to do anything with PSA. The request your talking about migh have been deleteed from the PSA.
    Check whether in manage of your DSo do you have any red request. IF you have any then you need to rectify or delete it to get the DSo activated,
    What is the exact errror message you get.
    Regds,
    Shashank

  • How to find the cpu usage per query for a time period

    Hi All,
    Is there a way to find the cpu used per query for a given time period?
    DB:10.2.0.5
    OS:AIX
    Thanks

    user13364377 wrote:
    if there are multiple queries starting at the same time, then what to do?Handle:      user13364377
    Status Level:      Newbie (10)
    Registered:      Jul 5, 2010
    Total Posts:      264
    Total Questions:      113 (84 unresolved)
    why so many unanswered questions?
    clarify your question
    same SQL multiple times from different sessions?
    or
    different SQLs from different sessions?

  • How to find out user info for a forecasted value

    Hi Experts,
    Suppose, a user plans on a planning application and consequently creates some forecast values. How do i find out which user did the planning? Is there any way to know this? Please let me know of this if anybody knows.
    Regards
    Swaroop

    Hi, I'm using BPS so can't say forIP. But if you really want to see who posted which data, the planning application has to be set up that way in order to capture the user, time, date details, as indicated by the previous post. This will ptentially of course create very many more records in some cases, where data is amended.
    But your post also requested info about who ran which planning functionality, and when. You can get this sort of information in BPS from the transactions BPS_STAT0 and BPS_STAT1. You may want to narrow the amount of analysis using the username/ date /time filters.
    Stephen

  • How to find out the execution time of a sql inside a function

    Hi All,
    I am writing one function. There is only one IN parameter. In that parameter, i will pass one SQL select statement. And I want the function to return the exact execution time of that SQL statement.
    CREATE OR REPLACE FUNCTION function_name (p_sql IN VARCHAR2)
    RETURN NUMBER
    IS
    exec_time NUMBER;
    BEGIN
    --Calculate the execution time for the incoming sql statement.
    RETURN exec_time;
    END function_name;
    /

    Please note that wrapping query in a "SELECT COUNT(*) FROM (<query>)" doesn't necessarily reflect the execution time of the stand-alone query because the optimizer is smart and might choose a completely different execution plan for that query.
    A simple test case shows the potential difference of work performed by the database:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Session altered.
    SQL>
    SQL> drop table count_test purge;
    Table dropped.
    Elapsed: 00:00:00.17
    SQL>
    SQL> create table count_test as select * from all_objects;
    Table created.
    Elapsed: 00:00:02.56
    SQL>
    SQL> alter table count_test add constraint pk_count_test primary key (object_id)
    Table altered.
    Elapsed: 00:00:00.04
    SQL>
    SQL> exec dbms_stats.gather_table_stats(ownname=>null, tabname=>'COUNT_TEST')
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.29
    SQL>
    SQL> set autotrace traceonly
    SQL>
    SQL> select * from count_test;
    5326 rows selected.
    Elapsed: 00:00:00.10
    Execution Plan
    Plan hash value: 3690877688
    | Id  | Operation         | Name       | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |            |  5326 |   431K|    23   (5)| 00:00:01 |
    |   1 |  TABLE ACCESS FULL| COUNT_TEST |  5326 |   431K|    23   (5)| 00:00:01 |
    Statistics
              1  recursive calls
              0  db block gets
            419  consistent gets
              0  physical reads
              0  redo size
         242637  bytes sent via SQL*Net to client
           4285  bytes received via SQL*Net from client
            357  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
           5326  rows processed
    SQL>
    SQL> select count(*) from (select * from count_test);
    Elapsed: 00:00:00.00
    Execution Plan
    Plan hash value: 572193338
    | Id  | Operation             | Name          | Rows  | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT      |               |     1 |     5   (0)| 00:00:01 |
    |   1 |  SORT AGGREGATE       |               |     1 |            |          |
    |   2 |   INDEX FAST FULL SCAN| PK_COUNT_TEST |  5326 |     5   (0)| 00:00:01 |
    Statistics
              1  recursive calls
              0  db block gets
             16  consistent gets
              0  physical reads
              0  redo size
            412  bytes sent via SQL*Net to client
            380  bytes received via SQL*Net from client
              2  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
              1  rows processed
    SQL>As you can see the number of blocks processed (consistent gets) is quite different. You need to actually fetch all records, e.g. using a PL/SQL block on the server to find out how long it takes to process the query, but that's not that easy if you want to have an arbitrary query string as input.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle:
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • How to find the process running for a specific cube on WINDOWS?

    Hi,
    how do we find the process of a cube and kill it if the server is a win 2003 server...
    when i go to the task manaer and search I only see then as esssvr ? but how do I match them to the specif cubes??
    in UNIX we can see them clearly as they have the cube name along with the pid and evertything else...
    please let me know.
    Thanks in advance.

    you actually have to go into the Essbase server log. When the application starts its pid is put in the log. I don't remember the mesage number, but it's in the log somewhere around a message started. Make sure you get the last started pid for an application. since the log can be for a long period, the application could have started multiple times
    Message was edited by:
    GlennS

  • How to find a BADI to change the default value of a Web Dynpro Screen?

    Hello Experts!!
    My requirement is as follows-
    The SAP cProjects Distribution Functions screens default the Calculation Base to “Per Day”(This is represented via the initially-selected value in a listbox). The requirement is to make it deafult to the current standard “Per Month” (This also appears in the list box).
    Is there any BADI to achieve this?
    I tried putting a debug point in the Get_Instance method of the class cl_exithandler to find all the BADIs associated with the screen. I got a bunch of BADIs with no luck. And now I am not even able to debug anymore as the debuger is not opening. Can anybody tell me why this is happening? It was working two days before. And yes I have read all the posts about debugging a web dynpro application and I am doing everything that is mentioned there- I have set an external debug point and I have checked the "IP Matching" checkbox against my name in the workbench, but, with no luck
    Any help on this will be greatly appreciated.
    Thanks and Regards,
    Smitha

    You can't do this on a running VI. If you have an idle VI, you can open a reference to that VI and use an invoke node with the Make Current Values Default method, but that will only work in LV (i.e. not in an EXE) and will affect all the controls. What you can do is save the values to a file and load them when the program starts. OpenG's File I/O package includes some VIs which will help you with that.
    Try to take over the world!

Maybe you are looking for

  • 'int' not serializable!?

    Hello all, When deploying my application to WLS 8.1, I keep getting warnings along the lines of <Warning> <EJB> <BEA-012034> <The Remote interface method: '//snip// Foo.bar(java.lang.String,int) throws java.rmi.RemoteException //snip// contains a par

  • Org.w3c.dom.Node  isleaf?

    Hi all is there any way to get if a w3c node isLeaf? I thought that i can see if the first chils ia a text node then i can say that is a leaf but i'm not sure taht is the right way. Thanks!!

  • Discoverer error question

    Hi, I had a Discoverer user receive the following error message when trying to log into Discoverer. The user waited for a while and then was able to log in. I suspect his Java might be corrupted but I wanted to see if there was anything else I should

  • Line in Screen showed up

    I have an HP {avilion TouchSmart 23 All-In-One and I am now the proud owner of a green line down the side of my screen. It sits some 2 1/4 inches off the left side and seems to want to stay with me. However, as this was a pretty expensive model, I'm

  • GUI Development Question

    Hi everybody! I'm quite new in ALBPM and I have some questions about it, especially about user interfaces. I've been developing JSP aplications (using MVC frameworks) for a long time, and I can't figure out how does it fit in the ALBPM world. What's