Join two sites together

Hi, i have two dynamic websites each connecting to two
separate databases via separate connections. I have tried merging
the two sites into one, but i get a problem because the database
connection for one of the sites dont work after i join them. Can
anyone please tell me the best way to join two dynamic sites
together, so that both their databases work.
thank you

the best way to do it is to create a DSN connection but you
have to make
sure that they are on the same server
if both the websites are on the same server that it can be
easily done using
DSN connection

Similar Messages

  • Networking two sites together

    Hello,
    Please i have a router series of 1700's. i have fixed the voice card.Please can you put me through with the configuration to connect the two site together,pleease help.All your is highly appreciated

    Hi Will
    Can you post out the output of the show version command taken out from both the routers ..
    That will help us to understand the exact card model installed in the router and will be easy to suggest on configuring the same..
    regds

  • Joining two files together

    I'm kinda new to Java, but i'm trying to create a program which joins 2 files together. It works fine with .txt files, but when i try to join two .wmv files, only the one it processes first will show, though the output file will have the size of the two files together. Here's my code for joining them together:
    try {
                        JFileChooser location = new JFileChooser();
                        location.showDialog(this, "Save file");
                        File videoout = location.getSelectedFile();
                        OutputStream os = new FileOutputStream(videoout);
                        BufferedOutputStream out = new BufferedOutputStream(os);
                        InputStream is = null;
                        BufferedInputStream in = null;
                        ListIterator pathsIterator = paths.listIterator();
                        while(pathsIterator.hasNext()) {
                            File part = new File(pathsIterator.next().toString());
                            is = new FileInputStream(part);
                            in = new BufferedInputStream(is);
                            int line;
                            while((line = in.read()) != -1) {
                                out.write(line);
                        in.close();
                        out.close();
                        JOptionPane.showMessageDialog(this, "Done");
                    } catch(IOException io) {
                        System.out.println("IO: " + io);
                    }Any idea what i'm doing wrong?
    Thanks

    Just because you put 2 files in the same file doesn't mean some application can understand that it's 2 files in 1. Meaning, the player of the merged WMV can't know that there's 2 files and that it should play both back to back. You have to read the WMV files knowing the WMV format and then generate 1 file that combines the 2, which typically would include updating header information in the file. Java's I/O classes are not going to provide that sort of thing for you.

  • How to join two arrays together?

    I have the following type
        type TVarcharArr is table of varchar(4000) index by binary_integer;I have a procedure that passes in two separate arrays as:
        p_account_number                 in TVarcharArr,
        p_product_system_code          in TVarcharArrThese arrays are related (they will have the same number of elements), the contents would be as follows:
        Account Number    Product System Code
        123                      ABC
        456                      DEF
        789                      GHII can use TABLE(CAST to turn each of these arrays into a table, but how do I join these two arrays together so that they become a single table with two columns? Or if I CAST them as TABLEs, how can I join these two tables together - is there some way of using the index to facilitate the join?
    Cheers
    Richard

    You are right, I do need to convert the arrays first to use TABLE(CAST, and I do have my concerns about the use of rownum.
    Here's the test case I built to test what I'm doing, incorporating the rownum solution:
    declare
        type TVarcharArr is table of varchar(4000) index by binary_integer;
        v_arr   TVarcharArr;
        v_tab  tchartab := tchartab();
        v_arr2   TVarcharArr;
        v_tab2  tchartab := tchartab();   
    begin
        v_arr(1) := 'ABC';
        v_arr(2) := 'DEF';
        v_arr(3) := 'GHI';
        v_arr2(1) := '123';
        v_arr2(2) := '456';
        v_arr2(3) := '789';   
        v_tab.extend(v_arr.Count);   
        for i in v_arr.first .. v_arr.last
        loop
            v_tab(i) := v_arr(i);
        end loop;   
        v_tab2.extend(v_arr2.Count);   
        for i in v_arr2.first .. v_arr2.last
        loop
            v_tab2(i) := v_arr2(i);
        end loop;   
        for rec in (with w_acct as
                    (select rownum rn, a.column_value acol
                    from table(cast(v_tab as tchartab)) a
                         w_prod as
                    (select rownum rn, b.column_value bcol
                    from table(cast(v_tab2 as tchartab)) b
                    select acol,bcol
                    from w_acct a,
                         w_prod b
                    where a.rn = b.rn) loop
            DBMS_OUTPUT.PUT_LINE ( 'rec = ' || rec.acol || '|'|| rec.bcol );
            null;
        end loop;
    end;It does return the correct result - but can it be trusted to be consistent - does the rownum in an array suffer the same problems as the rownum from a regular select? I'm guessing it's too risky to find out.
    In essence, I'm getting two arrays and I'm trying to join them together so that I can CAST them as a table. (And I know the real question is why isn't it just one array of records with two elements - but sometimes you have to work with what you're given)

  • Join two images together in PS7.

    Hi folks I am exasperated by PS 7 again.
    Someone has emailed me an old document in two sections (JPGs) and I want to "knit" them together again to make one document (JPG).
    I've spent ages in PS7 trying to do this, to no avail.
    Help, please?

    Hey guys I am back!
    The first time I knitted two images together it worked perfectly. However when I tried it again it did not work.
    What happened....I used Curt's method and expanded the canvas then copied and pasted the second image in to it, the same as  before. However, THIS time image 2 overlapped image 1 and there appears to be no way of dragging it downwards when that happens.

  • Can I join two accounts together?

    hey I rejoined Sky - can i merge my old and new accounts? thanks

    There is an answer here from a few years ago, I guess the answer would be the same now:
    http://helpforum.sky.com/t5/Archived-Discussions/Can-I-merge-two-sky-accounts/m-p/74153
    You will need to speak to Sky directly (phone or live chat) for more clarification.

  • How to join two similar layers together?

    Hey all! Please help me out, It is a little thing to do, but I am really stocked at this. How to join two layers together?? For example two Text layers or anything. Pleas can you describe the way to do it and write (if it exist) the shortcut for it?
    Now I know, that layers in AAF can't be joined, there is just a "Pre-Compose". But this function is disabled the FX colone, and I have to have it there.
    In this tut http://www.videocopilot.net/tutorials/shatterize/ he joined two text layers. But with some shortcut so I don't know, how he did it.
    Can anyone help me plz?
    THX for reply

    Lufty09 wrote:
    Yes, but this is disabled the Fx button :/
    Now you need to look up precomposing in the help system. It's all explained there.
    Nesting and precomping are advanced functions and require careful planning or inspired improvisation within the limits of the software. You also need to look up how the rasterization button works in its two operation modes.
    bogiesan

  • How do I join two tables in the same database and load the result into a destination table in a SSIS package

    Hi,
    I have a query that joins two tables in the same database, the result needs to be loaded in a destination DB table.  How do I do this in SSIS package?
    thank you !
    Thank You Warmest Fanny Pied

    Please take a look at these links related to your query.
    http://stackoverflow.com/questions/5145637/querying-data-by-joining-two-tables-in-two-database-on-different-servers
    http://stackoverflow.com/questions/7037228/joining-two-tables-together-in-one-database

  • Linking two switches together.

    hi Guys ,
    quick question in relation to joining two switches together,
    can I link a 2950 switch with a 1000 BASE-SX with a 3560G with 4 SPF ports with fibre and what pitfalls should i look out for .
    Thanks in advance
    Kevin

    Hello,
    So you would like to connect GBIC to SFP, you need Multimode Duplex Fiber Optical cable with SC-LC connectors. If SFP to SFP you need the same cably type with LC-LC connectors.
    http://www.cisco.com/en/US/products/hw/routers/ps341/prod_module_installation_guide09186a00801cc731.html
    http://cisco.com/en/US/products/hw/modules/ps5455/products_data_sheet09186a008014cb5e.html
    bye
    FCS
    Please rate me if I helped.

  • How to join two MP4 movies with iMovie '11?

    Just after a quick bit of help here.  I'm not a movie making enthusiast so never used iMovie before and never will again most likely.  However I do have 2 mp4 movies about 4 minutes each that I SIMPLY want to join together.
    I've searched and seen reference to dragging the fils into a project then just export as one but for the life of me if import the files I can't seem to find anywhere that provides a view of the two files as thumbnails so I can just drag them to say this one first, this one second.  Join please.  I seem to get streams and streams of individual frames with sliding lines and what not and the best I seem to be able to get is about 4 seconds at a time.  Surely ther MUST be an easy way to just join two movies together without going into advanced frame by frame editing.
    It's not the most intuitive piece of software and I don't have any desire to learn it.  Problem is I am in a **** of rush with this and at the end of a 14 hour image managament day which is making me less than patient with iMovie. 

    QuickTime X can join your two files. Edit menu "Add Clip to End..."

  • Join two table in different instance

    Hi,
    I have two table in different instance .
    IMEI in instance A
    RCA_SMART_CARD in instance B
    Below is the desc table :
    SQL> desc RCA_SMART_CARD;
    Name Null? Type
    N_CARD_ID NOT NULL NUMBER(10)
    C_CARD_SERIAL_NUMBER NOT NULL VARCHAR2(20)
    C_SIM_MSISDN VARCHAR2(20)
    C_SIM_IMSI VARCHAR2(20)
    C_LINKED_CARD VARCHAR2(20)
    N_PRO_IDENTIFIER NOT NULL NUMBER(4)
    C_CARD_TYPE VARCHAR2(1)
    N_SIM_STATE NUMBER(1)
    N_EEPROM_SPACE_LEFT NUMBER(9)
    N_VOLATILE_SPACE_LEFT NUMBER(9)
    N_NONVOLATILE_SPACE_LEFT NUMBER(9)
    N_CARD_OPTI NOT NULL NUMBER(15)
    N_PRODUCT_ID NUMBER(10)
    D_CREATION_DATE DATE
    D_MODIFICATION_DATE DATE
    D_STATUS_MODIFICATION_DATE DATE
    SQL> desc IMEI;
    Name Null? Type
    MSISDN NOT NULL VARCHAR2(20)
    IMEI NOT NULL VARCHAR2(16)
    DATE_MOD NUMBER(13)
    IMSI VARCHAR2(18)
    ICCID VARCHAR2(20)
    T_PROF RAW(20)
    EXTRA_DATA VARCHAR2(100)
    If I want to join two table together .
    I want to search the number of record in IMEI that have N_SIM_STATE =1 in RCA_SMART_CARD .
    The MSISDN in IMEI is equal to C_SIM_MSISDN in RCA_SMART_CARD .
    How can I do and what is the sql statment ??
    Please advice .

    First you need to decide, from where you want to execute the query.
    Let us assume it is instance A(as per your example).
    Then what you need to do is:
    1.     Create database link to instance B
    *[url http://www.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10759/statements_5005.htm]Here* is the semantics.
    2.     After creating the database link to instance B, you can achieve the result set by running the below query:
            SQL> select count(*) from IMEI t1 join RCA_SMART_CARD@<db_link_name> t2 on t1.MSISDN = t2.C_SIM_MSISDN where t2.N_SIM_STATE = 1
            Hope it helps!
    Cheers,
    AA

  • Using Sections To Tie Two Rows Together

    I use the section capability to join two rows together.  I have a button that will duplicate the section.  Which on the screen shows perfectly.  However, when you save the file, and open it back up it does not maintain those sections.  It combines them into one.  look at this example:
    TABLE 1
    ROW 1: element1, element2               -- Row 1&2 are group as a section
    ROW 2: element1, element2
    User press the add button:
    Table 1
    ROW 1: element1, element2                -- So when the user press the add button it duplicates the section to add two more rows in order
    ROW2: element 1, element2
    ROW3: element 1, element2
    ROW4: element 1, element2
    The user now saves the form and exits...
    The user lanuches reader and opens the form. they see the follow result...
    ROW1: element1, element2
    ROW3: element1, element2
    ROW2: element1, element2
    ROW4: element1, element2
    I need the section to stay together...  Any suggestions of what can be done?
    Regards

    Uncheck the checkbox for the "Repeat Row for each Data Item" in the Bidning tab for Row2 and Row3 inside the Section.
    You are actually creating a new instance of the section (which includes Row2 and Row3). So this check box should be checked at the Section levl not at the Row level. You have already checked the Section property so remove from Row 2 and Row3.
    Thanks
    Srini

  • Join two remote sites, use_nl or use_hash

    We are using Oracle 10g R2 on Linux platform.
    Suppose we have three remote sites A, B and C. I want to join two tables on B and C by executing a query on Site A. I cannot give driving_site hint because I do not have privileges for that.
    Can you please answer the following question?
    If I use nested loop join, both tables on site B and C shall be copied to the local site A and join shall be performed OR only one table, called the deriving table shall be copied on site A  and second table shall be probed remotely?
    In Hash Join, Oracle shall copy both tables B and C on site A and then perform the join?
    | Id  | Operation          | Name                           | Rows  | Bytes | Cost (%CPU)| Time     | Inst   |IN-OUT|
    |   0 | SELECT STATEMENT   |                                | 13084 |   907K|    11M  (3)| 37:04:41 |        |      |
    |   1 |  NESTED LOOPS OUTER|                                | 13084 |   907K|    11M  (3)| 37:04:41 |        |      |
    |   2 |   REMOTE           | VISA_CIL01_GDA_INTEREST_PERIOD | 13084 |   344K|    15   (7)| 00:00:01 | CIL_G~ |
    |   3 |   REMOTE           | VGUA_CIL01_ACCOUNT_ID          |     1 |    44 |   850   (3)| 00:00:11 | CIL_G~ | R->S |

    No; it means that when you are trying to work out whether or not a nested loop join .......
    Can you please tell me scenario where I should use NL instead of Hash join
    This means that the point at which you decide to switch from NL to Hash join will typically be for a smaller number of cycles round the loop, i.e. for a smaller amount of data.
    Sorry, I could not get this point. Does it mean that we should use hash join when we have tables to join?
    Do you have a URL for the document you read that gave this impression
    Actually this is Oracle 8i documentation from which i get this concept, perhaps not feasible in Oracle 10g now. Tuning Distributed Queries
    For the nested loop, the rows and columns needed by the outer (first) table will be pulled to the local site in relatively small batches, and for each row in that rowsource the inner (second) table will be probed across the network.
    Can you please give me reference from Oracle documentation about the the above description to help me better understand the idea?

  • How to join two distribution rule together in one distribution rule

    how to join two distribution rule together in one distribution rule,and every dist. rule has many cost center.

    Hi,
    Welcome you post on the forum.
    You can create a new rule to include these two rules.
    Thanks,
    Gordon

  • Using a view to join two tables

    Thank you in advance for any advice you can lend.
    I am using this code in my MySQL db to create a view.
    select
        job.id as job_id,
        umr_cost_calculation.plant_name,
        max(umr_cost_calculation.id) as max_id
    from
        job,
        umr_cost_calculation
    where
        job.id = umr_cost_calculation.job_id
    group by job.id , umr_cost_calculation.plant_name
    I did this so I can join two tables and pull in the most current cost data for a specific plant. The report will, at times, show the wrong (older) data. I can re-run the report, filter to just the one job and see again the wrong data. When I add the max_id to the report, it display the id and updates the report with the correct data. It appears that the view was stale and by adding the ID to the report this fixed the issue.
    1) Is this the best way to make this join? I don't see how Crystal supports a subquery to make a join (this is why I used the view).
    2) If I leave the max_id on the report, will this force the view to always update?

    Try:
    Select
    D1.EmpLoginID,
    Count(D1.ID),
    Count(D1.AlarmCode),
    D1.EmpName,
    D1.EmpAddress,
    D2.Db2Count
    FROM DB1.Data D1
    LEFT JOIN (SELECT
    empLoginID, Count(*) as Db2Count
    FROM DB2.ALL_Database
    WHERE site = 'Atlanta'
    GROUP BY empLoginID
    ) D2
    ON D1.EmpLoginID = D2.EmpLoginID
    GROUP BY D1.empLoginID, D1.EmpName, D2.EmpAddress, D2.Db2Count
    Order BY D1.empLoginID ASC
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

Maybe you are looking for

  • Remove element from xml using dom.

    i want to remove an element from an xml file using dom. i remove the element but the whole content of the file is also deleted. how can i rewrite the file.

  • Split of asset value to sub numbers in AA

    Hello Situation is that the main asset number has to be split into more sub asset numbers, but I would like to 'remove' the acq values and acc depreciations from the main asset number and split it on the sub assets in Asset Accounting. How to do this

  • Switch configuration

    Can i get any sample configuration for core , Distribution and Access layer switches with 7206 router using OSPF as a routing protocol . Please give some 5 to 6 VLANs in core switches ( i need three tier config)

  • Bridge does not see both external hard drives

    In either CS3 or CS4, Bridge does not recognize my second external hard drive. Photoshop and lightroom see both drives. I am using a laptop and Windows xp. Thanks, mIKE

  • Address Book global display ....

    Hi ... Like in Snow Leopard and all previous OS X's Address Book's is there a way to show all at once the group names, the contact name and the contact details, without having to turn pages every time ?