Paging records in jsp_with sqlserver database

hai ! developers
can any one help me out , paging database records 10 per page
using sql server 200 using tomcat 5.0 in windows xp

Well your Oracle procedure is designed to load a file, so that's what it does. If you want it to load from a data stream such as an upload, you need to rewrite it accordingly.
So far this is not a Java question at all.

Similar Messages

  • Paging record with sql server

    i'd like to paging my web with jsp and my database is sql server. as far as i know, to paging record in jsp are use 'LIMIT' but sql server does not support that. this syntax is only for MySQL. How to paging record but with sql server as database...please help me..???

    I would say the best solution is this:
    dont use sql server.
    Humour aside, did u look on msdn ? Oracle has "where rownum <10" and some other databases use "select first 10" type syntax. I'm sure its on the m$ website...

  • How to delete a record in a connected database?

    We are encountering a problem using the delete function for removing a record in a connected database table. The database is an excel-file and we are able to add a new record, update existing records but not delete records. We are using the following script in FormCalc since I read that the function does not work in JavaScript:
    $sourceSet.DataConnection.delete()
    The error message returned is:
    "Deleting data in a linked table is not supported by this ISAM."
    We are also curious to know how we can reload the connection so that for example a drop-down list containing values from each record in the table is updated automatically when we insert a new record.
    Thanks!
    Annika

    You also asked:<br /><br /><font color="grey"><i>We are also curious to know how we can reload the connection so that for example a drop-down list containing values from each record in the table is updated automatically when we insert a new record.</i></font><br /><br />You should be able to achieve this quite easily using the Data Drop Down List from the Library palette's Custom tab. This object has a pre-defined Initialize script which populates the list with items from a data connection you specify.<br /><br />While the object is pre-configured to load items from the data connection only upon initialization (which only occurs when the form is loaded and after a data merge), you could move the script into a Script Object function and call it whenever you insert a new record (just after the statement which inserts the record).<br /><br />This is the script from the Initialize event of the Data Drop Down list put into a Script Object function called LoadDropDownList which takes the drop down list to populate using the data connection as a parameter:<br /><pre>function LoadDropDownList(oDropDownList)<br />{<br />     /*     This dropdown list object will populate two columns with data from a data connection.<br />     <br />          sDataConnectionName - name of the data connection to get the data from.  Note the data connection will appear in the Data View.<br />          sColHiddenValue      - this is the hidden value column of the dropdown.  Specify the table column name used for populating.<br />          sColDisplayText          - this is the display text column of the dropdown.  Specify the table column name used for populating.<br />     <br />          These variables must be assigned for this script to run correctly.  Replace <value> with the correct value.<br />     */     <br />     <br />     var sDataConnectionName = "&lt;value&gt;"; //     example - var sDataConnectionName = "MyDataConnection";<br />     var sColHiddenValue = "&lt;value&gt;"; //     example - var sColHiddenValue = "MyIndexValue";<br />     var sColDisplayText = "&lt;value&gt;"; //     example - var sColDisplayText = "MyDescription"<br />     <br />     //     Search for sourceSet node which matchs the DataConnection name<br />     var nIndex = 0;<br />     while(xfa.sourceSet.nodes.item(nIndex).name != sDataConnectionName)<br />     {<br />          nIndex++;<br />     }<br />     <br />     var oDB = xfa.sourceSet.nodes.item(nIndex);<br />     oDB.open();<br />     oDB.first();<br />     <br />     //     Search node with the class name "command"<br />     var nDBIndex = 0;<br />     while(oDB.nodes.item(nDBIndex).className != "command")<br />     {<br />          nDBIndex++;<br />     }<br />     <br />     //     Backup the original settings before assigning BOF and EOF to stay<br />     var sBOFBackup = oDB.nodes.item(nDBIndex).query.recordSet.getAttribute("bofAction");<br />     var sEOFBackup = oDB.nodes.item(nDBIndex).query.recordSet.getAttribute("eofAction");<br />     <br />     oDB.nodes.item(nDBIndex).query.recordSet.setAttribute("stayBOF", "bofAction");<br />     oDB.nodes.item(nDBIndex).query.recordSet.setAttribute("stayEOF", "eofAction");<br />     <br />     //     Clear the list first so that we replace any existing items<br />     <b>oDropDownList</b>.clearItems();<br />     <br />     //     Search for the record node with the matching Data Connection name<br />     nIndex = 0;<br />     while(xfa.record.nodes.item(nIndex).name != sDataConnectionName)<br />     {<br />          nIndex++;<br />     }<br />     var oRecord = xfa.record.nodes.item(nIndex);<br />     <br />     //     Find the value node<br />     var oValueNode = null;<br />     var oTextNode = null;<br />     for(var nColIndex = 0; nColIndex < oRecord.nodes.length; nColIndex++)<br><br />     {<br><br />          if(oRecord.nodes.item(nColIndex).name == sColHiddenValue)<br><br />          {<br><br />               oValueNode = oRecord.nodes.item(nColIndex);<br><br />          }<br><br />          else if(oRecord.nodes.item(nColIndex).name == sColDisplayText)<br><br />          {<br><br />               oTextNode = oRecord.nodes.item(nColIndex);<br><br />          }<br><br />     }<br />     <br />     while(!oDB.isEOF())<br />     {<br />          <b>oDropDownList</b>.addItem(oTextNode.value, oValueNode.value);<br />               oDB.next();<br />     }<br />     <br />     //     Restore the original settings<br />     oDB.nodes.item(nDBIndex).query.recordSet.setAttribute(sBOFBackup, "bofAction");<br />     oDB.nodes.item(nDBIndex).query.recordSet.setAttribute(sEOFBackup, "eofAction");<br />     <br />     //     Close connection<br />     oDB.close();<br />}</pre><br />The required modifications to the original script are in bold.<br /><br />The easiest way to create the Script Object is to right-click on the top-level form object ("form1" by default) in the Hierarchy palette and select the <i>Insert Script Object</i> option. This will insert an un-named Script Object which you should then rename to something meaningful like, "ScriptObject". Once you've done this, you can call the function from any event on any object on your form with the following JavaScript:<br /><pre>ScriptObject.LoadDropDownList(&lt;SOM expression for drop down list&gt;);</pre><br />If you were calling this function on an "add record" button's Click event, the drop down list was named "DropDown" and both objects were in the same subform, you would do this:<br /><pre>ScriptObject.LoadDropDownList(DropDown);</pre><br />Stefan<br />Adobe Systems

  • How to Insert a record into a MySql database.

    Hi,
    In an earlier question I was advised to use the Adobe extension to get access to database connectivity and server behaviours.
    That extension is now installed. Whether it is functional is another question.
    To chewck it out I follwed exactly the steps set out in Lessons 5 and 6 of Dreamweaver CS5 with PHP
    When trying to make a database connection I am still getting the 404 error I mentioned in an earlier email. However if I type the database name (phpcs5) into the “select database” box and test it says I connected successfully and I can see the user’s table in the database panel.
    So far apparently so good.
    I have created the cs5wtite and cs5read connections to the phpcs5 database
    I set up the insert record behaviour using “Form1!, “cs5write”, “users”,
    Everything went as per the manual, the file turned aqua in Live view.
    I entered data and ctrl/clicked “Sign me up” button and nothing happened.
    No data was entered into the database and I was not passed to login.php.
    I deleted everything from the computer, restarted the pc and started again from scratch.
    The result was the same. Nothing
    My one concern was line 49  $insertGoTo = " login.php";
    The file is in registration so I changed to $insertGoTo = "registration/login.php";
    but that made no difference.
    Is there any logging or error reporting I can use to see where it is going wrong?
    This is the add user page generated
    <?php require_once('../Connections/cs5write.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
      $insertSQL = sprintf("INSERT INTO users (first_name, family_name, username, password) VALUES (%s, %s, %s, %s)",
                           GetSQLValueString($_POST['first_name'], "text"),
                           GetSQLValueString($_POST['surname'], "text"),
                           GetSQLValueString($_POST['username'], "text"),
                           GetSQLValueString($_POST['password'], "text"));
      mysql_select_db($database_cs5write, $cs5write);
      $Result1 = mysql_query($insertSQL, $cs5write) or die(mysql_error());
      $insertGoTo = "login.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $insertGoTo));
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Add new user</title>
    <link href="../../styles/users.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <h1>Sign Up Now</h1>
    <form id="form1" name="form1" method="POST" action="<?php echo $editFormAction; ?>">
      <fieldset>
        <legend>Just a few details and you&rsquo;re in</legend>
        <p>
          <label for="first_name">First name:</label>
          <input type="text" name="first_name" id="first_name" />
        </p>
        <p>
          <label for="surname">Family name:</label>
          <input type="text" name="surname" id="surname" />
        </p>
        <p>
          <label for="username">Username:</label>
          <input type="text" name="username" id="username" />
        </p>
        <p>
          <label for="password">Password:</label>
          <input type="password" name="password" id="password" />
        </p>
        <p>
          <label for="conf_password">Confirm password:</label>
          <input type="password" name="conf_password" id="conf_password" />
        </p>
        <p>
          <input type="submit" name="add_user" id="add_user" value="Sign me up!" />
        </p>
      </fieldset>
      <input type="hidden" name="MM_insert" value="form1" />
    </form>
    </body>
    </html>
    This is the connection page
    <?php
    # FileName="Connection_php_mysql.htm"
    # Type="MYSQL"
    # HTTP="true"
    $hostname_cs5write = "localhost";
    $database_cs5write = "phpcs5";
    $username_cs5write = "cs5write";
    $password_cs5write = "Smp??2014";
    $cs5write = mysql_pconnect($hostname_cs5write, $username_cs5write, $password_cs5write) or trigger_error(mysql_error(),E_USER_ERROR);
    ?>
    I understand this solution is a wokraround Adobe privided whist deprecating its use.
    In the earlier question I asked if there was another way to work with a database. Someone posted a link to an Object orientated solution but It was way beyond my coding abilities. I wonder are there any other solutions out there?
    Thanks for any input

    Hi,
    Thanks for the test.
    I used your amendment but still got nothing, no record in database and not sent to login page..
    I also tried this code below. It returns "Record added to database" but it was not.
    Something strange going on.
    <?PHP
    $user_name = "cs5write";
    $password = "Smp??2014";
    $database = "phpcs5";
    $server = "127.0.0.1";
    $db_handle = mysql_connect($server, $user_name, $password);
    $db_found = mysql_select_db($database, $db_handle);
    if ($db_found) {
    $SQL = "INSERT INTO users (first_name, surame, username, password) VALUES) VALUES ('Albert', 'Dent', 'hitchiker', 'space')";
    $result = mysql_query($SQL);
    mysql_close($db_handle);
    print "Records added to the database";
    else {
    print "Database NOT Found ";
    mysql_close($db_handle);
    ?>

  • Does iTunes match need to locate the actual files or just see its record in your library database? I am currently traveling in US and I have US and Australian iTunes accounts. But all my music files are on a hard drive in Australia.

    Does iTunes match need to locate the actual files or just see its record in your library database? I am currently traveling in US and I have US and Australian iTunes accounts. But all my music files are on a hard drive in Australia. Can I start using itunes music match while I am travelling without the actual music files attached to my itunes?

    In your situation I strongly recommend you read over that KB article. The international iTunes Stores are not cross-compatible.
    My understanding of how it would work is that when activating iTunes Match on your US Store account, any songs you have in your iTunes Library that were purchased from the AUS Store account will NOT be matched. As I understand it, those files will be uploaded (which means you need the files on a local HDD). I also do not think it is possible to have iTunes Match active on more than one store ID on the same computer. But since iTunes Match is not available internationally yet, that point is moot for the moment.
    To be honest you might want to wait until the service is available internationally so you can guage how will it will serve you.

  • Alerting about new records in to the database (in perticular table).

    Dear membsers,
    Alerting about new records in to the database (in perticular table).
    i have a sample application like this.
    A form based on purchase_requisitions, the data being entered from a network computer by a user with datanetry privileges. let's say the columns are
    req_id,req_date,red-from_dept,req_from_emp,req_item_req_qty,req_status. (initially by default req_status is 'NEW').
    next..
    i have a form based on Pending_requisitions_view for the managers who approves the requisitions, the columns are just req_date,req_from_dept,req_from_emp. all the pending requisitions will come here every 5 minitues it gets refreshed by a timer. and it is a multi record block. from here the manager selects the record and he changes the status to APPROVED or DENIED. this is common scenario.
    here is the main problem, the manager has to keep open his form all the time, or if he is working on any other things/forms, it is not possible for him to see requisiotns unless he has to open that form and timer re-freshes the records then only he can see. and again when the application in minimised state we cant see any updates/new entries into requissitions.
    im trying to make a full pledges online system. im using Oracle 8i,forms 6i under win 2000.
    is there any possibility if there is any new records gets into that table we can have alerts like Yahoo messenger it changes color to Blue when it gets new message if it is minimised state.
    Please im keen to get this type of environment.
    Thanks in advance

    Hi,
    i tested like this,
    create a table-1 with tow coumns
    table-2 clone to table-1, on table-1 i put on-insert trigger insert into table-2. so far it is good, table-2 is getting values.
    on table-2 i wrote a database trigger like this
    CREATE.. ON INSERT on each row..
    begin
    IF INSERTING THEN
    raise_application_error;
    END IF;
    end;
    now the data not at all getting inserted into any table raising_application_error, so i could not proceed into further..
    please advise me..
    Thanks a lot

  • Inserting a record in an Oracle database in Teststand

    I am trying to create a new record into an Oracle database table using the insert command in Teststand 2.0. I have been able to do it using LabView. The problem is that the record does not exist as yet. So I don't what I should do in the OPEN SQL statement which creates a select statement. Also, when I try to do the operations the I can only see the columns with the "set and put" condition. "Put" shows me no columns. Using set and put I recieve an error telling me that the record is not updatable.
    I am not rying to update a record. I am trying to enter a new record. I do set the new record indication the data operation step.
    Is there a good write-up for using TestStand 2.0 step database operations? Is there any gotch-
    yous with 2.0 that were corrected in 3.0?

    I think what you want to use is an INSERT statement rather than a select. See http://www.techonthenet.com/sql/insert.htm for an example. If you create an "Open SQL" step, then edit the SQL statement, you can create a string expression that has includes your parameters.
    Example: "INSERT INTO supplier
    (supplier_id, supplier_name)
    VALUES
    (" +Str(MyNumericValue)+ ", '" + MyStringValue+ "');"
    Beware of single quotes (SQL string delimiter) versus double quotes (TestStand string delimiter).

  • Error while fetching variable value from sqlserver database in 11g

    Hi
    We created a dynamic variable to fetch data from sqlserver database in 11g.But when we test it, it is erroring out as follows: "nqserror: 27024 the execute physical statement must specify a physical sql statement to execute".
    Please help to overcome this issue.
    Thanks.

    Hello,
    First make sure that you're able to retreive data from the repository (right click on a table and view data?)
    To create a session variable follow these steps:
    From the Administration Tool menu bar, choose Manage > Variables.
    In the Variable Manager dialog box, from the menu bar, choose Action > New > Session > Variable.
    In the Session Variable dialog box, type a variable name.
    Names for all variables should be unique. The names of system session variables are reserved and cannot be used for other types of variables.
    For session variables, you can select the following check boxes:
    Enable any user to set the value
    Check box that allows you to set the session variables after the initialization block has populated the value (at user login) by calling the ODBC store procedure NQSSetSessionValue(). For example, this allows non-Oracle BI Administrators to set this variable for sampling.
    Use the Initialization Block drop-down list to select an initialization block that will be used to refresh the value on a continuing basis.
    To add a Default initializer value, perform one of the following steps:
    To use the Expression Builder, click the ellipsis button to the right of the Default initializer work space.
    Type the value into the Default initializer text box.
    Click OK.
    you can do the same for a repository variable except that you will have to specif a refresh interval.
    Make sure the sql your are issuing is correct by running it first using a client.
    Regards
    PS: Please don't forget to close the thread and assign points when your question is answered

  • Record Selection happening on Database or Crystal Server?

    I am learning about the benefits of SQL commands, in terms of efficiency.
    My database is a SQL databse.  Crystal 10 runs off of a connected server.   My reports connect to the database using Microsoft OLE DB Provider for SQL Server.
    I do not use explicitly defined SQL commands in my report.  Rather, I have specificed my record selection criteria in the record selection formula.  However, The Complete Reference to Crystal Reports XI indicates that if your record selection formula is coded within the underlying SQL Query in the WHERE statement, that record selection occurs on the database server (as opposed to the Crystal server). 
    When I go to Database | Show SQL Query, I DO have a WHERE statement that corresponds to my Record Selection formula.  Does this mean that my record selection is occuring on the database server?  If so, why is this the case?  Would I get the same level of performance by putting this code into a SQL Command explicitly?

    I'm pretty sure that Crystal can not always push the record selection to the database.  I think you really have to check each report query.  (I know it can't if the report is based off of a stored procedure, for example...)  If record selection is done by Crystal (and not the DBMS), you could be pumping huge volumes of data over the network.
    Also, another huge performance gainer with SQL Commands is if you can do aggregation (sum, max, etc.) in them and only return summary data.  I'm not sure how good Crystal is at pushing this kind of logic to the DBMS (if it can do it at all).
    Personally, I'm a big fan of basing reports off of SQL Commands due to the efficiencies that can be gained.
    HTH,
    Carl

  • How to trigger XI scenario from a SQLServer Database?

    We plan to realize the following scenario -> Database(Receiver System) - XI - RFC/BAPI (Sender system)
    What's the best practice/technique to invoke the 'pull' from the SQLserver database ?
    The requirement is to realize this as 'on-demand' initiate i.e. trigger the interface from Receiver system only when it needs the data from R/3
    Thanks in advance.
    Mustafa

    JDBC adapter works with pooling intervals.
    It will pool from time to time (configurable) for changes in some DB, and when that DB is changed, then it will send the new entries to XI and trigger the relevant scenario.
    For your case, I'm not sure which would be the best approach.
    Maybe you could populate some dummy table with a "request data" entry whenever you need it.
    Then, when XI sees this new request entry, it will trigger an interface. There, you could either call a BPM, lookup data in RFC and call another interface back to DB, or you could try async/sync bridge without BPM, using module adapters, as explained in this thread: File - RFC - File without a BPM - Possible from SP 19.
    Not too pretty, but might work.
    Regards,
    Henrique.

  • In Lync, if a call is not answered, and does not go to voice mail, is anything recorded in the Lync database ?

    We are using Lync 2010. This question relates to the LCSCDR database.
    In Lync, if a call is not answered, and does not go to voice mail, is anything recorded in the Lync database ? Are there any options to make Lync store a record of unanswered calls ?
    Is there a way to tell from the LYnc database if a call was answered by a person or went to voice mail ?
    I cannot see anything in the sessiondetails table to indicate any of the above.
    Any help much appreciated.

    Hello,
    You shouldn't install Shockwave Player unless you know for a fact that you need it.
    # From the following page, save the uninstaller, the full installer for Netscape, and the full installer for Internet Explorer if you also need it in that browser.
    #* http://www.adobe.com/shockwave/download/alternates/#sp
    # Exit all applications.
    # Run the uninstaller.
    # Restart your computer.
    # Run the installer for Netscape.
    # Run the installer for Internet Explorer if you downloaded it.
    This forum doesn't support BBCode like <nowiki>[IMG]</nowiki> tags. You can simply post the plain links to the images. In replies to the thread, you have the option to attach images to your post.
    * https://support.mozilla.org/kb/markup-chart

  • When migrating SQLServer database to Oracle9i

    After capturing the SQLServer database into the Oracle Migration Work Bench repository (omwb) I have migrated the SQLServer sourccode to the Oracle Model (also in the
    omwb repository). But...
    when migrating SQLServer sourcecode to Oracle9i database some of the triggers are not migrated into the Oracle Model: triggers like :
    ----------->
    create trigger dbo.tr_nev_del_audittable
    on event_spare_memofield
    instead of delete
    as
    begin
    <-----------
    are not migrated.
    Can someone tell me why?
    I am only getting the message:
    Error occured on line 9:
    oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 9, column 10. Encountered: of

    You can rewrite the trigger as a BEFORE (OR AFTER) DELETE trigger on the appropriae table event_spare_memofield/audittable ? Most likely it will be a row-level (FOR EACH ROW) type trigger.
    The instead of type triggers is reserved primarily for views.

  • Missing database instances in SQLServer:Databases perfmon counters

    After creating new databases on a default 2008 R2 instance of SQL Server, the new databases (instances) are missing from the perfmon counters under SQLServer:Databases.
    I have tried reloading the perfmon counters using unlodctr with no success. All SQL counters are present and only the new database instances are missing from this specific category.
    Querying dm_os_performance_counters also shows the instances are missing.
    select instance_name
    from sys.dm_os_performance_counters
    where object_name = 'SQLServer:Databases'
    I have verified that these counters are enabled and they are present and work for all 147 other databases in this SQL instance.
    There are no errors in the log.
    I am out of ideas and hope someone else has some.
    I'm not certain if this is the correct forum category so if I need to post elsewhere, please let me know.
    Thanks!

    Hi dmosley,
    From your description, only newly added database are missing from the perfmon counters. It seems that you encounter the same issue which is described in this
    blog. Please perform the following steps to work around this issue.
    1. Change the path to the BINN directory of the SQL Server instance you desire to correct.
    2. Unload the counters. For a default instance of SQL Server run this command: unlodctr MSSQLSERVER.
    3. Check the .ini files by running a command on command prompt: - dir *.ini.
    4. Execute lodctr /T:sqlctr.ini .
    5. Restart the remote registry and restart the machine.
    However, if the issue still persists, please help to collect log information for analysis. You can check the event log for WmiMgmt, PerfLib, PerfCtrs and LoadPerf warning and errors, or use Process Explorer, Process Monitor to gather detailed information.
    For more details, please review the following article.
    Troubleshooting: SQL Server (2005, 2008) Performance Counter Collection Problems
    http://blogs.msdn.com/b/psssql/archive/2009/03/03/troubleshooting-sql-server-2005-2008-performance-counter-collection-problems.aspx
    Thanks,
    Lydia Zhang
    If you have any feedback on our support, please click
    here.

  • Customer Order Records in Java using dataBase

    hi can u help me on how to make a Customer Order Records in Java using DataBase?
    may i know the code in the JCreator?
    or the Syntaxfor this program..
    Hope you will help me,,thanks a lot,,

    Well, being that you're offering the maximum dukes, and you're cute, just sit back and relax while one of us does your homework for you. It's going to be a little difficult though, we need to don our mindreading caps too to figure out the exact requirements since you didn't post it.

  • Selecting from multiple sqlserver databases with HS

    I have setup HS from oracle 8.1.7 to sqlserver 7.0 for one database and it works fine. I have about six databases on the same NT server and will like to select from the various databases, the tables I need to update Oracle. I have edited the odbc.ini file to add the other sqlserver database entries. I have also updated the inithsmsql.ora file to add multiple entries for the other databases. When I select from distinct tables in the databases it works fine. But if I have the same tables in database A,B and C and want to select column from table A in database A, I get the result for table A in database B. Is there a way to select from identical tables from different databases and get the result for the table and database that is needed.
    ie select column from data_souce_name.table_name@hsmsql. Is there a syntax or configuration for that.
    Thanks

    Vira I am actually making multiple entries of these parameters in the inithsmsql.ora file. The first data source is test then I will copy it and edit it for another data source test1 etc. Even making one init.ora file in the hs/admin directory for the databases how will the system know from which database to query if one table exist in more than one database. Also even adding multiple listeners for the different sids won't help as the program= will be same for all. ? multiple tnsnames entries?
    HS_FDS_CONNECT_INFO = test
    HS_FDS_TRACE_LEVEL = 2
    HS_FDS_TRACE_FILE_NAME = test5.trc
    HS_FDS_SHAREABLE_NAME = /dbdata/odbc/lib/libodbc.so

Maybe you are looking for

  • XSLT Java Enahancement Mappping

    Hi All I would like to know the clear steps of implementing the mapping through "XSLT Java Enhancement", FYI i was working with Graphical mapping itself, but i want to implement through XSLT Java Enahancement mapping. More Thankful, if any once can h

  • How to create fillable PDF with dynamic content dropdowns?

    I'm creating a March Madness bracket for people that don't really understand how they work.  What I'd like to do is have dropdowns for each of bracket lines (they would list the teams playing against each other for that game and they would select who

  • My AirPort will only connect to my MacBook.  It won't let anything else connect

    Just purchaed this AirPort 2 days ago.  It will only let me connect my MacBook but I cannot connect my smart tv and iPhone to it.  I've unplugged the modem.  I've reset the modem.  I've unplugged the AirPort.  I've even reset my iPhone and still noth

  • Unable to replicate activities from Groupware to CRM

    Hello All, Activities are getting replicated from CRM to Groupware. But, it is not replicating from Groupware to CRM. Can anyone please suggest .... Thanks. Regards, Pratima

  • How does a listview works?

    Hello, I want to work with a listview, and in other projects it's all right, but in this project there is no more than one, blanc line in the listview (https://drive.google.com/file/d/0B26QsjBKpIyURkE4WXFBbF8wTWM/view?usp=sharing). I have excactly co