Fetching from SQL 2012

Hi folks,
We are using  Oracle application 12.1.1 , Database version 10.2.0.4 on Solaris 10 plaform, and we have Micorsoft SQl server 2012 Database on windows
2008 server  service pack 2.
i have created the same tables which i need  to fetching data from SQL server database to EBS application i mean oracle Database
So my question is here how can i fetch the data from  Oracle application  and load into Oracle Database from SQL 2012.
can one suggest me or give any link which tell about details steps.
thanks & Regards.

Hi,
   There are 2 different ways you could do this.
1. You could use an Oracle Gateway product - either Database Gateway for SQL*Server (Dg4MSQL) or Database Gateway for ODBC (Dg4ODBC) - and use SQL to select from the SQL*Server tables and put into Oracle tables.
If you have access to My Oracle Support then the following note has links to further details -
Master Note for Oracle Gateway Products (Doc ID 1083703.1)
or this link if you do not -
Oracle Database Gateways
2. Oracle GoldenGate
This can automatically replicate data from SQL*Server to Oracle or vice versa if necessary.
See here for further details -
Oracle GoldenGate
Regards,
Mike

Similar Messages

  • Cannot drop login from SQL 2012

    I am trying to drop a login with no mapped dbs, no owned schemas, no rights, no endpoints, nothing what-so-ever and I have been at this for 4 hours.  This is the error, is there any global way to determine what in the world SQL 2012 sees this login
    as owning?????
    Msg 15141, Level 16, State 1, Line 1
    The server principal owns one or more server role(s) and cannot be dropped.

    ****************To check User Own Schema
    select * from sys.schemas where principal_id = user_id('user_name')
    select * from sys.database_principals where owning_principal_id in (
    select principal_id from sys.database_principals where name='DomainName\UserName')
    ALTER AUTHORIZATION ON SCHEMA::SchemaName TO dbo
    *************** To Transfer any object owned by user/principal
    SELECT 'ALTER SCHEMA [dbo] TRANSFER [' + SCHEMA_NAME([schema_id]) + '].[' + [name] + '];'
    FROM sys.objects
    WHERE [schema_id] IN (SELECT [schema_id] FROM sys.schemas WHERE principal_id = USER_ID('DomainName\UserName'))
    ************** To Check Role Owner
    select dp2.name as role, dp1.name as owner
    from sys.database_principals as dp1 inner join sys.database_principals as dp2
    on dp1.principal_id = dp2.owning_principal_id
    where dp1.name = 'Username'
    ************** To Change Role Owner
    ALTER AUTHORIZATION ON ROLE::[RoleName] TO [dbo];

  • Silent install parameters for Mgmt Studio (from SQL 2012 SP1 Express)

    Hi All,
    I'm looking to incorporate the installation of SQL Management studio ONLY from the SQL 2012 Sp1 Express bundle, into System Centre Configuration Manager. I need the silent installation options to install all features for it.
    File used - SQLManagementStudio_x64_ENU.exe
    From URL - http://www.microsoft.com/en-ca/download/details.aspx?id=35579
    I'm looking for something like this:
    "SQLManagementStudio_x64_ENU.exe /ACTION=INSTALL /QUIET /IAcceptSQLServerLicenseTerms="True"
    /FEATURES= etc.....
    Can anyone point me in the right direction? I just want to run the command and have it install SQL 2012
    Management Studio (this one is the full version) without having to run through the whole setup.exe process and it's silent installation..
    Thanks in advance

    Hello,
    First you need to extract the content of the .EXE file to a local folder, as shown below:
    SQLManagementStudio_x64_ENU.exe /x
    Then you can try to run the following command:
    "c:\folder_containing_installation_files\setup.exe" /ACTION=INSTALL /QUIET /FEATURES=SSMS /HIDECONSOLE
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Key is not visible in SQL 2012 R2 when query is read from SAP BI

    Hi All,
    I have a query in sap bi which has variables where key and text is displayed as per screen shot 1. How ever the same query is triggered from SQL 2012 r2 the key is not visible but text is visible as per screenshot 2  . Could any one suggest how the key will be displayed by there end(SQL).
    Thanks,
    Payani

    I think you're in the wrong space as yor screenshots are not from any Business Objects or SAP BI 4.x products I know.
    What exact product are you using ?
    this space is for SAP Business Objects products family.

  • SQL 2000 LINKED SERVER ERROR 7303 WITH SQL 2012 ON WINDOWS SERVER 2012 R2

    Hi all,
    I have a problem with SQL Server 2012 and a linked server for SQL 2000 database.
    System specification:
    Windows server 2012 64 bit
    SQL SERVER 2012 64 bit
    REMOTE SERVER SQL 2000 32 bit
    I've installed sql native client 32bit,create a SYSTEM DSN odbc connection with "SQL Server" driver named "MYSERVER".
    Create a linked server with the query below in SQL 2012:
    EXEC master.dbo.sp_addlinkedserver @server =N'MYSERVER', @srvproduct=N'MYSERVER', @provider=N'MSDASQL', @datasrc =N'MYSERVER', @location=N'System';
    EXEC master.dbo.sp_addlinkedsrvlogin @rmtsrvname=N'MySERVER',@useself=N'True',@locallogin=NULL,@rmtuser=NULL,@rmtpassword=NULL
    GO
    but when i browse the linked server i receved error 7303.

    You need 64-bit MSDASQL. It is the bitness of the server you are connecting from that matters. 64-bit executables cannot hook into 32-bit DLL.
    However, I suspect that you will not get things to work anyway. At least I have not seen anyone this far who has been able to set up a linked server from SQL 2012 to SQL 2000. I know that when I tried this, the following providers had this result:
    SQLNCLI11 - does not support connections to SQL 2000.
    SQLNCLI10 - failed with some obscure message that I don't recall.
    SQLNCLI - Don't recall that the problem was here.
    SQLOLEDB - SQLOLEDB is always replaced with the most recent version of SQLNCLI, so this fails because of lack of support.
    I don't think I got through all version of the ODBC drivers, though.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Error 997. Overlapped I/O operation is in progress. When applying SQL 2012 SP2 to a FCI passive Node

    Hello
    I am upgrading my 2 node FCI cluster from SQL 2012 SP1 to SP2. I was able to update one node, then I did failover to the upgraded node but now I cannot update the other node (passive)
    I am getting "Error 997. Overlapped I/O operation is in progress"
    Any ideas ?
    Here is a piece of the log file
    MSI (s) (64:AC) [16:26:02:861]: SECREPAIR: A general error running CryptAcquireContext
    MSI (s) (64:AC) [16:26:02:861]: SECREPAIR: Crypt Provider not initialized. Error:0
    MSI (s) (64:AC) [16:26:02:861]: SECREPAIR: A general error running CryptAcquireContext
    MSI (s) (64:AC) [16:26:02:861]: SECREPAIR: Crypt Provider not initialized. Error:997
    MSI (s) (64:AC) [16:26:02:861]: SECUREREPAIR: Failed to CreateContentHash of the file: Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\1033_ENU_LP\x64\1033\license_SQLBI_OEM.rtf: for computing its hash. Error: 997
    MSI (s) (64:AC) [16:26:02:861]: SECREPAIR: Failed to create hash for the install source files
    MSI (s) (64:AC) [16:26:02:861]: SECUREREPAIR: SecureRepair Failed. Error code: 3e5E78034B8
    Action start 16:26:02: ProcessComponents.
    MSI (s) (64:AC) [16:26:02:876]: 
    Error 997. Overlapped I/O operation is in progress.
    MSI (s) (64:AC) [16:26:02:923]: Machine policy value 'DisableRollback' is 0
    MSI (s) (64:AC) [16:26:02:923]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
    Action ended 16:26:02: ProcessComponents. Return value 3.
    MSI (s) (64:AC) [16:26:02:923]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
    MSI (s) (64:AC) [16:26:02:923]: No System Restore sequence number for this installation.
    MSI (s) (64:AC) [16:26:02:923]: Unlocking Server
    Action ended 16:26:02: INSTALL. Return value 3.
    Property(S): DiskPrompt = [1]
    Property(S): InstallMode = Typical
    Property(S): UpgradeCode = {6B5C1D2B-86A6-4714-9BC6-5E32D608E551}
    Property(S): WelcomeBmp = WelcomeBmp
    Property(S): OPENREADME = 1
    Property(S): CurrentSetupBootstrap_64 = c:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\
    Property(S): GAC_64 = c:\Windows\Gac\
    Property(S): GAC_32 = c:\Windows\Gac_32\
    Property(S): Ver_64 = c:\Program Files\Microsoft SQL Server\110\
    Property(S): SetupBootstrap_64 = c:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\
    Property(S): CurrentSetupHelpNative_64_1033 = c:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\1033_ENU_LP\x64\1033\help\
    Property(S): CurrentSetupBootstrapNative_64_1033 = c:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\1033_ENU_LP\x64\1033\
    Property(S): CurrentSetupBootstrapRes_64_1033 = c:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\Resources\1033\
    Property(S): Shared_64 = c:\Program Files\Microsoft SQL Server\110\Shared\
    Javier Villegas |
    @javier_vill | http://sql-javier-villegas.blogspot.com/
    Please click "Propose As Answer" if a post solves your problem or "Vote As Helpful" if a post has been useful to you

    Judging by the error message I would say the setup is trying to access a network share that is no longer available to the node due to the failover. How many instances are installed in each node?
    Open resource monitor and, in the disk section, check which files are being accessed by I/O threads. See if there are any files in use that the SP2 installer would supposedly try to access.
    If possible, save the resource monitor results, failback the instance, and check disk usage in the other node to try to detect any abnormal disk access.

  • SQL 2012 AlwaysOn upgrade to SQL 2014

    Anyone have some info regarding inplace upgrade from SQL 2012 AlwaysOn to SQL 2014 ?
    -Arnstein

    Hi,
    Please check the following articles:
    Upgrade and Update of Availability Group Servers with Minimal Downtime and Data Loss
    https://msdn.microsoft.com/en-us/library/dn178483.aspx
    Thanks.

  • How to upgrade SQL 2012 Clustering Enterprise Evaluation to SQL 2012 Clustering Standard Editon

    Dear All,
        My environment configured 2 Servers for SQL 2012 Clustering Enterprise Evaluation with Active/Passive. Then I Would like to upgrade from SQL 2012 Clustering Enterprise Evaluation to SQL 2012 Clustering Standard Edition with Active/Passive
    on same 2 Servers.
        I would like you help to share me the step how to upgrade from SQL 2012 Clustering Enterprise Evaluation to SQL 2012 Clustering Standard Edition.
        I should upgrade on both Servers or just upgrade only one of them?
        I should upgrade on Active node first or passive node first?
        During upgrade, I should bring offline resource before upgrade?
    I saw only step upgrade evaluation edition on standalone Server but can't find information for upgrade on Cluster environment.
    Could you please help provide me the step for do this. 

    Hello,
    As per this MS article
    http://technet.microsoft.com/en-us/library/ms143393.aspx
    Upgrading from Evaluation Enterprise (a free edition) to any of the paid editions is supported for stand-alone installations, but is not supported for clustered installations.
    Changing the edition of a SQL Server 2012 failover cluster is limited. The following scenarios are not supported for SQL Server 2012 failover clusters:
    SQL Server 2012 Enterprise to SQL Server 2012 Developer, Standard, or Enterprise Evaluation.
    SQL Server 2012 Developer to SQL Server 2012 Standard or Enterprise Evaluation.
    SQL Server 2012 Standard to SQL Server 2012 Enterprise Evaluation.
    SQL Server 2012 Enterprise Evaluation to SQL Server 2012 Standard.
    So i think upgrade to Standard edition is not possible on cluster.
    What you can do is take full and transaction log backup of All databases.Backup your users and logins and jobs by script method.
    Now destroy SQL server 2012 evaluation cluster and create new SQL server standard cluster.
    Just FYI( not related to this): You just need to run edition upgrade on a single node, you can choose to run from either an active or passive node. After running, you need to cause a failover to happen. Once the failover happens, all of the nodes along with
    the database engine will be updated.
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Linked Server : SQL 2012 to 2000 error - Microsoft Distributed Transaction Coordinator (MS DTC) has stopped this transaction.

    Hi all,
      If any one has worked around this error and can help ?
    Msg 8522, Level 16, State 3, Line 1
    Microsoft Distributed Transaction Coordinator (MS DTC) has stopped this transaction.
      I am trying to connect from sql 2012 to 2000 server. Established linked server using native client 10. I am able to see catalogs and database and table. Just when I am trying to query i am getting above error. 
    any help is really appreciated. 
    Thanks
    Please Mark As Answer if it is helpful. \\Aim To Inspire Rather to Teach

    Hi Logicinisde,
    What the new error message do you get after using the workarounds in this
    blog? Please post it for analysis.
    Besides, as SQL Server 2012 has stopped connecting to SQL Server 2000 via linked servers, personally I recommend you upgrade SQL Server 2000 to a higher version to make your queries or ETLs efficient.
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • Error: There was a failure to call cluster code from a provider. Exception message: Generic failure . Status code: 5015. SQL 2012 SP1

    Hi,
    Please help. I was trying to remove a SQL 2012 SP1 two node clustered instance using setup (Mantenance -> Remove Node)
    I started by doing this on passive node (and was successful) but when I ran setup on active node just before finishing successfully I got this error:
    TITLE: Microsoft SQL Server 2012 Service Pack 1 Setup
    The following error has occurred:
    The resource 'BCK_SG1DB' could not be moved from cluster group 'SQL Server (SG1DB)' to cluster group 'Available Storage'. 
    Error: There was a failure to call cluster code from a provider. Exception message: Generic failure . Status code: 5015.
    Description: The operation failed because either the specified cluster node is not the owner of the resource, or the node
    is not a possible owner of the resource.
    For help, click:
    http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3000.0&EvtType=0xE8049925%25400x42B4DED7
    BUTTONS:
    OK
    I noticed that SG1DB instance was removed on both nodes but on Failover Cluster Manager -> Services and Applications the SQL server instance for SG1DB is still there. So I tried to delete it but got the error:
    Failed to delete SQL Server SG1DB. An error was encountered while deleting the cluster service or
    application SQL Server SG1DB. Could not move the resource to available storage. An error occured
    while moving the resource BCK_SG1DB to the clustered service or application Available Storage
    Any ideas why it failed or how could I delete the SQL server instance from Clauster?
    Thx

    Hello,
    Please read the following resource.
    https://support.microsoft.com/en-us/kb/kbview/313882?wa=wsignin1.0
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Steps to upgrade from sql 2008 r2 se (nonclustered) to sql 2012 se (clustered)

    hello,
    I am currently running a non clustered instance of a sqlserver 2008 R2 SE and need to upgrade to a clustered instance of SQLServer 2012 SE. The underlying OS is Windows 2008 R2 SE. I already bought the second server with the same os online but havent installed
    sql 2012 yet. 
    I am thinking of backing up my databases and script out all the logins and linked servers first.
    Then upgrade the SQLServer 2008 R2 SE to 2012 SE. But can I upgrade it to a clustered instance directly? If yes then I can definitely add the other server to the cluster while installing sql.
    Can someone point me to the right steps for this upgrade process
    Thanks

    Hello,
    Direct  upgrade to cluster is not possible without installing SQL server in cluster aware mode. I would recommend you need to uninstall SQL server 2008 R2 and then create windows cluster between two nodes and then install SQL server in cluster aware
    mode.
    You are right with taking up complete backup of all databases with logins and jobs.
    Please refer below link there is an alternate solution
    How to move SQL server from standalone to cluster
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers
    My TechNet Wiki Articles

  • SQL Server reporting services error "URl has already been reserved" while doing upgrade from SQL server 2008 R2 to SQL server 2012

    "URl has already been reserved".
    Reporting services for port 80 and 443 works fine both for reports and reportingserver on SQL server 2008 R2. But when I try to upgrade from SQL server 2008 R2 to 2012 this error pops up. How to make sure before upgrading regarding reporting services that
    URL reserves and SSL are fine  or how to fix reporting services are upgrade like repair install.
    Thanks

    Hi yashmitl,
    In your case, please running the following command to check the current URL reservations on http.sys.
    netsh http show urlacl
    Then, please delete the URL reservation by executing the following command try to resolve the issue.
    netsh http delete urlacl <url>
    There is a similar issue, you can refer to it.
    http://social.technet.microsoft.com/Forums/en-US/d5204dd3-e26d-4592-8ef0-a94005fc46a5/the-url-has-already-been-reserved?forum=sqlreportingservices
    Hope this helps.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Fetch the data from sql server table to array

    In the following script i am fetching the servers details from text file. Please anyone help me to get the same information from sql server database table. with using this query
    "SELECT DISTINCT [server_name]
    FROM
    Servers] where
    Status='1'"
    $ServerName =Get-Content "c:\servers\servers.txt"
     foreach ($Server in $ServerName) {
         if (test-Connection -ComputerName $Server -Count 4 -Delay 2 -Quiet ) {
           write-output "$Server is alive and Pinging `n"
           } else {
    Write-output "TXUE $Server seems dead not pinging"

    i have tested it is not working..
    =@"
    SELECT DISTINCT [server_name] FROM Servers] where Status='1'
    $connection
    =new-objectsystem.data.sqlclient.sqlconnection(
    "Data Source=xxx;Initial Catalog=xxx;Integrated Security=SSPI;”)
    $adapter
    =new-objectsystem.data.sqlclient.sqldataadapter($query,
    $connection)
    $table
    =new-objectsystem.data.datatable
    $adapter
    .Fill($table)
    | out-null
    $compArray
    =@($table)
    ##### Script Starts Here ######
    foreach($Serverin$ServerName)
    if(test-Connection-ComputerName$Server-Count4
    -Delay2
    -Quiet)
    write-output"$Server
    is alive and Pinging `n"
    else{
    $query

  • Slow Speed While fetching data from SQL 2008 using DoQuery.

    Hello,
    I am working for an AddOn and tried to use DoQuery for fetching data from SQL 2008 in C#.
    There are around 148 records which full fill this query condition but it takes much time to fetch the data.
    I wanna know that is there any problem in this code by which my application is getting slower.
    I used break Points and checked it, I founds that while connecting to the server it is taking time.
    Code:
    // Get an initialized SBObob object
    oSBObob = (SAPbobsCOM.SBObob)oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoBridge);
    //// Get an initialized Recordset object
    oRecordset = (SAPbobsCOM.Recordset)oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset);
    string sqlstring = "select DocEntry,ItemCode From OWOR  where OWOR.Status='R' and DocEntry not in ( Select distinct(BaseRef) from IGE1 where IGE1.BaseRef = OWOR.DocEntry)";
    oRecordset.DoQuery(sqlstring);
    var ProductList = new BindingList<KeyValuePair<string, string>>();
    ProductList.Add(new KeyValuePair<string, string>("", "---Please Select---"));
    while (!(oRecordset.EoF))
    ProductList.Add(new KeyValuePair<string, string>(oRecordset.Fields.Item(0).Value.ToString(), oRecordset.Fields.Item(0).Value.ToString() + " ( " + oRecordset.Fields.Item(1).Value.ToString() + " ) "));
    oRecordset.MoveNext();
    cmbProductionOrder.ValueMember = "Key";
    cmbProductionOrder.DisplayMember = "Value";
    Thanks and Regards,
    Ravi Sharma

    Hi Ravi,
    your code and query look correct. But can you ellaborate a little bit.
    It seems to be a DI API program ( no UI API ) ?
    When you say "I founds that while connecting to the server it is taking time." do you mean the recordset query or the DI API connection to SBO ? The later would be "normal" since the connection can take up to 30 seconds.
    To get data it is usually better to use direct SQL connections.
    regards,
    Maik

  • SQL 2012 SSIS package runs from the command line (dtexec.exe) and completes right away ...

    Hi
    I’m upgrading our SSIS packages from SQL 2005 to SQL 2012 .
    Everything is working fine in Visual Studio, but when I’m submitting dtexec.exe it’s finishing right away in the command line (the actual execution takes long time). 
    It looks to me that as the return code doesn’t pass properly.
    As I have depending tasks how I can make sure all jobs will be executed in the proper order.
    (We never had this issue in SQL 2005)
    C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn>dtexec.exe /ISSERVER "\"\SSISDB\Direct_Prod\Direct_SSIS_Package
    \DD_Load_Customer.dtsx\"" /SERVER TORSQLSIS01 /ENVREFERENCE 2
    Microsoft (R) SQL Server Execute Package Utility
    Version 11.0.2100.60 for 32-bit
    Copyright (C) Microsoft Corporation. All rights reserved.
    Started:  10:21:55 AM
    Execution ID: 21138.
    To view the details for the execution, right-click on the Integration Services Catalog, and open the [All Executions] report
    Started:  10:21:55 AM
    Finished: 10:21:56 AM
    Elapsed:  0.766 seconds

    As per MSDN /ENVREFERENCE argument is used only by SQL Server Agent
    see
    https://msdn.microsoft.com/en-us/library/hh231187.aspx
    below part is what it says
    /Env[Reference] environment reference ID
    (Optional). Specifies the environment reference (ID) that is used by the package execution, for a package that is deployed to the Integration Services server. The parameters configured to bind
    to variables will use the values of the variables that are contained in the environment.
    You use /Env[Reference] option together with the /ISServer and the /Server options.
    This parameter is used by SQL Server Agent.
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

Maybe you are looking for

  • How can i update data in JTable at run time ?

    i am trying to build a client/server architecture for conducting quizzes & online tests.. My client will return a object to the server after the test is over, which contains details about the participant, his score and other details. i am putting the

  • Possible to encrypt only ONE email folder?

    I would really love some help with this; I've been banging my head against the wall trying to achieve something that is seemingly so simple and basic. We want to use an Email app that will allow us to encrypt only ONE email folder. Access to the rest

  • How to call bsp application in workflow and process it...

    The requirement is ... HR as (admin) -- in standard workflow selects apprasiee for 360 degree apprasial process(bsp application developed by me).. aprasiee selects 10 employees and sends to HR HR checks the employees list and their relationships     

  • Junk Mail Advanced button.....

    It seems that if I want to use the Advanced custom actions for the Junk filter I'm forced to move the mail into another mailbox? Because if I choose to color the mail and stop evaluating the rules it always deselects the custom actions option and res

  • Notify Group of recipients before SLA breach in sequence based on time

    Hello, 1-Can I notify group of recipients before SLA breach but I want members get notified in sequence with a difference of time .. if the first didn't took action in certain period the second will receive the same notification email and so on. 2-An