OWB 11.0.0.7 and SQL SERver 2005

We did search quite a bit but couldnt get this working...
We are using OWB 11.1.0.7 64bit on Windows 2003 Server 64bit R2
We have to pull data from a SQl Server database – SQL SERVER 2005 64 bit on Windows 2008 R2 64 bit
WE followed the procedures given in Oracle documentation –
1. creating a ODBC DSN connection
2. creating a init ora file for that connection
3. creating a listener
We tried with both HSODBC and DG4ODBC... We can connect to SQL server through OWB...the connection is successful but I cannot import the tables into OWB. It simply hangs forever. (in the init ora file we have put the HS_FDS_SUPPORT_STATISTICS=FALSE) We have to pull data from SQL server on an ongoing basis. However we found a workaround – we can create a remote link to the SQL server database by creating an entry in the tnsnames. However this connection is very slow – we have to pull thousands of records on daily basis. IT takes quite some time to do this. We have tried different combinations after Goodling.
Could you shed some light on this? Is it a bug in OWB 11.1 that we cannot connect to SQL Serer or are we missing something? Will it be ok if we go for 11.2?

Be wary about the differences between initialization settings for generic ODBC vs specific SQLServer gateway, they are different.
http://download.oracle.com/docs/cd/B28359_01/gateways.111/b31049/apd.htm#BABHEBCE
The installation guide has details in the SQLServer section for when the SQLServer gateway is used that you should follow (specifically under configuring SQL Server Views for Data Dictionary support - needed for importing tables definitions into OWB when you use SQLServer gateway);
http://download.oracle.com/docs/cd/B28359_01/gateways.111/b31042/toc.htm
If you have an existing database link this can be used in OWB. When importing the tables you need to be aware that if it is a SQLServer gateway you will need to configure the SQLServer instance as in the gateway doc above). Just because you can query table data does not mean the gateway is configured properly.
Cheers
David

Similar Messages

  • JPA and SQL Server 2005's  Identity Don't Play Nice

    I am hoping someone with a little more senior knowledge of JPASQL Server 2005 can point me in the right direction involving SQL Server 2005.
    What I am discovering is JPA and SQL Server 2005 do not playing nice together when you use the IDENTITY capability for
    a primary key. Let me explain. "...when using the IDENTITY as the generator type, the value for the identity field MAY NOT be
    available BEFORE the entity data is saved in the database because typically it is generated when a record is committed."
    My problem is this.
    I have two separate entities using another entity, for example a car has a wheel and a truck has a wheel. I can go through the steps
    of persisting the car and the wheel with no problem. My problem begins when I try to
    find the wheel (by wheel description) for the truck. The query finds the wheel, but does not return the primary key for wheel.
    Therefore, using the PK inside a query generates this error:
    java.lang.IllegalArgumentException: An instance of a null PK has been incorrectly provided for this find operation. What has been my appraoch to get the entity to commit to the database is to use the following sequence for the Entity Manager.
    entityManager.persist(wheel);
    entityManager.flush(); I have assumed to this point this action would persist my data because I have been able to retrieve the PK immidately after these steps.
    However, multiple actions taking place within the same transaction, appears to render the persist and flush steps useless. My initial thought
    is to wrap the wheel creation within a new transaction so when the method/transaction completes, the data would be in the database. This
    has not worked.
    I hope I have explained this clear for others to follow. I apologize in advance if I have not. Any suggestions are greatly appreciated.

    I am hoping someone with a little more senior knowledge of JPASQL Server 2005 can point me in the right direction involving SQL Server 2005.
    What I am discovering is JPA and SQL Server 2005 do not playing nice together when you use the IDENTITY capability for
    a primary key. Let me explain. "...when using the IDENTITY as the generator type, the value for the identity field MAY NOT be
    available BEFORE the entity data is saved in the database because typically it is generated when a record is committed."
    My problem is this.
    I have two separate entities using another entity, for example a car has a wheel and a truck has a wheel. I can go through the steps
    of persisting the car and the wheel with no problem. My problem begins when I try to
    find the wheel (by wheel description) for the truck. The query finds the wheel, but does not return the primary key for wheel.
    Therefore, using the PK inside a query generates this error:
    java.lang.IllegalArgumentException: An instance of a null PK has been incorrectly provided for this find operation. What has been my appraoch to get the entity to commit to the database is to use the following sequence for the Entity Manager.
    entityManager.persist(wheel);
    entityManager.flush(); I have assumed to this point this action would persist my data because I have been able to retrieve the PK immidately after these steps.
    However, multiple actions taking place within the same transaction, appears to render the persist and flush steps useless. My initial thought
    is to wrap the wheel creation within a new transaction so when the method/transaction completes, the data would be in the database. This
    has not worked.
    I hope I have explained this clear for others to follow. I apologize in advance if I have not. Any suggestions are greatly appreciated.

  • Crystal Reports 9 and SQL Server 2005 default parameter values

    We're using Crystal Reports 9 and upgraded from SQL Server 2000 to SQL Server 2005.
    I'm noticing a very weird problem which I wonder if anyone else has experienced (and hopefully found a resolution for). It appears that in using Crystal with SQL Server 2005 stored procedures, if we have default parameter values in the stored procedures, the default parameter values get completely ignored if you pass in a NULL value from Crystal!
    For example, if you have a stored procedure that begins like this:
    ALTER          Procedure [dbo].[StoredProcedure]
    @Param1 VarChar(200) = '',
    @Param2 VarChar(200) = ''
    AS ...
    both @Param1 and @Param2 have a default value of an empty string, and therefore should become empty strings if nothing (NULL values) gets passed in for them.
    But, like I said, what I'm finding is that with Crystal calling the stored procedure with NULL @Param1 and @Param2 values, they never become empty strings, but rather remain as NULLs.
    This was never a problem with SQL 2000.
    Very perplexing. Anyone else every experience this?
    Thank you.

    Please ignore my earlier post -- answered my own question.
    NULL parameter values do not get replaced by default values in SQL -- that is normal behavior in both SQL 2000 and SQL 2005. Just goes to show, that no many how many years programming experience you have, you can still get tripped up sometimes : (

  • OraOledb for 64-bit, Linked Servers and SQL Server 2005 issues

    Our environment is : SQL Server 2005, Windows Server 2003, 64-bit and 32-bit operating systems.
    Problem on 64-bit operating system box: (32-bit works fine).
    I am trying to access Oracle 10g database using linked server from our SQL Server 2005. In case of number fileds i got the following error:
    Invalid data for type "numeric".
    After going through one of the posting in this forumn i was able to resolve the problem by converting those column values to char while querying and then converting them back to numeric type on SQL server side.
    But today i ran into another problem. There is a VARCHAR2 column. I was able to retrieve the data yesterday for that column but today i am getting a blank recordset. If i exclude the colum from the query then i am getting all the rows.
    I am querying against a view and it has got a number of columns whose data type is VARCHAR2.
    Again the problem is on 64-bit operating system only. We have a 32-bit operating system on which i am able to retrieve the data including this column. I looked at the data and everything looks OK. No funny characters etc.
    I tried workarounds like using cast, to_char, checking for nulls etc., Nothing works.
    Any help is greately appreciated. Thanks.

    Did you find a resolution for this? We have similar problem. Set up a linked server in SQL 2006 to Oracle (running on Windows 64-bit) Linked server works and views I had set up were working but they added some new data in the Oracle test database I am using and now I get errors on one of the views.
    Error I am getting on the view is "Cannot initialize the data source object of OLE DB Provider "OraOLDEDB.ORacle" for the linked server"
    If I fine tune my queries to find the specific table or view that is at issue, then I get the error "inconsistent metadata for a column"

  • BO XI R2 and SQL server 2005 Analysis services

    Post Author: fasttrack
    CA Forum: Olap
    Hello,
    I am new in BO, I am using XI R2 and I would like to know this:
    I have to build some reports on Data Warehouse using SQL server 2005 Analysis Services.
    My question is:
    1) How I have to build this reports: directly to data warehouse or building an OLAP (CUBE) in analysis services 2005?
    2) BO XI R2 supports SQL server 2005 and especially in this case Analysis services 2005 and provider (I have seen only provider for SQL Server 2000)?
    Do you some good resources where to learn how to make reports on DW SQL server 2005?
    Thank

    Post Author: ShaunOberem
    CA Forum: Olap
    Hello,
    I am new in BO, I am using XI R2 and I would like to know this:
    I have to build some reports on Data Warehouse using SQL server 2005 Analysis Services.
    My question is:
    1) How I have to build this reports: directly to data warehouse or building an OLAP (CUBE) in analysis services 2005?
    2) BO XI R2 supports SQL server 2005 and especially in this case Analysis services 2005 and provider (I have seen only provider for SQL Server 2000)?
    Do you some good resources where to learn how to make reports on DW SQL server 2005?
    Thank
    Hi,
    If you are trying to create a new OLAP Intelligence Report using SQL 05 I am afraid you are out of luck.
    You will need to get a copy of the Productivity Pack (Available for Download in Subscribenet) .
    Also, in your SQL Server Sufrace Configuraiton manager try setting Analysis Services to Allow Ananomous connections. This will make sure you get a little further initially. (Dont leave Anonymous on)

  • OraOledb, Linked Servers and SQL Server 2005 issues

    Some issues I've come across when using SQL Server 2005 (and SQL Server Express 2005), the OraOLEDB provider (10.2.0.1) and a linked Oracle database (8.1.7.4.0 64-bit)
    1) You must set the OraOledb.Oracle\AllowInProcess value to 1 to allow the OraOledb provider to run in SQL Server's process. Without doing this I receive an 'unspecified error' from the OLE DB provider when attempting to run a query
    2) When running a ' select * ' query across a linked server using the provider, I receive the following error: Msg 9803, Level 16, State 1, Line 1
    Invalid data for type "numeric". I can, however, select all of the columns by name and the query completes (no error). Sometimes the 'select *' query returns a few rows before the error, sometimes it doesn't. The Microsoft Provider for Oracle does not have this problem

    Okay... I've got a Win2K3 Std Ed server (x64) running 64-bit SQL Server 2005 Enterprise Edition. I've installed the Oracle 10g 10.2.1 full client and admin tools, added two named services via the NetConfig assistant, and successfully set up (and tested) a connection via the ODBC Administrator to an Oracle database.
    Now... when I try to create a new connection manager in SQL Server 2005 Integration Services, the OLEDB provider for Oracle can't be found, and when I try to manually add an underlying OLEDB connection to the database, SQL Server reports:
    Test connection failed because of an error in initializing provider. The 'OraOLEDB.Oracle.1' provider is not registered on the local machine.
    Does anyone know what I need to do to see my ODBC Server data connections in SQL Server 2005 (64 bit)? I don't have this issue on my 32-bit SQL Server 2005 servers.

  • B1 and SQL Server 2005 performance with 3.000.000 invoice-lines per year

    I would like to know if SAP Business One with SQL Server 2005 could work with the following information:
    - 40.000 Business Partners
    - 40.000 Invoices per month
    - Aprox. 3.000.000 invoice-lines per year
    Of course it will be necessary to change some forms in B1.
    What do you think?
    Do you know any B1 customer working with that amout of data?

    > Hi,
    >
    > I think a good SQL2005 tuning (done by a good DBA)
    > will improve performance. Number of records like that
    > shouldn't hurt that kind of DB engine...
    Hi,
    I'm sure that MSSQL2005 can handle the amount of records & transactions in question. Even MSSQL 2000 can do it. However, any DB engine can be put on its knees with the combination of 2-tier application architecture and badly designed queries. B1 is a case in point. I wouldn't go into such a project without decent preliminary load testing and explicit commitment for support from SAP B1 dev team.
    I have heard from implementation projects where B1 simply couldn't handle the amount of data. I've also participated in some presales cases for B1 where we decided not to take a project because we saw that B1 couldn't handle the amount of data (while the other features of B1 would have been more than enough for the customer). The one you're currently looking at seems like one of those.
    Henry

  • Freetds and sql server 2005

    Hi guys
    I'm trying to create dblink from 10.2.0.4 database to sql server 2005 using freeTDS. Oracle database is on OEL5, ODBC is installed on another OEL5 machine with database gateway installed and listener started.
    So far everything woks fine. However it seems that something is wrong with character set conversion. I'm getting twice as much characters (character followed by a box character). I'm guessing this is 2 byte character set that has not been converted to 1 byte. Oracle DB has nls_characterset set to 'EE8ISO8859P2'.
    What setting should be set in init<>.ora for the DG4ODBC and freetds.conf?
    I also tried trial easysoft odbc driver and it works fine with these parameters in odbc.ini:
    # Convert UCS-2 encoded Unicode data to UTF-8
    ConvToUtf = Yes
    # Also do this conversion for data passed to Unicode ODBC function (SQLxxxW) calls
    ConvWToUtf = Yes

    I saw a similar behaviour using an Oracle unicode database. In this case try a unicode compliant tool like SQL Developer, connect to the Oracle db with the db link and select from the linked table.
    What is the source column data type and did you specify HS_LANGUAGE in the hsodbc init file?
    Edited by: kgronau on Nov 27, 2009 11:45 AM

  • Connectivity Issue with Vista and SQL Server 2005

    Hi all;
    I am unable to log into SQL Server 2005 due to a connectivity problem.
    When I telnet on the port for the server, the attempt at a connection fails.
    Does anyone have any ideas as to what I should do?
    THANKS!!!
    Wally

    Closed the thread regarding: http://social.msdn.microsoft.com/Forums/en-US/sqlsecurity/thread/c20ee682-d329-4678-a8a6-6e10b746bf0e/
    Using the elevated mode fixed the problem.
    Jens K. Suessmeyer

  • Installing Dialog Instances with ECC 6.0 and SQL Server 2005

    Hi, I have my ECC 6.0 SAP Server, it is Central Instance, Database instance, all in one. My users are working fine, however we will be adding some new users (15) and we want add a Dialog Instance. Can I add one Dialog instance to my landscape without any changes to my SAP Server ??? ..... My dialog instance will be in a new host.
    My hardware SAP Server is: 16 GB RAM, 500 GB RAID 5 for my database, four processors.
    What could be my Dialogue Instance hardware?
    I have read than I must install with sapinst and select Dialogue Instance and follow instructions. Are there any others considerations?? .....
    Do I must install SQL Server in the host Dialog instance ??.
    Please if you have some suggestions.
    Regards.

    Hello Jose,
    You can install your dialog instance without doing any change to the existing setup as you have mentioned its on a seprate new host.
    Two CPU's and 8GB memory would be fine for your dialog instance.It all depends on your requirement.
    Yes you need to install the dialog instance using SAPINST, its kool and sapinst would take care of all.
    You need not install any SQL server in the dialog instance host only you need to have a SQL client installed but that would be taken care by SAPINST.
    Hope this would clarify your query.
    Thanks and Regards,
    -Bijesh.

  • Linked Server error: Login Failed for user 'NT AUTHORITY\ANONYMOUS LOGON' between sql server 2005 32 bit and sql server 2012 64 bit

    Hi All,
    Here the linked server is created between sql server 2012 64 bit and sql server 2005 32 bit. I am getting the below error  when i try to access linked server from third server. I have created linked from Instance 1 to Instance 2. When i access it from
    instance 3 i am getting the below error. SPN setting has been done between these 2 servers. Also the option 'Trust the delegate' is enabled for the both the service account. 
    'Login Failed for user 'NT AUTHORITY\ANONYMOUS LOGON' 
    Appreciate your quick response. 
    Vikas.M.S

    Hello,
    Please read the following resources:
    http://www.databasejournal.com/features/mssql/article.php/3696506/Setting-Up-Delegation-for-Linked-Servers.htm
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/ea26de43-4c6b-4991-86d7-e1578f107c92/linked-server-login-failed-for-user-nt-authorityanonymous-logon?forum=sqldataaccess
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Database Adapter and SQL Server procedure issue

    Hello,
    I am using Jdev 11.1.1.7.0 and SQL Server 2005.
    In the Database Adapter configuration wizard, Specify Stored Procedure step, I choose the “GEACupax” schema and got the following error after a click on “Procedure Browse” button:
    com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'GEACUPAX.INFORMATION_SCHEMA.SCHEMATA'.
    The command Database Adapter tried to execute was:
    (from jdev log:) select schema_name from GEACUPAX.INFORMATION_SCHEMA.SCHEMATA order by schema_name;
    Note, the schema name has changed to uppercase. I think that is the problem. If I try this query in SQLDeveloper, it returns the same error. I can fix it changing the schema name to “GEACupax”. The case matters.
    Any ideas?
    Leandro.

    Vijay,
    Thanks for you reply.
    I figure out a related bug:
    Bug 12859472: Cannot browse store procedure in case-sensitive MS SQL Database
    There are two possible workarounds:
    1. Use a database name with capital letters
    2. Do not use stored procedures, but access the tables directly.
    The notes on the Bug ticket describes that the issue would be scheduled to be fixed in PS7 which is 11.1.1.8.
    Cheers!
    Leandro.

  • How to create database link between oracle and SQL Server

    Hello Everyone,
    Here i have Oracle Database 9i and SQL Server 2005 databases.
    I have some tables in sql server db and i want to access from Oracle.
    How to create a database link between these two servers
    Thanks,

    Thanks for Everyone,
    I was struggle with this almost 10 days....
    I created Database link from Oracle to SQL Server
    Now it is fine.........
    Here i am giving my servers configuration and proceedure how i created the db link...@
    Using Generic Connectivity (HSODBC) we can create db link between Oracle and SQL server.
    Machine (1)
    DB Version : Oracle 9.2.0.7.0
    Operating System : HP-UX Itanuim 64 11.23
    IP : 192.168.0.31
    Host : abcdbt
    Machine (2)
    Version : SQL Server 2005
    Operating System : Windows server 2003 x86
    IP : 192.168.0.175
    Host : SQLDEV1
    User/PW : sa/abc@123! (Connect to database)
    Database : SQLTEST (exsisting)
    Table : T (“ T “ is the table existing in SQLTEST database with 10 rows)
    Prerequisites in Machine (2):
    a)     Oracle 10g software
    b)     User account to access SQL Server database (sa/abc@123!)
    c)     Existing SQL Server Database (SQLTEST)
    d) Tables (testing purpose) (T)
    Steps:
    1)     Install Oracle 10.2.0.1 (Only SW,No need of database) *(Machine 2)*
    2)     Create a DSN where your windows Oracle 10g SW resides *(Machine 2)*
    Control panel >> Administrative Tools >> Data Source (ODBC) >> System DSN ADD
    You can follow this link also.....
    http://www.databasejournal.com/features/oracle/article.php/3442661/Making-a-Connection-from-Oracle-to-SQL-Server.htm
    I created DSN as
    DSN name : SQLTEST
    User : SA/abc@123! (Existing user account)
    Host : 192.168.0.175 (machine 2)
    Already I have 1 database in SQL Server with the name SQLTEST
    You can create DSN with different name also (not same as db name also)
    3)     Create a hsodbc init file in $ORACLE_HOME\hs\admin *(Machine 2)*
    Create init<DSN NAME> file
    Ex: initSQLTEST
    Copy inithsodbc to initSQLTEST
    And edit
    initSQLTEST file
    HS_FDS_CONNECT_INFO = SQLTEST    <DSN NAME>*
    HS_FDS_TRACE_LEVEL = OFF*
    save the file....@
    4)     Configure Listener.ora *(Machine 2)*
    LISTENER_NEW =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.175)(PORT = 1525))
    SID_LIST_LISTENER_NEW =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = SQLTEST) *+< Here SQLTEST is DSN NAME >+*
    (ORACLE_HOME = G:\oracle 10g\oracle\product\10.2.0\db_1)
    (PROGRAM = hsodbc))
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = G:\oracle 10g\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc) )
    :> lsnrctl start LISTENER_NEW
    5)     Configure tnsname.ora *(Machine 2)*
    SQLTEST11 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.175)(PORT = 1525))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = SQLTEST))
    (HS=OK)
    :> tnsping SQLTEST11
    If No errors then conti….
    6)     Configure a file *(Machine 1)*
    Cd $TNS_ADMIN ($ORACLE_HOME/network/admin)
    Create a file
    $ vi TEST_abcdbt_ifile.ora
    something=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST =192.168.0.175) (PORT=1525))
    (CONNECT_DATA=
    (SID=SQLTEST))
    (HS=OK)
    $ tnsping something
    $ sqlplus system/manager
    Your connected to Oracle database *(machine 1)*
    create database link xyz connect to “sa” identified by “abc@123!” using ‘SOMETHING’;
    select * from t@xyz;10 rows selected.
    Thanks,
    Edited by: ram5424 on Feb 10, 2010 7:24 PM

  • Connecting Xcelcius and MS SQL Server 2005

    Hi All,
    I need to create report dashboards in Xcelcius fetching data from MS SQL 2005 server. I've found different options for setting the connection between Xcelcius and MS SQL 2005, like using Reporting Service, using XML Maps etc. Which is the best option for setting up  the connection?
    Thanks and Regards,
    Shyam.

    Shyam,
    You may wish to refer the link below..
    Re: Integration of the xCelsius and SQL Server 2005 database
    What i suggest is, create web service to retrieve data from SQL database and call this WSDL url in your Xcelsius.
    -Anil

  • Help with Flex - PHP - and SQL Server

    Good afternoon,
    I have been working on this problem for over a week and am at
    my wit's end. I am trying to create an application that will allow
    me and my fellow statisticians to share code easily. The
    technologies at my disposal are Flex, PHP and SQL Server 2005. The
    web server is IIS. I have downloaded and installed the PHP driver
    for SQL Server 2005 and am able to query the database and generate
    XML. The problem I'm having is that I can't return the XML from PHP
    to Flex.
    If I execute the php code in a web browser and view the
    source, it looks like XML. I can then cut and paste the exact same
    code into an xml file and read it in from the harddisk and the tree
    will populate. Can anyone please help me? I don't have flex builder
    so I it's hard for me to use trace and view what is going on.
    Thanks in advance,
    Eric Graves

    Thanks for the suggestion. I have tried every permutation of
    e4x path notation I can think of. You're right, you're not supposed
    to need the root level as that's supposed to be returned in the
    result. So you should only need to reference first level after the
    root. When I do this and launch the .SWF I get a completely empty
    tree.
    I think the problem lies somewhere in my understanding of
    what format Flex needs returned from a HTTPRequest. It's my
    understanding that it just needs to be XML. As far as I can tell,
    that's what I'm sending it. On the PHP side, does it have to be
    cast a special way? Everything I've seen just shows people using
    ECHO to output the XML data.

Maybe you are looking for

  • Where did my memory go?

    I finally got my external hard drive replaced so I decided to do a backup so I could free up some space on my startup disk in order to run Windows. After much toil and hard work I managed to free up an over 20 GB from my startup disk, more than suffi

  • Screen layout for Special G/L indicator

    Hi everyone! I would like to know if you create a new special g/l indicator, you can change the screen layout that the system gives you. I need to create some which can have a screen layout similar to the one used in 01 key account. Thanks in advance

  • Creating a table using SELECT

    I want to create a copy of an existing table. What is the proper SQL statement that will execute this?

  • Chaning number of rings before voicemail kicks in

    I need more time to get to my phone. The number of rings should be user settable.

  • No more bookmark icon in iBooks 3.1

    Can no longer bookmark pages since I upgraded to iBooks 3.1. I tried uninstalling and reinstalling iBooks but that didn't work. Also page turn animation is way to fast and sensitive. I'm on an iPhone 4S running Os 6.1.3.