Reference list of Identifiers from external file (ie .txt file)

Hello All,
I was hoping someone may be able to help me with a conceptual (and then technical...) line of thought?
I have a list of roughly 7000 loans to interrogate in an excel spreadheet or text file, is there a way I can get my query to reference this list, regard it as a temporary table and join it to an SQL query?
The list of loans are unique 8 digit identifiers. I have a very simple SQL query over two core tables that brings back the balance and currency for all loans on our system but I want to get these fields for the 7000 loans in question only.
I would normally just query all the loans and use a vlookup in Excel but the numbers are too big to make this viable.
The only method I currently have in place is to loop through the identifers one by one, querying each separately. Running the same query 7000 times seems rather inefficient!!
Is this a reasonable concept? If so I shall need some help with how to reference the external file, which will be gratefully received!!
Thank you :)
Jon

Hi Peter,
You're right this is ad-hoc, but this sort of situation arises all the time where I am given a list of identifiers to furnish with data, if I can figure out how to use external files it will be very useful. At least having some knid of work around would help.
Running
select *
from dba_sys_privs
where grantee = 'REPORTER'
order by privilegeGives me:
GRANTEE          PRIVILEGE          ADMIN_OPTION
REPORTER     ALTER SESSION          NO
REPORTER     CREATE CLUSTER          NO
REPORTER     CREATE DATABASE LINK     NO
REPORTER     CREATE SEQUENCE          NO
REPORTER     CREATE SESSION          NO
REPORTER     CREATE SYNONYM          NO
REPORTER     CREATE TABLE          NO
REPORTER     CREATE VIEW          NO
REPORTER     SELECT ANY DICTIONARY     NO
REPORTER     SELECT ANY TABLE     NO
REPORTER     UNLIMITED TABLESPACE     NOSo I don't have the rights for the external tables if I understand correctly? Directory creation for example. I do appear to be able to create tables though so perhaps I can greate a TEMP table under my REPORTER login and populate it on an ad-hoc basis as you suggest.
I'm stil wading through that document! I'm going to try to talk to someone in our IT department as well about the server side.
Thanks for the advice, will update asap.
Jon

Similar Messages

  • Creating Target Group from External File

    Hello Experts
    We need to create target group from external file. (That is to say we will have let's say txt file containing BP that belongs to specific target group and we need to assign these BPs to to specific target group in SAP CRM)
    I have searched for it on sdn and found something benefical. I have found BAPI_TARGETGROUP_CREATE, I have checked it but I don't understand how should we use it becuase as far as we understand it just creates target group, we cannot see anything related with Business Partner. How can we relate BPs with the target group we create by this BAPI.
    What should we do, is anyone have previous experience about it? or is there a way to do it without using BAPI.
    thanks it advance
    M.
    Edited by: Mehmet Ergul on Jan 22, 2009 11:19 AM

    Hi,
    You can do this from within the standard Web UI. It's straight out of the box.
    Create a profile set and in there create a target group in the target group assignment block just by entering the description of the target group. Then enter edit mode of this target group and click the button "Import Members". Remeber to mark "Change selected target group" unless you want to create a new target group.
    /Anders

  • Best to load preloader from external file or place it directly into existing movie?

    Is it best to load the preloader from external file or place it directly into an already existing movie?

    there's no one answer for everyone.
    but for an inexperienced coder that's already completed their main project and is adding a preloader as an after-thought, it's usually easiest to create a stand-alone preloader.
    and even for experienced coder's, that's usually the easiest way to preceed.

  • Dynamic Internal Table for reading data from external file

    Hello All,
    The task was to create a internal table with dynamic columns,
    Actually this is my first task in the WebAS 6.20, my program is based on input file provided by user with certain effort. this file can have different effort for a one yr to five year frame..
    I needed to read the raw data from file, based on months create a internal table to hold the data, after this i need to validate the data...
    I have browsed thru dynamic internal table topic, but couldn't find any dynamic appending structure, the dynamic structure would contains 12 month fileds.
    can any one help me in getting my task completed..
    Thanks
    Kumar

    Hi,
    I see that you posted the same question a couple of days ago at Dynamic Internal Table for reading data from external file Didn't Charles's response address your problem?
    Regards

  • How do you import a list of users from a file? (BPC 7.5NW)

    In adding users from a network domain, the related personnel filter provides three choices.  One of the choices allows a BPC administrator to import a list of users from file.  For some reason, the radio button alongside that option is grey and the choice is inoperable.  Does anyone know what steps-configuration or later-must be taken to make this choice operable and to be able to import the list of users from a file?
    Edited by: Greg Tyrl on Jul 11, 2011 8:17 PM

    make a new addressbook and in that import Outlook's

  • Problem in displaying topics from external files

    Hello,
    I have a set of Help projects created using Robohelp classic
    7.00.139 by Blue sky Software Corp. There is a Master project and
    sub projects linked together using “.cnt” files.
    Now I want to move to HTML Help format (".chm")
    Using Adobe Robohelp 6 for word, I convert all the help
    projects to .CHM FILES using Batch generate option in Adobe
    Robohelp 6 for word. I put all the “.chm” files in a
    single folder of my application. But now the links from my MASTER
    projects to the sub projects are not working.
    When an external topic is selected from the master it points
    correctly to the topic title in TOC, corresponding to the external
    sub project but the topic from the selected external file is not
    displayed there.
    What could be the problem? Are there any settings to be made?
    Best regards
    VIPL

    hi,
    when you are creating the key figure info object. there is one tab called additional properties on that select decimal places as you want. activate it. and the reporting. check it out.
    if helpful provide points
    regards
    harikrishna N

  • How to execute command(program) from external file in Oracle SQL developer

    Hi,
    Does anyone know, Oracle SQL developer version 1.0.0.14.67 got any function that can execute command from an external file?
    Example, i have 100 insert SQL inside a text file,
    and i want to use Oracle SQL developer to execute it. How do i read from my text file? Thanks a lots.

    If you're new to Oracle, do yourself and us a favour: read some tutorials and manuals. What sqldev's worth, better download the latest version (1.1.2), lots of fixes and enhancements...
    Now for the big popper: to run an external file: @file
    Best of luck,
    K.

  • Textinput issue from external file in AIR application (Is it bcz of mask?)

    Hi
    I tried to load external swf in TabNavigator. In this file, I have some input text.
    I can key in external file's text input after load. But i got  "Security Sandbox Violation" error.
    Here is the code
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                                                         xmlns:s="library://ns.adobe.com/flex/spark"
                                                         xmlns:mx="library://ns.adobe.com/flex/mx">
    <mx:TabNavigator width="100%" height="100%">
                        <mx:Canvas>
                                       <s:SWFLoader id="_swfLoader" source="C:\Users\bala\Desktop\TextSWF.swf"/>
                        </mx:Canvas>
    </mx:TabNavigator>
    </s:WindowedApplication>
    To solve security issue, i used load swf as bytes. After load there is no security issues, but i cannot key in external file's text input.
    Here is the code,
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                               xmlns:s="library://ns.adobe.com/flex/spark"
                               xmlns:mx="library://ns.adobe.com/flex/mx">
    <fx:Script>
                        <![CDATA[
                                  protected function CreationCompleteHandler(event:FlexEvent):void
                                            var loader:URLLoader=new URLLoader();
                                            loader.dataFormat=URLLoaderDataFormat.BINARY;
                                            loader.addEventListener(Event.COMPLETE, onSWFLoaded);
                                            loader.load(new URLRequest("C:\\Users\\bala\\Desktop\\TextSWF.swf"));
                                  private function onSWFLoaded(e:Event):void {
                                            var loader:URLLoader=URLLoader(e.target);
                                            loader.removeEventListener(Event.COMPLETE, onSWFLoaded);
                                            var context:LoaderContext=new LoaderContext(false, new ApplicationDomain());
                                            context.allowLoadBytesCodeExecution=true;
                                            _swfLoader.loaderContext = context;
                                            _swfLoader.load(loader.data);
                        ]]>
              </fx:Script>
    <mx:TabNavigator width="100%" height="100%">
              <mx:Canvas>
                        <s:SWFLoader id="_swfLoader" />
              </mx:Canvas>
    </mx:TabNavigator>
    </s:WindowedApplication>
    How can solve this issue. Is there anything to do with css?
    Is tabnavigator conatin default mask? How can user edit masked textinput without embed font?
    Thanks
    Regards
    Balasubramaniyan.S

    Thanks for your reply,
    Yes, the addedToStage handler is executed every time. I set my host application up to work exactly with that behaviour. There are several events going from client to host to help the communication inside the the application. I can't get behind the reason why it won't work.
    I made a case where I created a camera instance inside the host application and passed it over to the client via
    client.setupFunction(inArg: arg, sendCamera: Camera);
    That works. But I also need a microphone, and I can't get the mic working over with the same technique. And also I'd prefer to have it all in the client, cause I designed the application model to work exactly in that fashion.
    I guess it's a secruity sandboxing problem, but I can't find any documentation on this issue.
    Thanks, maybe another solution can be found here. ;-)

  • Using URL location from external file

    Hello,
    I have a button that opens a new browser window that uses a
    URL that may change from time to time. Simple question: how do I
    set up the URL to be read from an external file so it can be
    changed without having to edit the flash file?
    Thank you,
    Bob

    bobindy wrote:
    > Hello,
    >
    > I have a button that opens a new browser window that
    uses a URL that may
    > change from time to time. Simple question: how do I set
    up the URL to be read
    > from an external file so it can be changed without
    having to edit the flash
    > file?
    >
    > Thank you,
    > Bob
    text file call url.txt, inside that file
    url_link=http://www.yourdomain.com/folder/file.html
    in flash on first timeline frame :
    loadVariablesNum("link.txt", 0);
    button action :
    on (release) {
    getURL(_level0.url_link, "_blank");
    Regards
    Urami
    Happy New Year guys - all the best there is in the 2006 :)
    <urami>
    http://www.Flashfugitive.com
    </urami>
    <web junk free>
    http://www.firefox.com
    </web junk free>

  • Batch loading jpegs from external file

    Hello,
    I would like to preload a batch jpegs from an external file
    (to make it easy for changes) - than use them in a slide-slide show
    using a movieClip holder or loader component. I can use this
    tutorial -
    http://www.oman3d.com/tutorials/flash/portfolio_2_bc/index.php
    But I don't what to have each jpeg loaded separately I want
    them to preload b4 using..
    What would be the best way to preload the external batch to
    use for a slide show with next btn and prev btn? I can't find any
    tutorials one this.
    Thanks for any help,
    Dave

    In terms of where:
    Well, for as2, you will probably need to load them as
    dynamically created child clips of a single parent clip that you
    use to display one swf from. You would cycle through them and just
    set the _visible property of your 'current' clip to true and all
    the others to false. Your next and previous buttons could change
    which one was visible.
    But if they are large images, you'll probably use a lot of
    memory doing it this way and it would take longer to load them all
    at the start. Its more usual to, for example, load all the
    thumbnail images - smaller images, quicker to load - and then load
    the larger one into a main viewing area when its thumbnail is
    clicked.
    How
    There are plenty of examples of how to do this in tutorials
    etc.
    If you want to load all the thumbnails first, then perhaps
    you won't find exactly what you want as a tutorial. Not every
    possibility is covered in a tutorial. All I can really do is point
    your in the right direction. If it were me I would use something
    like David Stiller's MultiLoader class to make it easier perhaps
    (in fact I have my own which works a little differently but was
    seriously inspired by what I learnt from David's article at
    http://www.quip.net/blog/2007/flash/actionscript-20/tracking-multiple-files-part1
    & 2 )

  • SmartObjects: placing from external files + auto-refresh

    Hello,
    when I place a SmartObject from an external file PSP CS3 seems to store it in the current file; if I change the external file, the placed object does not change automatically (I have to use the replace function to apply changes in the external file).
    Is there any way to use external files as SmartObjects and apply changes in the external files automatically?

    No at the moment everything is embedded within the file, even Illustrator Smart objects are embedded as Illustrator files. Even if you dont own Illustrator, and you get such a PSD, you can't open the smart object. External links are at the moment impossible, and it doesnt look like they are a feature of CS4 either.
    I had a freelance job recently where I was working with a team of 4 other retouchers - I desperately needed the feature of external linking preferably with server access. It would have cut hours off the job just by avoiding people having to repeat each others work. pity its not on the cards.

  • Sending and getting data from external file.

    I'm running it in actionscript 1  and 2 since 3 wouldn't work when getting data from external media. I'm  trying to find out how to post data to a PHP file and getting from that  file I'm trying to make the flash for something that works like a game  but differently. Since I just found out how to make the HTML stuff show  up but a lot of times, some of my text will not appear so I don't know  what's going on.
    Does anyone know how to send and get data both at the same time from a sample file?
    The sample file is example.php
    It has to sent information like ID and NAME
    and it has to get information like Description and userID

    Ned Murphy wrote:
    The tutorial I pointed you to does provide the visuals you requested, both the AS code and sample PHP code, so I can't see where your learning by visuals aspect holds up.... your approach sounds more like you want someone to hand you a tailored solution that you won't need to learn from.  Visuals require reading and doing.  If that fails to get absorbed or you couldn't understand/revise it, what could anyone else prepare for you that would work better?
    I did the tutorial and everything but every time I press the button or even load it, it keeps on saying undefined. I like the have a sample FLA file so I can figure things out. I did everything from the site but it won't work out for me.
    I did step 5 too because it was almost all that I was looking for but it won't even work. keeps on saying undefined. I would show you but webcam max won't work and I can't show you an example.
    EDIT:
    You know it's frustrating when I don't know how the heck I'm supposed to do this stuff. I read the whole dang thing and I still can't get this dang thing working.
    I did everything. EVERYTHING. I just don't get this crap.

  • Email to  list of addresses from a file

    Does anyone know if it is possible to create an Automation that will send the same email to every email address listed in a text file?
    I am working on a local community event and have several people registered. Periodically I need to email out a short sentence or two to each person on this list. In the past, I have simply copied the addresses in my file and pasted them into the Bcc line with my own address in the To line. As Spam filters get better, this type of address scheme is often rejected.
    It would be better to send a separate email to each person by picking the email address from a file, line at a time, and sending the canned message.
    It was not obvious to me how to approach this with Automator.
    Perhaps Automater is not the correct choice - maybe I need to use a shell script or Perl and interact directly with sendmail?
    Thanks

    If you're using Mail, you can just send everyone the email by putting their address in the BCC header; you should be able to leave the To header blank. Spam filters are almost alway examing the origin and the subject of the email, and some even examine the body.
    So, unless one of those fields is questionable according to the spam filters, your mail should pass through uninterrupted, since filters have no way of knowing whether you sent an email via BCC; they see only the address to where a single email is being delivered.
    More likely is that one or more of your recipients hasn't marked your email address as "okay" or put it on a whitelist, so it may get put into a junk or spam folder on their system.
    Hope this helps,
    Mulder
    If this answered you question, please consider awarding some points. Why Reward Points?
    iMac G4 700Mhz   Mac OS X (10.3.9)  

  • Loading Knob Digital Display Text Labels from External File

    I have a knob interface. I display it on the instrument's front panel with the digital display.
    The knob controls the settings on an external GPIB switch. The value of the 6 devices selected changes. I want to see the numbers 1 thru 6 on the knob, but the knob's digital display needs to show something like "12.5-13.5 MHz BPF".
    I want to load the text visible in the knob's digital display from an external file located on the machine. I will not have the possibility of changing the VI for each location.
    Can you do that?
    If not, would an a case or event structure containing a text indicator, with text values read in from a file, be the best apporach?
    73/gus

    If you don't have 8.0 and XControls, you can do something like the attached. I edited the knob control and then replaced the digital display with a text ring.Message Edited by Dennis Knutson on 04-21-2006 12:32 PM
    Attachments:
    Knob with text ring.vi ‏30 KB

  • Pull down menu information from external file

    I want my pull down menu information in a external file, so I can use it. Are multiple pages without inserting the code each time so I can updated in one place.
    <!DOCTYPE html>
    <html lang="en-es">
    <head>
        </head>
        <body>
    <form name="UnitTest" action="Inspector.html" method="POST">
    <div align="center">
      <select name="Inspector" multiple size="1">
       <option value="1234">1234 </option>
       <option value="56789">56789 </option>
       <option value="98765">4321 </option>
      </select>
    </div>
    </form>
    </body>
    </html>
    Sandy

    I went to the Stack Overflow website http://stackoverflow.com/questions/8988855/include-another-html-file-in-a-html-file and found some helpful code. It did one thing funny that I am hoping you may build a help with. This is the code I found and using;
    <!---------------------------------------  Inspector Pull Down  --------------------------------------------->
          <label for="inspector_inspector">Inspector / <span2>Inspector</span2>:</label>
         <br>
                      <!--[if !IE]> <-->
                            <object type="text/html" data="inspector.html">
                              <p>backup content</p>
                            </object>
                       <!--> <![endif]-->
            <!--****http://stackoverflow.com/questions/8988855/include-another-html-file-in-a-html-file*****-->
    <!--------------------------------------- Assembler Pull Down  ------------------------------------------->
          <label for="assembler_operador">Assembler/<span2>Operador</span2>:</label>
         <br>                     
                       <!--[if !IE]> <-->
                            <object type="text/html" data="assembler.html">
                              <p>backup content</p>
                            </object>
                       <!--> <![endif]-->
    How do I get rid of these big gaps?

Maybe you are looking for