Two different sources of data in a SQL data in the file one rule

Hello

Just curious if we can refer to two different data sources in a unique piece of data SQL in a rules file to load the data into the SQL Interface.

Thank you
Ted.

TIm

While you were incorrect, you weren't wrong. You ca. Use has either an odbc connection that is hard-coded or a substitution variable to define the name of connection oCBC (with the exception of the connections of the OIC). You can not connect to two different odbc both connections. Your idea of a related db or a synonym is a good if their environment allows

Tags: Business Intelligence

Similar Questions

  • A target table is in charge of two different sources but the same columns, but a source is one database and another in a flat file.

    We all hope you are doing well.

    I have a business problem to implement in ODI 11 G. It's here. I'm trying to load a target table from two sources that have the same column names. But a source is to the file format and the other is in the Oracle database.

    That's what I think I'll create two mappings in the same interface by using the Union between the sources. But I don't know how the interface would connect to different logical architecture to connect to two different sources.

    Thank you

    SM

    You are on the right track, all in a single interface. Follow these steps

    (1) pull model of your data in the designer of the source file and your table model target to the target pane.

    (2) all relevant columns map

    (3) in the source designer to create a new dataset and choose as the UNION join type (this will create a separate tab in the source designer pane)

    (4) select the new dataset tab in the source designer pane and pull your source oracle table data model in the designer of the source. All columns that are relevant to the target card

    (5) make sure that your staging location is set to a relational technology i.e. in this case the target would be an ideal candidate because it is where the ODI will organize the data from source two files and oracle and perform the UNION before loading to the target

    If you want to watch some pretty screenshots showing the steps above, take a look at http://odiexperts.com/11g-oracle-data-integrator-part-611g-union-minus-intersect/

  • What happens if I am connected to the internet through two different sources or more?

    What happens if I am connected to the internet through two different sources or more?

    You get Internet from two sources. What did you expect to happen?

    This is not double the speed of anything...

  • two digital to write data to the power file triggers

    Hello

    I am currently building a VI to use two digital front as triggers posted the pic to start and stop writing data to the file.

    When start trigger is activated, the data is written to the file, it goes indefinitely until the stop trigger is on.

    If someone give me some advice, they will be appreciated.

    Hi Jetfire,

    you know the difference between BMP and JPG?

    Size! (And this is the reason why BMP is not allowed in this forum.)

    Just you rename a file does not change the dataformat. Please attach real JPGs (or better yet the PNGs) next time!

    Jetfire created a related thread, now with a VI instead of an image...

  • How can insert different types of data in the table?

    Hello
    How can I insert different types of data in the table, (e.g., numeric and string) in the same index of a table.

    example:
    index0 car 10 green

    car red 11 index1
    Index2 car Blue 12

    where green car red and blue car as string and 10, 11 and 12 in the numeric form.
    then I extracted 10, 11 and 12 a digital table

    and, the green car, red car, blue car in a string array

    Help!

    Use 'Analysis of the chain' as in the picture as an attachment.  This will extract the number and color that you can add tables later.

  • Definition of Source of data to local file

    Hello

    I was wondering if it is possible to change the source of the data source in a file stored locally when the user cannot connect to the internet? Or, as an alternative, to cache data when the user has an internet connection, then load the cached data if they do not have an internet connection - is one of these possible?

    Here is the code I use:

    DataSource {
                        id: dataSource1
                        property string sQuery: ""
                        onSQueryChanged: {
                            dataModel1.clear()
                            load()
                        }
                        source: "http://tundracorestudios.co.uk/BlackBerry%20App%20Development/Game%20Set%20and%20Match/Fixtures.json...
                        type: DataSourceType.Json
    
                        onDataLoaded: {
                            //create a temporary array tohold the data
                            var tempdata = new Array();
                            for (var i = 0; i < data.length; i ++) {
    
                                tempdata[i] = data[i]
    
                                //this is where we handle the search query
                                if (sQuery == "") {
                                    //if no query is made, we load all the data
                                    dataModel1.insert(tempdata[i])
                                } else {
                                    //if the query matches any part of the country TITLE, we insert that into the list
                                    //we use a regExp to compare the search query to the COUNTRY TITLE (case insenstive)
                                    if (data[i].fixtureInfo.search(new RegExp(sQuery, "i")) != -1) {
                                        dataModel1.insert(tempdata[i])
    
                                        //Otherwise, we do nothingand donot insert the item
                                    }
    
                                }
    
                            }
    
                            // this if statement below does the same as above,but handles the output if there is only one search result
                            if (tempdata[0] == undefined) {
                                tempdata = data
    
                                if (sQuery == "") {
                                    dataModel1.insert(tempdata)
                                } else {
                                    if (data.fixtureInfo.search(new RegExp(sQuery, "i")) != -1) {
                                        dataModel1.insert(tempdata)
                                    }
                                }
                            }
                        }
                        onError: {
                            console.log(errorMessage)
                        }
                    },
    

    & then I have a locally stored JSON file in: "asset:///JSON/Fixtures.json."

    The only difference between the files, one located on the server would be a newer version compared to the locally stored file.

    Therefore, if someone could help me with this, so it would be great!

    Solved by adding functions to the onError event. a toast is displayed when there is no internet connection and the file goes out of the remote file to the local file.

    onError: {
                            internetFailedToast.show();
                            myActivityIndicator.stop();
                            myActivityIndicator.visible = false;
                            loadMask.visible = false;
                            searchingLabel.visible = false;
                            dataSource1.remote = false;
                            dataSource1.source = "asset:///JSON/Fixtures.json";
                            dataSource1.load();
                            dropDownContainer1.visible = false;
                            console.log(errorMessage)
                        }
    
  • is it possible to have two different images in "develop" mode  I need to match the color and other image to the other.

    is it possible to have two different images in "develop" mode  I need to match the color and other image to the other.

    Select the reference image and choose window > secondary display > Magnifier (locked). Now the image you want to change, and start working. You can refer to the secondary display window while you work on the image you are editing,

    If you have a second monitor attached, the entire second monitor may be the secondary display.

  • write table 2D data in the file but the file is empty

    Hello

    I tried to write all reading of powermeter data to a file in two ways, I can see the output in the Arrais indicator data but when I write to "File.vi of the worksheet" or write to 'text file', the files are empty.

    Please help me.

    Try to remove the vi "STOP".

    I suspect, it prevents the main vi before the backup occurs.

    As a second point: given that you save data inside a while loop be sure you add the data from the file and not crash each time.

    wire that is a 'real' terminal 'Add file '.

    Kind regards

    Marco

  • Best way to record 50 kech. / s data to the file

    I'm reading a data acquisition data at a sample rate of 50 kech. / s and save it in a file. My application must run for at least a few hours. At first, I tried a model of loop of consumer-producer with a writing on measurement file Express VI, but he wrote the data too slowly, and my queue. Now, I'm trying to use the Write to VI file spreadsheet with or without a loop of producer-consumer model (see attached screws). Both seem to write data to the file, but no written records the number of datapoints I expect (the two have a lot less datapoints).

    What is the best way to write data to the file? Seems like a basic question, so if it has already been discussed in detail in another forum, or if there are examples of what someone could point me to, that would be appreciated also.

    Thank you!

    Hvea look at "stream directly to disk with TDMS in LabVIEW".

  • Write delay failed unable to save all the data for the file $Mft

    Have a frustrating problem.  Help is greatly appreciated.  Learned the hard way and lost a dwg important issue which was unrecoverable.  Bought a new drive external hard seagate.  Could not back up the entire system with software pre-installed.  Download acronis true image home 2011.  Tried to backup system.  Receive error when trying to backup messages; 'Delay to failure of Scripture; Reading of the sector; Windows was unable to save all the data for the file $Mft. The data has been lost.  Have tried many fixes.  Unable to disable write caching method (grayed out / unclickable).  Played regedit 'EnableOplocks' is not listed to select.  Attempted to run microsoft 'fix it' and got the blue screen of death.  Short hair out of my head.  Suggestions appreciated.

    I don't know where Microsoft 'Technical support engineers' get their information.

    Write caching without a doubt "does apply to external hard drives", but it is usually disabled to prevent to sort the problem you are experiencing.

    I've seen several positions reporting to the same question that you do.  All of these positions were with SATA drives.  Is your Seagate eSATA drive?

    The disc is recognized as an external drive in Device Manager?  In Device Manager, go to the drive properties dialog box and click the policies tab.  An external drive should have two options: "Optimize for quick removal" and "Optimize for performance".  An internal hard drive shows the options as gray (with 'performance' selected), but there should also be a checkbox "Enable disk write cache" under the second option.

    What shows in your policies tab?

    If I understand correctly, "writeback" or "write behind" is implemented by disc material or its pilot.  If the option is not available on the drive properties > policies tab, I would suggest to contact Seagate support.

  • Issue while loading data using the file Rules Essbase

    Hi all

    I am facing problem while loading data using the Rules file. In the rules file, I rejected several members in two areas (two dimensions). Now if I load the data using the rules file I'm getting errors for all members in the dataload.err file. If I reject mutiple members of a single field, the data load without settling errors in the dataload.err file.

    I want to know how rmany members of several fields of ejection for loading data using the file Rules Essbase? Is it possible?

    Okay, okay... I think that you must assign Global Select / reject Boolean in the parameters of loading data as 'Or':

  • Why Lightroom does not change the creation date of the file? (Mac OS)

    I find that Lightroom changes the creation of files present during the incorporation of metadata. I noticed that this behavior is different from the bridge, which reaches to write metadata changes to the file without affecting the creation date, affecting only the modification date.

    I read in other threads that it doesn't matter when even because moving files between disks will write a new file and, therefore, a new date of creation, but if this can be true in some systems (I don't know) is certainly not the case with Mac OS. For example, I have files dating back at least 1998 which have been moved from disc to disc to disc but still retain their original creation date. Which is as it should be. For many of my older images, there seems to be no capture embedded recognizable don't date anyway, so the creation date of the file is the single timestamp.

    It seems quite logical that the modified date of a file must be updated to take into account that the file has been modified (for example if adding metadata), but it seems to make sense that the date of creation of the file should be kept as the date, this file has been created. Changing them both on the same date seems to be a needless loss of information.

    Some would say that the process of adding metadata to a file creates a new file, the creation date must be updated to reflect this. But I would say that the creation date should be which would include a normal user as the creation date. We do not expect the creation date to change everything simply because a file is rewritten to the disk (for example when the defragmentation), however technically accurate, it would be to say that it is a newly created file. And the difference in behavior between Bridge and Lightroom shows that there is some confusion on this subject.

    Photo software ignores generally the operating system created by file-modification dates, and when he is not ignoring them, treated generally in a non-standard way that varies from one program to a program.  Rather than rely on the dates of the files of the operating system, the photo industry has defined fields of metadata with all sorts of specific photos dates: capture date/time (when the shutter button is depressed), date/time of scanning (when a movie or a print image was scanned digitally), date/time software photo altered image or metadata date/time of GPS location.   While some photo software will attempt to maintain the dates of file-created and - updated, many programs and services Web will not (including, but not limited to, LR).  In addition, many utilities files not always to preserve created and set dates to day that you move, copy it, backup and restore files.

    Therefore, I highly recommend that if you care photo dates and times (as I do), so no matter which photo software you use, you store the dates of capture in pictures industry standard metadata by using the tools provided by LR and other photo software.   In this way, you migrate the program to the program over the years, are you more likely to preserve that important metadata.

    Old photos and scans without that metadata, when you first import into LR, LR will assume that the capture time is the hour of the modified file.  LR to rewrite the date of capture of metadata in the file by selecting and making the metadata you can do > edit Capture time, clicking OK and then by metadata > save metadata to file. You can do it in batch - choose all your old photos and make metadata > edit Capture time, click OK, to metadata > save metadata to file.  LR will affect its time updated each file capture time.   If you want to set the time captured in the file create time, select this option in the window change the Capture time before clicking OK.  But beware that many Windows and Mac file utilities cannot preserve create time, even if they retain changed time, in order to create your files time can be wrong.   And of course, make sure that your backups are up to date and valid before making any new procedure file with which you aren't familiar.

    But if you really want to use non-standard file dates to keep your metadata information, and you want Adobe to modify accordingly the LR, so please give your opinion and vote on it in the Adobe official feedback forum: Bug report: Lightroom modifies the image files creation date. This forum is a user forum in which is rarely involved Adobe, Adobe said they read every post in the forum comments (and sometimes they respond).

  • LabVIEW backup only 2 seconds of data in the file

    Sorry for this question of beginner, but after a few hours of searching for an answer and trying to solve the problem, I still can't understand.

    I use a DAQ Assistant vi, displaying the data on a chart in waveform, and to help to write it into a file as vi to try to save the data I collect (this is a while loop). A .tdm file is created successfully, but only about 2 seconds of data (25 k samples) are saved in the file. In addition, I write custom vi set to 'Add '.

    I need to save the data for the duration of my collection (between 2-20 min).

    I'm sure the solution is brutally simple, but any help would be greatly appreciated.

    Thank you!

    surffl wrote:

    Yes, I use the importer of CT in OpenOffice as provided for by the regulation.

    Do you trust to OpenOffice?  What do you get when you use the importer with MS Office?  I don't think you have a problem with your VI, but a problem with the importing program.  LabVIEW is certainly save more than 1 second of data in the file.  I thought that after each section headers might have caused and the file reading problem, but if you say settting it only write a header still causes problems with importing the data, I think that the problem comes from the importer.

  • How can I write snapshot of my data to the file measured every 5 seconds

    Hello

    I try to take a snapshot of my stream once every 5 seconds and write it to a. File LVM. I have problems with the VI "write to a measurement file. The pace at which it writes data to the file seems to be dictated by the 'Samples to Read' parameter in the DAQ assistant. I tried placing the VI 'Write in a file measure' within a business structure and the launch of the structure to deal with a "time up" VI. As a result only in a delay of 5 seconds before the insiders 'Write in a file as' VI. Once the VI 'Write in a file as' is launched, it starts writing at 20 x per second. Is there a way to change it or dictate how fast the exicutes VI 'Write in a file measure'?

    My reason for slowing down the write speed are, 1) reduce space occupied by my data file. (2) reduce the cycles of CPU use and disk access.

    The reason why I can't increase the value of 'Samples to Read' in the DAQ Assistant (to match my requirement to write data), it's that my VI will start to Miss events and triggers.

    I don't know I can't be the only person who needs high-frequency data acquisition and low-frequency writing data on the disk? However, I see a straight road to key in before that.

    The equipment I use is a NI USB DAQ 6008, data acquisition analog voltage to 100 Hz.

    Thanks in advance for your help

    See you soon

    Kim

    Dohhh!

    The re - set feature has not been put in time elapsed VI!

    Thank you very much!

    See you soon

    Kim

  • How can I change the creation date of the file through Labview 2012?

    I want to change the format of the data stored in text files, but I want the dates of the files to stay the same.  Currently, my program creates files with the new dates.

    LabVIEW to my knowledge has no native functions to do.

    You can use functions to get/set CreationTime, LastAccessTime and LastWriteTime .NET on Windows.

    See attached VI (LabVIEW 8.6)

Maybe you are looking for