SAP-Abap to oracle server or ms sql server
Hello;
I'm SAP to connect oracle server. And 3.party application database to prepare query and call procedure.
I'm know use to native sql. But Not connect SAP to oracle server. Please help me.
Thanks.
Hi,
Step 1: Create an entry for the External database in DBCON table using Trxn: DBCA.
Table: DBCON (Description of Database Connections)
Field Name Description Value (For: E.g.:)
CON_NAME Logical name RAJ
DBMS Database system MSS
USER_NAME Database user <username>
PASSWORD Password <pwd>/<pwd>
CON_ENV Database-specific information
connection
MSSQL_SERVER=depotserver MSSQL_DBNAME=HOF_INDORE
DB_RECO Availability type for an open database connect
Step 2: Now you can write code to connect to the external database
Your Sample code can be something like this
EXEC SQL.
CONNECT TO 'RAJ' AS 'V'
ENDEXEC.
EXEC SQL.
SET CONNECTION 'V'
ENDEXEC.
*- Get the data from MS-SQL Server
EXEC SQL.
open C1 for
select
loc_id,
loc_name,
loc_state
from ho_loc_mast
ENDEXEC.
Regards,
Raj
Similar Messages
-
Client transport between SAP on Oracle 10G and MS SQL server 2005
Hi Folks,
We have a requirement where we have to do client export/import from SAP ECC 6.O running on Oracle 10g and to SAP ECC 6.0 running on MS SQL server 2005.I want to know whether SAP supports this and patch levels of all components two systems should be the same.
Thanks in advance,
Basis AdminNot recommendet because of potential :
- patch level inconsistency
- ABAP dictionary inconsistency (programs, tables)
- possible client independent configuration conflicts
existing config cen disturb "imported" client
imported config can ddisturb existing clients
If there are any inconsistencies mentioned above you are in trouble...
regards,
wojtek -
Windows Server 2008 and SQL Server 2008 R2 - ?? for replication with Oracle
Hello:
I am running Windows Server 2008 and SQL Server 2008 R2 - 64 bit
I need to replicate data between the SQL 2008 and Oracle 11.2 ?? with Oracle being the publisher
I also would lile SqlPlus installed on the server.
I need a definite answer as to what I should download from the Oracle download area. There are just so many packages and so many version I dont know what to download.
ThanksHi,
Currently Microsoft Windows Server 2008 and SQL Server 2008 are not supported for SAP Business One.
For detailed information about all supported platforms, we have the following link for your reference:
www.service.sap.com/smb/sbo >product availability > supported platforms.
Regarding the information on the service marketplace this is updated on a regular basis and provides the most up to date information regarding the supported platforms for Business One.
Platforms not mentioned in this documentation are not supported.
hope it helps,
Regards,
Ladislav
SAP Business One Forum Team -
Server 2008 with SQL server 2003 installation problem in SAP 8.8 in clint
Hello Sir
I want to install clint for SAP B1 8.8 and we have windows server 2008 with sql server 2005
when i install the clint i got one error in DI API installation that licence server name and port number is not available.
Please tell me the complete process to install 8.8. clint with which supporting software i have to install in clint machine.
and what things i have to check in server for installation .
Please kindly reply ASAP.
Thanks
Vaibhav KothariHi,
every question / issue you should know, is descripted in the following manual, please read it and follow the installation instruction manual:
https://websmp201.sap-ag.de/~sapidb/011000358700000150922010E.zip
Regards Steffen -
Oracle 8i to MS SQL Server replication
Im new to Oracle, but a MS SQL Server DBA. Im helping in the architecture of a data warehouse that pulls from some disparate sources, including Oracle 8i, into a SQL Server 2000 box. We could use batch processing to pull updated data from the Oracle database to populate our data warehouse, but we were hoping to get real-time transactional processing via some replication scenario. My terminology may be wrong from the Oracle perspective, but I think the transactional replication that SQL Server supports is called synchronous replication in Oracle. My question is, does anybody know how to do synchronous replication from an Oracle server to a SQL Server? Or perhaps which Oracle product supports it? Thanks!
null===========================================================
I'm working on the similar requirements, exactly my source DB is DB2, and the target DB is Oracle. I have two year experience with Oracle, but I know nothing about DB2. There a about 50 tables in source DB. Transactions on source DB is not too heavy(less than 10/Second), and the mainfram are all powerful.
I've though about Oracle Gateway, but I'd rather save it as the backup solution. For one thing, neither co-workers nor I have experience with it. Second, I'm afraid the Gateway performance would not be satisfactory. Furthermore, words has it that we should pay for the Gateway. So My ideas to real-time replication of the two DB is as following:
(1) use trigger in DB2 to reponse to immediate transactions in source DB;
(2) use Embedded C/SQL to extract those transactions into flat files;
(3) FTP files to the target server;
(4) On target server, SHELL scripts read the files and call Pro*C to apply the transactions into Oracle DB.
but, some problems really get me.
A: in step(1) and (2), How to set EC to do its work in reponse to trigger? I know that one can call host script in Oracle trigger, but I have no idea about DB2 trigger. Maybe, I can create a real-time monitoring EC process to address it. what's your opinion?
B: I should maintain all transaction metadata by myself. e.g. INSERT, UPDATE old/new data, DELETE info. It is originally covered by the database, and it isn't easy to handle it squarely.
C: How to address some exception? like database rollback, the process recovery in case of any interruptions in the above steps.
Could you share me some idea, Thank you!
eilison
[email protected] -
Connect Oracle 11g (64-bit windows server) to Microsoft SQL Server 2000
Hi all,
I am trying to connect:
Oracle 11g (64-bit windows server) to Microsoft SQL Server 2000 (32-bit) on a different machine.
1) I have create an ODBC connection (called:GALAXY) which connects.
2) created a init.ora called it initgalaxy.ora in $oracle_home\hs\admin
HS_FDS_CONNECT_INFO = GALAXY
HS_FDS_TRACE_LEVEL = on
3) modified the listener.ora file as below
# listener.ora Network Configuration File: E:\Ora11g\product\11.1.0\db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = BIU01)(PORT = 1521))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = extproc0))
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC =
(GLOBAL_DBNAME = HEX.BIU01.kingsch.nhs.uk)
(ORACLE_HOME = E:\Ora11g\product\11.1.0\db_1)
(SID_NAME = HEX)
(SID_DESC=
(SID_NAME = galaxy)
(ORACLE_HOME = E:\Ora11g\product\11.1.0\db_1)
(PROGRAM = dg4odbc)
(SID_DESC =
(PROGRAM = EXTPROC)
(SID_NAME = PLSExtProc)
(ORACLE_HOME = E:\Ora11g\product\11.1.0\db_1)
4) modified the tnsnames.ora file is as follows
GALAXY =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = BIU01.kingsch.nhs.uk)(PORT = 1521))
(CONNECT_DATA =
(SID = galaxy)
(HS = OK)
HEX =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = BIU01.kingsch.nhs.uk)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = HEX)
5) restarted the listener
6) created a public database connect
create PUBLIC DATABASE LINK "GALAXY" CONNECT TO "USER" IDENTIFIED by "PWD" USING 'galaxy';
This is the error message I can sell in $oracle_home\hs\admin\trace
Oracle Corporation --- MONDAY APR 27 2009 11:54:18.370
Heterogeneous Agent Release
11.1.0.6.0
Oracle Corporation --- MONDAY APR 27 2009 11:54:18.370
Version 11.1.0.6.0
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "ON"
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using galaxy_live as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
##>Connect Parameters (len=42)<##
## DSN=GALAXY;
#! UID=galaxy_live;
#! PWD=*
hgocont, line 1890: calling SqlDriverConnect got sqlstate IM002
when I try to test the database link, I get this error:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Microsoft][ODBC Drive Manager] Data source name not found and no default driver specified
ORA-02063: preceding 2 lines from GALAXY
28500.00000- "connection from ORACLE to ad non-Oracle system returned this message:"
*Cause: The cause is explained in the forwarded message.
*Action: See the non-Oracle system's documentation of the forwarded message.
vendor code 28500
Edited by: user7336435 on 27-Apr-2009 05:5611.2 is beta at the moment. There is no official release date so far.
As DG4ODBC is independant from the Oracle database (or the target database) you can use a 3 machine model:
On the first machine you have your Oracle database, on a second machine running 32bit Windows you can install DG4ODBC and on the 3rd machine you can run your foreign database.
If the SQL Server 2k is installed on a 32bit Windows machine, then you can also install DG4ODBC on this machine.
In general the connection from an Oracle database to the DG4ODBC machine is done using SDQL*Net. The listener responsible for DG4ODBC will then load the DG4ODBC executable which will connect to the SQL Server using SQL Server ODBC driver. -
Connect Oracle Reports to Ms Sql Server DB
Is it possilbe to Connect Oracle Reports to Microsoft Sql Server database. If yes then how. Please advice.
Thanks
Sami.It is possible to connect Oracle database to MS Sql server database using the Oracle Transparent Gateway for MS SQL Server.
You can use the following links to configure such connection:
Oracle Transparent Gateways - General Description - Part I
http://oracle-apps-dba.blogspot.com/2008/04/oracle-transparent-gateways-general.html
Oracle Transparent Gateway for MS SQL Server - Part II
http://oracle-apps-dba.blogspot.com/2008/04/oracle-transparent-gateway-for-ms-sql_16.html
Aviad -
Replication between Oracle Server and MS SQL Server
Hello,
Does anybody know of a well known or reliable software that can do data replication between Oracle Server and Microsoft SQL server.
I suppose I can write my own version using Heterogenous Services in Oracle but I would like to know if such an automated replication between Oracle and SQL is available commercially.
Thank you.Viacheslav Ostapenko wrote:
Sorry, Aman,
I couldn't find any info about replication to MS SQL. Is it possible at all? Could you provide link where we can read about this? It could be very interesting.Sorry Viacheslav, even I couldn't find anything for the same. I am not sure that it can be done or not, I haven't heard anyone in my contact doing so. The only place where I have seen Streams being used around me is within Oracle db only. May be someone else can help if he/she has done it.
Aman.... -
Best way to import data to multiple tables in oracle d.b from sql server
HI All am newbie to Oracle,
What is the Best way to import data to multiple tables in Oracle Data base from sql server?
1)linked server?
2)ssis ?
If possible share me the query to done this task using Linked server?
Regards,
KoteRavindra.check:
http://www.mssqltips.com/sqlservertip/2011/export-sql-server-data-to-oracle-using-ssis/
koteravindra
Handle: koteravindra
Status Level: Newbie
Registered: Jan 9, 2013
Total Posts: 4
Total Questions: 3 (3 unresolved)
why so many unresolved questions? Remember to close your threads marking them as answered. -
Oracle 10g/11g to Sql Server 2005 Migration
Dear All,
I am a beginner to this migration Activities..
We have designed one Application which is havin Database as Oracle 10g.
and We had another small Application which is having Sql Server 2005 has Database.
Daily we need to convert DB of Oracle to Sql server DB in order to acces recent updated data..
Pls help me how to convert Database in Oracle 10g/11g to Database in sqlserver 2005..Hello,
this is an Oracle forum and we are handling here migrations from foreign databases to an Oracle database.
For migrations in the other direction, in your case from Oracle to MS SQL Server, you need to read the Microsoft pages, e.g.:
http://www.microsoft.com/sqlserver/2005/en/us/migration.aspx
Daily we need to convert DB of Oracle to Sql server DB in order to acces recent updated data..Normally a migration is not a daily process, so I guess that you just want to transfer data from Oracle to SQL Server on a daily basis. If that is the case, you should consider to use our Gateways. Please start reading here:
http://www.oracle.com/technetwork/database/gateways/index-100140.html
Using the Database Gateway for MS SQL Server (DG4MSQL) or the Database Gateway for ODBC (DG4ODBC) you can copy your data from your Oracle database to your SQL Server database, using a database link in the Oracle database.
Please let me know whether this answer helped you.
Regards
Wolfgang -
Hi,
I am tring Gateway for SQL Server ..
I want to Select Oracle Database Gateway for SQL Server 11.1.0.6.0 at the time of installation, but It is not coming in the Avaliable Components List..
Is there any prerequisite for SQL server ?
Any Help please ?Are you following the "Step Through the Oracle Universal Installer" section under
http://download.oracle.com/docs/cd/B28359_01/gateways.111/b31043/sqlserver.htm#CCHEDECC
? -
Oracle Linked Server problem in SQL Server
I'm using the MS OLE DB Provider for Oracle in my SQL Server linking an Oracle 9i server to the SQL Server 2000 server. I get the following error when I try to execute a query thru the SQL Server Query Analyzer:
[OLE/DB Provider 'MSDAORA' IOpenRowset::OpenRowset returned 0x80004005: ]
I can however define an ODBC connection and use DTS to get to the Oracle database just fine from the SQL Server machine. I need the linked server query to work though since I'll need it for a new application.
Any help is very much appreciated.
Thanks.
AnjaI guess I'll answer my own question. I found that the setting SQL Query Analyzer was set to "Implicit Transactions" in the current connection properties. When I turned that off the query ran fine
-
Differnce Between Oracle 9i And MS SQL Server 2000
Hi,
What are the difference between Oracle 9i And MS SQL Server 2000.
ThnaksSome links
http://www.google.lv/search?hl=lv&q=oracle+sql+server+difference&meta=
http://asktom.oracle.com/pls/asktom/f?p=100:1:487512552646613::NO:RP::
http://www.mssqlcity.com/Articles/Compare/sql_server_vs_oracle.htm
http://www.wisdomforce.com/dweb/resources/docs/MSSQL2005_ORACLE10g_compare.pdf
But you have to remember one big thing - I've not seen yet one compare that was completely indifferent to any of the included DB's. So you can be sure that every doc that you get on MS website will say that SQL server is better, every doc on Oracle website will say that Oracle is better. Every doc on other websites will say that better DB either is:
1) DB that has payed for the reserach paper
2) DB that was mostly used by the researchers
So of course you should be very cautious about each paper you get.
Gints Plivna
http://www.gplivna.eu -
Equivalent datatype in Oracle for datetime of SQL Server
Hello Everyone,
I'm very much new to Oracle. I have been working with SQL Server since 3yrs. Currently I'm working with Oracle 11g.
What is the equivalent datatype in oracle for datetime in sql server with which has the format YYYY-MM-DD HH:MM:SS?
I tried with timestamp and date which didnt solve my prob.... Please help me in using the equivalent datatype for the format provided above...
Regards,
Bhanu Yalamanchi.Oracle date format can be anything you want, either by default at the session level or preferably explicitly using to_char and a format mask.
Format masks are documented here.
http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/sql_elements004.htm#CDEHIFJA
SQL> create table t (d date);
Table created.
SQL> insert into t values (sysdate);
1 row created.
SQL> select * from t;
D
19-JUL-11
SQL> alter session set nls_date_format = 'YYYY-MM-DD HH:MI:SS';
Session altered.
SQL> select * from t;
D
2011-07-19 08:27:59
SQL> select d, to_char(d, 'YYYY-MM-DD'), to_char(d,'Day') from t;
D TO_CHAR(D, TO_CHAR(D
2011-07-19 08:27:59 2011-07-19 Tuesday
SQL> alter session set nls_date_format = 'DD-MON-YY';
Session altered.
SQL> select d, to_char(d, 'YYYY-MM-DD HH24:MI:SS') from t;
D TO_CHAR(D,'YYYY-MM-
19-JUL-11 2011-07-19 08:27:59 -
How could I create a "Linked Server" link from SQL Server 2008R2 64-Bit to Oracle Database 11.2 64-Bit?
Let's say the SQL Server and Oracle Database are in the same Company Internet Network.
I have the code, but I do not know how to use it. Such as what is System DSN Name? Where could I get it. What does it look like?
Do I need to install any Oracle Client Software in order to link from SQL Server to Oracle? Or SQL Server has the built-in drivers installed already that I can directly create a Linked Server from SQL Server to Oracle?
I need to know details. Thanks.
USE master
go
EXEC sp_addlinkedserver
@server = '{Linked Server Name}'
,@srvproduct = '{System DSN Name}'
,@provider = 'MSDASQL'
,@datasrc = '{System DSN Name}'
EXEC sp_addlinkedsrvlogin
@rmtsrvname = '{Linked Server Name}'
,@useself = 'False'
,@locallogin = NULL
,@rmtuser = '{Oracle User Name}'
,@rmtpassword = '{Oracle User Password}'You need an OLE DB provider for Oracle. There is one that ships with Windows, but it only supports very old versions of Oracle. Oracle has an OLE DB provider that you can use. I don't know if it's part of Oracle Client or how it is bundled.
You should not use MSDASQL or any DSN.
Erland Sommarskog, SQL Server MVP, [email protected] -
Oracle Connectivity with MS SQL Server. ORA-00972: identifier is too long
I have linked Oracle Database with MS SQL Server using HS and DB Link.
DB Link Script:
CREATE DATABASE LINK "FCHH"
CONNECT TO SA
IDENTIFIED BY <PWD>
USING 'LISTENER_FCHH';
Links tested successfully.
Now "SA" user in Microsoft SQL Server has multiple databases i.e. Master,SecurePerfect,SecurePerfectHistory. when I try following command
select * from "SecurePerfectHistory.DBO.BadgeHistoryTable"@FCHH
ORA-00972: identifier is too longORA-00972: identifier is too long
Cause: An identifier with more than 30 characters was specified.
Action: Specify at most 30 charactersAman....
Maybe you are looking for
-
I have synced my ipod to itunes. When i play it thru my auto audio system the playlist are greyed out and don't play. Any helpp is appreciated, Frank
-
My photo stream has gone. How can i get it back?
my photo stream has gone and i cannot find a way to get it back, as a result i cannot view my icloud photos
-
I feel so bad> I play games Blood&Glory Legend. I paid for buy option from this game. IT said download fail. I didn't get any service but I got mail for my credit card for the payment from download option of this game.
-
How to Caculate Substraction of only for result rows in BEx
Hi, I have a issue in BEx Report. The scenario is like this. Invoice Amount Invoice Paid Amount Pending Payment Amount 17.90 INR 3,472.00 INR -3,454.10 INR 524.50 INR 3,4
-
Is iMovie the best tool for dividing up an audio track?
I have an LP put onto an audio CD which ended up as one long track. I would like to divide it up into the individual tracks for each piece. This shouldn't be difficult, but I'm using the new iMovie 10. I had iMovie 6 and that's easy to use; this new