One Report needs to connect to 20 different databases

Post Author: macgary
CA Forum: Data Connectivity and SQL
We have 20 identical databases - structurally - but differing in their regional data.
We have created some various reports that need to run against various databases in SQL Server.   I would like to avoid having to create 20 variations of each report varying only in their database connections.
Does anyone have an idea of how I can pass the database name into the connection so I can make the one report work on any of my structurally similar databases?
Thanks,
Gary

Post Author: Hieu
CA Forum: Data Connectivity and SQL
Select "Set Datasource Location" under the Database menu.

Similar Messages

  • Connecting to two different database instances from a swing application.

    Hi All,
    I am developing a swing application which needs to interact with two different database instances of two different weblogic servers.
    More eloborately,
    I have some data in DB_Instance1 running on[b] Weblogic_Server1 and I need to insert the same data into DB_instance2 running on Weblogic_server2. Is it possible. Could some explain me how to do that..
    Thanks in advance...
    Sreekanth.

    Hi Rick,
    Try logging onto both Server first. You'll have to use either 2 separate ODBC DSN's or 2 separate OLE DB connections. Set them both for Trusted Authentication, you'll have to configure that on the Server also.Then try your query.
    If that doesn't work then you'll have to create a Stored Procedure or View that can link the 2 Server side.
    Thank you
    Don

  • Help needed to insert data from different database

    Hi ,
    I have a requirement where i need to fetch data from different database through database link .Depending on user request , the dblink needs to change and data from respective table from mentioned datbase has to be fetched and populated .Could i use execute immediate for this, would dblink work within execute immediate .If not , could pls let me know any other approach .

    What does "the dblink needs to change" mean?
    Are you trying to dynamically create database links at run-time? Or to point a query at one of a set of pre-established database links at run-time?
    Are you sure that you really need to get the data from the remote database in real time? Could you use materialized views/ Streams/ etc to move the data from the remote databases to the local database? That tends to be far more robust.
    Justin

  • Crytsal Reports 11 cannot connect to Visual Foxpro Database table

    I hope someone can help me here. I have read through the other posts here, but can't seem to fiind the answer I need.
    We use Crystal Reports to pull information from our Sage databases to create and distribute reports. Currently this is working fine on the original server. However, we decided to move the installation of Crystal Reports from one server to another.
    In setting up the new server, I keep getting the message "The database table (table name) cannot be found. Proceed to remove this table from the report?" It displays this message for all the different tables in which data is trying to be accessed. Once I click No to all of these notifications, the correct info is poplulated in the report just fine. I need to get this corrected. It does not do this on the original installation.
    Also if I open Database Expert and single click too expand the "Current Connections" folder, I get a message that pops up saying "Database Connector Error: 'HY010:[Microsoft][ODBC Visual Foxpro Driver] Function sequence error'". When I click OK to that, I get another similar error that reads "Database Connector Error: 'IM001:[Microsoft][ODBC Driver Manager] Driver does not support this function'"
    Please let me know of any ideas that you may have as to what may be causing this issue. I have tried reinstalling the ODBC drivers, Runtime files, and Crystal. I appreciate any help.

    I tried what you mentioned but it did not work. I believe it has to do with a "SQLNumResultCols" in SQL. The reason I say this is because I did a trace on both the server that is working and the server that is not and this is the first key that displayed an error in the SQL.LOG file. Here is this section of the SQL.LOG file for the server that isnt working...
    dde             2e94-28b0     EXIT  SQLNumResultCols  with return code -1 (SQL_ERROR)
              HSTMT               03442998
              SWORD *             0x0012F3F4
              DIAG [HY010] [Microsoft][ODBC Visual FoxPro Driver]Function sequence error (0)
    And here is this section of the SQL.LOG file for the server that is working...
    dde             eb8-c94     EXIT  SQLNumResultCols  with return code 0 (SQL_SUCCESS)
              HSTMT               03542508
              SWORD *             0x0012F3F4 (5)
    I believe if I can figure out what is causing this, I will be able to resolve this issue, but I am not a programmer and I am having a very hard time with this. Any help is appreciated.

  • Dw cs5 with existing wordpress site hosted on yahoo need help connecting to existing remote database

    I am having trouble establishing a database connection.  I can  connect with test databases but am having trouble using dreamweaver wtih  my existing wordpress website.  Am I able to use dreamweaver to edit  and live view my changes before uploading the changed files to my live  site?  Am I able to access my existing wordpress database with  dreaweaver?  I have imported it to my testing server/database but still  seem to be having trouble establishing a connection with it (think maybe  my folder hierarchy might be off).
    macintosh HD/Applications/MAMP/htdocs/nwm/wp/index.php
    "nwm" is the name of the folder that I have copied all of my site  files to and the folder I have dreamweaver pointing to.  "wp" is what I  have all of the wordpress files in (the ones I copied from my yahoo  server - including all my current theme files etc.)
    I am trying to put the info into the mysql connection dialog box:
    Connection Name: Testing (i am assuming this name is for my benefit only and doesn't actually matter)
    MySQL Server: mysql
    User Name: *****
    Password: *****
    Database: wp
    and am getting this message
    MySQL Error#: 2013
    Lost connection to MySQL server at 'reading initial communication packet', system error 61
    did some google seaches of the error.  Tried turning off the  firewall, and the advance tab allow mysql incoming  (there were 2 one  was allow one was not allow.  I changed both to allow)
    Cant really find anything on yahoo to help me out.  Looked in  phpmyadmin database named wp: wp_users to get the username and password  (which due to previous look for help - I think the password was  encrypted cuz it looked like a bunch of mumbo jumbo and am fairly  certain I know the correct password).
    Any help would be greatly appreciated!! I spent $50 on live chat  last night trying to resolve the issue only to find out at the end that  the guy really didn't understand my problem and doesn't have  dreamweaver.  I have also watched countless videos on Lynda.com and have  been thru forum after forum.  While this problem is only a couple weeks  old since I just got CS5.  I have been having trouble making any  headway learning php since I cant seem to make it past the set up  parts.  I have done the php / mysql essential training on lynda.com with  relative success except that I really dont want to work with any more  exercise files so I didn't go on to the beyond the basics. I recently  went thru most of the Dreamweaver CS5 and Wordpress 3. Also did the  first 4 chapters of Dreamweaver CS5 with PHP and MySQL. I need to start  integrating things into my live sites.  I am also trying to work my way  thru the learning php, mysql, javascript book by o'reily media by robin  nixon (as fun as reading a math text book) can't get thru it since I  can't relate any of it to my current sites/needs
    I am on MacBookPro OSX 10.6.6
    Installed MAMP to specification on all 20 tutorials I have tried including lynda.com
    Tested the testing server and is working
    Just installed dreamweaver cs5
    have been using wordpress online to create and edit posts (recently  upgraded to 3.? whatever the latest update was online which I believe  update the files on my yahoo server?)
    Have also installed wordpress on my computer (several times thru each tutorial trying to get this right.)
    Am I expecting the impossible?

    If wordpress controls it's own connection why am I unable to use the live view. I have synced the remote site to my local computer so all the files should be just as they are online with the exception of the DB which contains most of the content.
    I have done all of those steps.  I have even exported the database from inside internet phpmyadmin and imported into computer phpmyadmin.  When I hit live view I get one of couple of errors.
    1.  "One is that the dynamic related files could not be displayed due to an internal server error"
    At some point I was able to view some sample files inside dreamweaver.  But I would like to be able to view my real site files.  I was able to "connect" to the local databases (not the copy of my real one - I think that maybe that was because it is somehow nested inside another db an am going try to reimport to new location).  And then I changed the host/username/password trying to deal with the internal server error. Now instead I get the cannot connect to the database Error 2016 or whatever from the origianl post. Also, I am using yahoo if that matters and all I can find about what their server name is: mysql - is that correct?
    I have been thru this so many times with so many different tutorials I am losing track of what is what.
    2.  Can I access my remote database within dreamweaver? I do not want to create dummy files (seems to be a waste of time).  And while if it had worked exporting/importing a duplicate on to my computer would have satisfied me for a little while it also seems some what counter productive.  Since every post and page is different if I were doing a daily updates etc how would I be able to change the formating or design of them if I can't access the remote files.  Would I re- import everytime I want to work on it to get current database?
    I am trying to be clear.  I listed all the specs I could think as listed  in your "how to get help fast post" (yes I read that at least twice  too) of all of the steps and possible reasons for my problems.  I also  thought that the forum was on a seperate site so I didn't think it would  count as a duplicate.  I am frustrated to tears and am feeling  incredibly stupid that after all this time and all these tutorials yes  you are right I obviously am not understanding what is going on which is  why I am on this forum.

  • How can I connect to a different database schema,other than adobe?

    I'm building an application where I want to use a different database for it,for storing additional data for the users(different from "edcprincipaluserentity" table in "adobe" database stores)..How I can connect to my database schema created in MySQL from Workbench,to assign tasks to my users,using the Process Management/Assign Task service?

    You can only assign task to user that are known by the LiveCycle User Manager.
    When you configure LiveCycle, you can tell it where you want to get the users from. They can be created them locally in the local database, or synchronized from an LDAP directory in which case it'll read the users from LDAP and make a copy of some of the properties to the internal LiveCycle database.
    Bottom line, all users have an id (in the edcprincipalentity table) in the adobe database.
    If you need your users to come from a different database, then you need to customize the SPI (security provider interface) so that you can synchronize the users coming from your external database. Again, this is a customization since out of the box, we don't synchronize against external database. But it is possible, the API is there and other customers have done it.
    I hope this clarifies things a bit.
    Jasmin

  • ABAP report  from fields connecting to an external database

    Hi All,
    The requirement is to connect some GL data with external audit data which is stored in an oracle database.  These two table data has to be merged and a report has to be generated.
    I heard we could connect to the external database from the R/3 4.7 version through DBconnect.  Has anyone come across any such requirement and done a similar report, could you give me the inputs please.
    regards
    Girish

    Questions like yours are best asked over at the webOS Developer's Forum.  The Palm Support Community here is geared to answering end-user questions about devices, not programming information.
    https://developer.palm.com/
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • Need help connecting a remote MySql database from Iphone

    Hi, i need to connect to a remote MySql DataBase in windows from IPhone but..... i'm a noob with Xcode and Objective-C.
    Can someone help me or explain me the way to do it plz?
    Message was edited by: Krovax87
    Message was edited by: Krovax87

    I do not think MCPKit will help you on the iPhone. It is just an Objective-C wrapper around the standard mysql libraries which are not available for the iPhone. Your best bet would be to post on the mysql forums and see if you can get any help.
    You can try extracting the mysql client library source code into a separate static library project, and see if you can get it to build for the iPhone.

  • Connecting to two different databases on different machine ..is it Possibl?

    Hi EveryBody:
    In My application I'm pulling some files from one server to another server useing FTP and then inserting the file data in one Oracle database on UNIX Machine1 and at the same time updating another Oracle database table on another UNIX Machine2 ...Below I posted the method foe database connection, I also provided the code for calling that method twice it works fine for the first database and connect successfully but the second one it hangs ....I don't know why ...
    public void DB_connect(Database db,String dbip,String dbport,
              String dbsid,String dbuser, String dbpass){
    //Conecting to Database
    try{
    db=new Database(dbip,dbport,dbsid);
              db.connect(dbuser,dbpass);
              System.out.println("Connection to Database Successful");
    catch(Exception e){
    System.out.println("Error Connecting to Database.");
    //Calling the method in the main
    DB_connect(db1,db1ip,db1port,db1sid,db1user,db1pass);
    System.out.println("Successfully connected to the First DataBase ...");
    DB_connect(db2,db2ip,db2port,db2sid,db2user,db2pass);
    System.out.println("Successfully connected to Second DataBase ...");
    Thanks in Advance

    Can we display aprogress bar in
    the User Interface till we get the connection
    available ....Yes.
    How ??? You create a second thread that does something. When the connection is established (or fails) it sets a flag so the other thread knows it is time to terminate.
    Can u please provide code
    snippet That I can't do. There are probably plenty of examples in one of the forums that deal with GUIs (which this is not.)

  • EM connecting to two different databases

    How do I connect to a second database?
    I can connect to the first database ...
    then I create a second database...
    but can't find the second database so
    I can administer it.

    You have to use the Grid Control to get connection to several databases from the same application. Although you can get connection to several databases separately with the database control.
    Joel Pérez

  • How One EP Portal will connect the 2 Different System(ECC Europe,China)

    Hi Friends,
    I have one more doubt on Multi region Functionality. Here we are using single EP Portal. Depending up on user we are able to connect to the ECC System.
    Ex: Here we are using 2 ECC Systems( ECC Europe and ECC China). In Portal ECC Europe is login into the Portal he will be able to connect ECC Europe System through ECC Europe Model data and Meta Data like as ECC China user Login into the Portal he will be able to connect ECC China System through ECC China System Model data and Meta Data.
    How can I do this work. Can you tell me. What type of coding I can write here. Please give Help.
    Regards
    VijayK

    Hi Vijay,
    Not just multiple Systems/JCos needed, you also need multiple souce objects to connect to multiple Systems/JCos.
    In your case you need multiple iView (applications), and configure them to connect to different back-end systems.
    You got to modify the Application Parameter of WD iView objects saperately to talk to different systems.
    Reason, you cannot make one application to use multiple JCo destinations at any point of time.
    Thanks,
    MS

  • Can one Cisco IPS 4360 connect to two different ISP circuits?

    Hi,
    Currently our network has two circuits from two different ISPs, with two firewalls in the middle of the ISPs and the corporation internal network. We are thinking of purchasing a Cisco IPS 4360 and put the device between the ISPs and the two firewalls.
    We would like the traffic coming to/from ASA1 still use the circuit from ISP1, and ASA2 still use the circuit from ISP2. Is this possible? Can the 4360 route the traffic as we want?
    I drew a draft picture of this issue. Please have a look at the attachment.
    Thank you!
    Regards,
    Jacky

    Hi,
    Yes, You can deploy your IPS as your plan. Please see the below link.
    http://www.cisco.com/c/en/us/solutions/enterprise/validated-design-program/networking_solutions_products_genericcontent0900aecd80601e22.html
    Regards
    Parosh

  • Need help connecting a MS Sql Database in CF Administrator

    Good morning,
    I`m hoping someone out there can help me.
    I simply want to add a MS SQL datasource within Coldfusion Administrator.
    I have connected to it successfully with Sql Server Management Studio, using Windows Authentication.
    I`m assuming I need to use Windows Authentication to connect within Coldfusion Administrator
    How do I fill out these fields then:
    because I am getting this error:
    Connection verification failed for data source: test
    java.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer  JDBC Driver]Error establishing socket. Unknown host: local
    The root cause was that:  java.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer JDBC  Driver]Error establishing socket. Unknown host: local
    I have also tried it with localhost as opposed to local.
    Please help?
    Thanks;
    Rhonda

    I believe you DON'T.
    ColdFusion, by default, does not run as any type of user that would work with Windows Authentication.  It can be set up to do so, through the windows services panel.  You configure the ColdFusion service(s) to "Log On As" some windows domain account with the desired permissions.  This is normally done to allow CFML code to access network resources for file operations and the like.
    But, I don't know if that is good enough for a connection to a SQL server.  I've never had to deal with it myself (I have operations and database administrators types who deal with this for me).  But I have read many many times on forums like this that the default security configuration of SQL server does not work with ColdFusion.  That one has to set up an alternate configuration in SQL, TCP/IP I think?

  • Is transparent gateway needed to connect to IS Cache database?

    Hello,
    I have been asked by one of our developers how to create a connection from his Oracle 11.2 database to SQL Server and also InterSystems Cache' databases without having to use Transparent Gateway?
    Is this possible, and if so, how can it be done?
    (thanks in advance)

    Hi,
    You say - "I guess it means that Oracle Database Gateway is FREE (per se)" but to make the point again - only the Database Gateway for ODBC (DG4ODBC) is free. The other gateways need a license.
    If you run on Windows then many of the Microsoft ODBC drivers are free or included as part of other products so you do not need to pay for them, and also many non-Oracle database providers include an ODCB driver as part of the product, so again you do not need to pay for anything else to use DG4ODBC, for example MySQL.
    To interface with a Cache database you can use Dg4ODBC but you need to provide the ODBC driver. There is not a 'dedicated' database gateway for that product. That is why we provide the DG4ODBC which can interface with any non-Oracle database or datastore for which a compatible ODBC driver is available.
    This note available on My Oracle Support has information about the install notes on various platforms -
    Note.1083703.1 Master Note for Oracle Gateway Products
    Regards,
    Mike

  • Example needed for connecting to 3 Informix databases

    I'm attempting to connect and use 2 different informix databases within the same app.
    Connection 1 (Sql selects records where status = 'pending'
    Connection 2 (Results from connection 1 are passed to a stored procedure
    Connection 3 (Updates Database used in con1 with return values from con2
    I'm able to successfully code connection 1 but I'm totally confused on the others.
    How do you switch back and forth between each connection?
    Thanks in advance
    Steve

    all you need to do is make 2 connections:
    //setup code
    Connection conn1 = DriverManager.getConnection(url, user, pass);
    Connection conn2 = DriverManager.getConnection(url2, user2, pass2);I have made a couple of classes that can simplifiy this. e.g. the entire code consists of
    dbConnection oc = new OracleConnection();
    dbConnection pc = new PostgresqlConnection();
    oc.createConnection("prodops");
    pc.createConnection("test");I havn't made an informix class, but they are simple to do. Give me your email address if you want the classes.
    Pete

Maybe you are looking for

  • Problem with Media Explo

    I am using a Zen Micro on Windows XP with the Service Pack Two. When I start "Rip Audio CD Tracks to Device" I get an error message stating "Unable to load database component". How do I fix this so I can transfer tracks directly to the Micro? Thanks,

  • Oracle report parameters- please help

    iam working on reports 2.5 and oracle DB7.3. In a report parameter in order to retrive the parameters i gave a query as select docno from docket where status='A' for some period it has worked well. may be as the number of transactions have increased

  • JOptionPane and JDialog

    Hi guys, I've been scooting around the net trying to find an answer to this problem. Basically I have a JDialog that users enter registration details. If they haven't completed all fields or if the password confirmation is wrong then a JOptionPane.sh

  • Reconnect MULTIPLE Folders to Offline Media?

    In Lightroom 2.4 there is a "Find Missing Folders" command, but I've been able to use this only one folder at a time.  It doesn't seem possible to reconnect a LR catalog to numerous relocated folders in a single operation.  This becomes very tedious

  • CSS - Overflow: Scroll

    Hi, I have a question about Overflow: Scroll option. heres the scneario: Say I have a box 500px wide, 250 high. theres too much text to fit into that box, so i go into my css positioning tab and change "Overflow: " to "Overflow: Scroll". Now in a bro