Problems when trying to import metadata from SQL server using OWB

Hi,
We are using Oracle 11.2 EE on AIX and OWB: 11.2. We are in the process testing Oracle Transparent gateway for SQL Server and have installed and configured it on a standalone windows server. We and have run the ORACLE_HOME\dg4msql\admin\dg4msql_cvw.sql on SQL Server side, in order to query the SQL-Server data dictionary. We have created a DB-link and can pull data correctly without any problems. When trying to import metadata in OWB Client on win xp, we have created a non-oracle SQL Server Module and are able to connect and start the import, but the displayed table names look strange and can not be imported. In front of every letter there is a square box, so instead of ADDRESS (the address table in the source system) , it reads "squarebox"A"squarebox"D"squarebox"D"squarebox"R"squarebox"E"squarebox"S"squarebox"S and subsequently the import fails with :API0413: Illegal name [<tablename>] Name with preceding and trailing spaces is not allowed.
The gateway have been configured with the following parameters:
HS_FDS_CONNECT_INFO=<connect string>
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
HS_LANGUAGE=AMERICAN_AMERICA.WE8MSWIN1252
Any ideas ?
This topic has been posted in the Heterogenious Forum as well, but as the problem is within OWB, I also post it here.
Thanks in advance!
Henrik
Edited by: he**** on Nov 15, 2011 1:29 PM

Henrik,
I've found other problems where OWB adds a space between all characters returned from SQL*Server which is what is happening in your case, although it is being displayed as a square box.
In one of these cases the problem was fixed by using the 11.2.0.2 OWB so would it be possible for you to try with that version ?
Also, as the problem is not with the gateway itself as you can select successfully using a database link then it would be better to follow up in the OWB forum -
Forum: Warehouse Builder
Warehouse Builder
as they will be able to help with the OWB side of the problem.
Regards,
Mike

Similar Messages

  • The SQL statement is not valid - when importing data from SQL Server using a query

    Hi there,
    I am trying to import data from SQL to Power Pivot using a SQL query like below:
    SELECT Score.FieldCount, Score.Record.GetAt(0), Score.Record.GetAt(1),  Score.Record.GetAt(2),  Score.Record.GetAt(3),  Score.Record.GetAt(4)
    FROM 
    SELECT * FROM dbo.CLR1(
    dbo.CLR2('c:\FILES\Test.xml'), 
    'SELECT * FROM [dbo].[CXCustomer_Small]') Input
    ) Score
    And when I tried to validate it, it returns
    The SQL statement is not valid. A column name cannot be blank.
    I ran the above SQL statement in Management Studio and it works without problem. Any idea?
    Thanks!
    Chu
    -- Predict everything. http://www.predixionsoftware.com

    Never mind, I figured out - I need to give each column a name.
    -- Predict everything. http://www.predixionsoftware.com

  • Error when importing metadata from sql server

    Hi,
    I am having problem connecting to SQL Server. from OWB.(my owb client is 11.1.0.6.0 and owb repository is 11.1.0.1.1)
    I am using Oracle Database Gateways 11g Release 1 (11.1.0.6.0) to connect.
    i make all the configuration for the gateway .
    and execute the dg4msql_cvw.sql to create corresponding views in sql server ...
    THe dblink allows me to run SQL query from sql plus to the tables in SQL server (the host that i want to import data from is i sql server 2000).
    When I test the connnection from owb to SQL Server it returns "successful"
    but when i go to import the meta data of tables in SQL Server i get this error.
    ORA-00942: table or view does not exist
    [Oracle][ODBC SQL Server Driver][SQL Server]Invalid object name 'V$VERSION'.[Oracle][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared.
    ORA-02063: preceding 2 lines from FIN_LINK
    owb looking for v$version in sql server and i dont know why .
    i tried to create this view in sql server like this
    create table v$version (banner varchar(20))
    but i dont know what kind of data should i insert in ,,,,,,,
    is there any idea how can i fix this
    thanx

    thanx dallan for replying
    i really execute that script u talk about and i mentioned that in first post ...
    its' dg4msql_cvw.sql script and its make a views in sqlservere
    its create these views :
    ALL_CONS_COLUMNS
    ALL_IND_COLUMNS
    USER_CONS_COLUMNS
    USER_IND_COLUMNS
    ... i r execute it as following : i have windows server 2003, the sql server 2000 installed on this server
    i open the query analyzer and connect to the user that hold the db, i select open and browse to the dg4msql_cvw.sq
    and then execute ... but still same error
    i think this may works ..right?
    and this is the trace log file :
    note :
    here are the trace log file :
    Oracle Corporation --- TUESDAY MAY 05 2009 12:44:14.846
    Heterogeneous Agent Release
    11.1.0.6.0
    Oracle Corporation --- TUESDAY MAY 05 2009 12:44:14.846
    Version 11.1.0.6.0
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "On"
    RC=-1 from HOSGIP for "PATH"
    PATH from environment is "D:\app\OraGtw\bin;D:\app\product\product\11.1.0\db_1\bin;D:\app\BI\server\Bin;D:\app\BI\web\bin;D:\app\BI\web\catalogmanager;D:\app\BI\SQLAnywhere;D:\app\product\product\11.1.0\db_1\jdk\bin;D:\app\BI\server\Bin;D:\app\BI\web\bin;D:\app\BI\web\catalogmanager;D:\app\BI\SQLAnywhere;D:\app\product\product\11.1.0\db_1\jdk\bin;C:\Program Files\HP\NCU;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0"
    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 SA as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    ##>Connect Parameters (len=209)<##
    ## DRIVER=Oracle 11g dg4msql-OraGtw11g_home1;
    ## SERVER=web02;
    ## Database=acc-aeu;
    #! UID=SA;
    #! PWD=*
    ## AnsiNPW=Yes;
    ## QuotedId=Yes;
    ## IANAAppCodePage=2252;
    ## ArraySize=100;
    ## PadVarbinary=0;
    ## SupportNumericPrecisionGreaterThan38=1;
    SQL text from hgopars, id=1, len=25 ...
    00: 454C4553 2A205443 4F524620 5622204D [SELECT * FROM "V]
    10: 52455624 4E4F4953 22 [$VERSION"]
    hgopars, line 347: calling SQLNumResultCols got sqlstate 42S02
    plz guys any ideas ???

  • IPhoto freezing when trying to import photos from iPhone

    iPhoto has started freezing when trying to import photos from an iPhone. The device is recognised but just get "loading . . . " message with no photos appearing. Has anyone else seen this?

    There are 9 different versions of iPhoto and they run on 9 different versions of the Operating System. The tricks and tips for dealing with issues vary depending on the version of iPhoto and the version of the OS. So to get help you need to give as much information as you can. Include things like:
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. As full a description of the problem as you can. For example, if you have a problem with exporting, then explain by describing how you are trying to export, and so on.
    - History: Is this going on long? Has anything been installed or deleted? - Are there error messages?
    - What steps have you tried already to solve the issue.
    - Anything unusual about your set up? Or how you use iPhoto?
    Anything else you can think of that might help someone understand the problem you have.

  • Run time error when trying to import bookmarks from firefox

    When trying to import bookmarks from Firefox to Safari I get the following error message: "Run Time Error. This application has requested the Runtime  to terminate it in an unusual way." Safari does not function anymore and I have to close it. Can somebody help me? I am using a PC with Windows 7.

    In the Bookmarks Manager (Library) there is a toolbar with the Back and Forward button and three other buttons (Organize, Views, Import & Backup).
    * The first (gear) button is the Organize button with basic edit menu items for bookmarks
    * The second button is the Views button that allows to change the sort order for viewing purposes (doesn't sort permanently).
    * The third (star) button is the Import & Backup button that allows to backup and restore a JSON backup and import and export an HTML backup and import bookmarks from other browsers.
    Hover each button to see the tooltip or click each of them to see what they do.
    * https://support.mozilla.org/kb/how-do-i-use-bookmarks

  • Import data from SQL Server into MS Word document for Mail Merge purpose ?

    Hi,
    Is it possible to import contacts from SQL Server into MS Word for mail merge purpose or if retrieving data from MS Excel can we update the data in MS Excel sheet without opening it ?
    Note: Remember when you open a word document already set up for mail merge, asks you to run the query to return all records from the excel sheet it is connected to.
    Khurram

    Word and the current data source dialog do not really give you any help with that.
    You either have to be able to create a View in SQL Server that performs the query you need, then connect to that, or you have to be able to create the correct query manually (or perhaps using some other query tool that can help you), then use VBA to connect
    using that query. 
    For example, if you have been through the connection process once (connecting to a single table) then you will have a .odc (Office Data Connection file) which has the info. needed to connect to the correct server and database. It's a text file with some
    HTML and XML inside. You can copy/rename it. Let's say it is called "c:\a\myodc.odc" Then in VBA you can use something like
    ActiveDocument.OpenDataSource Name:="c:\a\myodc.odc, _
    SQLStatement:="put your SQL statement in here, and if it is long,...", _
    SQLStatement1:="put the second part in here"
    You get a maximum of either 255 or around 511 characters in the SQL statement, and Word tends to impose some syntax requirements that Transact-SQL does not, so e.g. you may need to quote all your table names.
    You can also se an empty .odc file and provide connection info. in the COnnection:= parameter in OpenDataSource.
    As background, until Word 2000, by default you would use MS Query to create your SQL query, and MS Query does have facilities that can help you build your query (a bit like the ones in MS Access). That may still be possible (it is a bit harder to find the MS
    Query option now, and I am not sure it works with the latest versions of Word). MS Query only works for ODBC queries, and they do not always work correctly when you actually issue the query using ODBC from Word, because of a Word problem to do with Unicode
    fields in SQL Server. But you could probably still use MS Query to help you construct your SQL. (It's probably easier to do that in Excel, though).
    Peter Jamieson

  • Importing data from SQL Server

    I'm relatively new to Oracle, and my question is about importing data. I have an SQL 2000 server and I export a database using Microsoft OLE DB provider for Oracle. The process finished OK but when I tried to query the tables qith SQL Plus Worksheet, I get a message saying:
    select * from rwp_purge
    ERROR at line 1:
    ORA-00942: table or view does not exist
    but the table is there. I can see it using DBA Studio. So, what is happening? Do I have to commit transactions after importing data from SQL Server? Do I have to rebuild statistics?
    thanks in advance,
    Gonzalo Pellegrini

    Was the table created in the schema you are loggin as when trying to access the table? If not, you will have to grant access to the table logged in as the table owner.

  • Import data from SQL Server to Oracle

    I have created a dblink in oracle to access the SQL database. I am able to run queries through the dblink and it works fine. I have created a test table on Oracle Server to import the data. The field named "description" has CLOB data type. The corresponding datatype on SQL Server is varchar(7000).
    When I insert the data from SQL Server, it completes successfully without any error but it truncates the data on CLOB field.
    If I run the select query in SQLPlus I can see the entire description.
    Select "description" from sql_view@dblink;
    -- the above works fine.
    CREATE table test
    (description CLOB);
    INSERT INTO TEST
    Select "description" from sql_view@dblink;
    -- this works but it truncates the data after 256 characters
    My question is, how to get the data from SQL Server without truncating characters.
    Thanks in advance,
    Gopal

    I hear the same from other friend that sql server truncated the leading zeros from the id column.
    I really don't have a solution for this but you can try the work around. Export the data to flat file and upload in oracle using SQL loader, as this would be much faster and efficient.

  • Using Oracle Forms Importing Data From SQL Server into Oracle Tables.

    Dear All,
    We are using Oracle Forms 10g in windows XP and having OAS 10g and Oracle database 9i.
    How can we import data from SQL Server 2005 into Oracle tables using Oracle Forms?
    Thanks & Regards
    Eidy

    I have no idea what "Oracle Hetrogenius Services" is, so I can't help you with that, sorry.
    SQL Developer might also assist you. SQL Developer can connect to SQL Server as well as Oracle and has some tools for migration. See the documentation for details:
    http://download.oracle.com/docs/cd/E12151_01/doc.150/e12156/toc.htm
    For additional help on using SQL Developer for this task, please consult Support or the SQL Developer forum: SQL Developer
    Hope this helps,
    Jacob

  • Import data from sql server /vice versa

    My Database serevr version is 10.1.0.3.0.
    Sql Server 2000.
    Is it possible to import data from sql server to oracle database?
    Also other way around.
    I mean import data from Oracle to sql server.
    Regards,
    D

    Hi,
    You can use Heterogeneous Service to do this. This component is free but poor of resources. Simple things you can do with this, complex I really don't know.
    Also, to import from sqlserver to oracle you can use Oracle Warehouse Builder, an Oracle ETL tool. But, OWB do not work in other way, oracle to sqlserver.
    And why do want to use sqlserver, if you have oracle?
    []'s,
    Gustavo.

  • Get the connected users count from sql server using powershell

    Hi,
    I am working on SharePoint 2013,I am having SQL server 2012.
    I want to get the Connected Users count from  sql server using power shell.
    Can any one please let me know how to implement.
    Thanks in advance.
    Regards,
    Phani Kumar R

    Sorry Tom, I dont like to hear "There is no way" :-(
    There is always a way in computer to get what you need (at least it is good as Rule of thumb). I am not sure we will find it here (in a voluntary supporting forum).
    Now we (or better the architect of their system) should think of the way :-)
    Of course doing so in the forum, while we do know the system and only got a glimpse on what is needed, is not the best idea. I will point some issues which can be related to a solution. Those are not a solotions as it is but something we can use for a solution
    once something look in the right way.
    * A web connects counter is one of the easier thing to do. The basic idea is just to use the connect event and the disconnect event an adding 1 or removing 1 from the counter. This is best to do in the application using static variable as any way the second
    the application is down the counter can be go to hell as we know there is no one connect (there for a counter do not use database usually). Using a web dot-net (or asp 3) application this is done most of the time using the global.asa/global.asax file, which
    include the application and session events. for example using the method Session_Start
    protected void Session_Start(object sender, EventArgs e) {
    // Code that runs when a new session is started
    * IIS have a build-in loging system where we can log each and every request/response or only logins users. There is lot we can do with this log files including data mining. Using small bulk insert script we can use the SQL agent to insert those logs to the
    database and get the information we need.
    * any web developer i want to believe know about the Fiddler application which we use to monitor traffic. A proxy is not the only way to to monitor traffic (it is not good for our case as this is in the client side), there are several option in the server
    side.
    * SQL trigger on logon can be use to get information on who is loging on and can be logging only specific source (like our sharepoint IP or any sharepoint application). This information (what is the application which connect to the server can be retrive
    in several solution without using a trigger as well)
    *** (I'll be brief ... I'm getting bored... probably the reader feel the same)
    * using extended events and/or profiler we can monitor any connection and save the data or just remember it in shared (static) variable (this
    blog show how to do it by the way). Again we can monitor specific application or use any filter in order to get only the sharepoint users
    .... and i can continue for several days more :-) ...
    "If there is a willing, then there's a way"
    "If you can't do it, Then someone else probably can"
    "Never say never"
    I hope this help somehow :-)
    [Personal Site] [Blog] [Facebook]

  • 'Audio to Video' problem when trying to import from non-controllable device

    Hello,
    I am trying to import media from a VHS into FCP, using a 'Dazzle', (DAC from Data Video). In my Capture Settings, under Device Control, I selected 'Non-controllable device', and under the Capture/Input setting, I chose the default, 'DV STSC 48 khz', then did 'Capture Now'. It seemed to work fine, until about half-way through the project, I noticed that the sound did not match up to the people speaking/singing on the video. Should I change the Capture/Input setting to something else? Or, is there another setting I need to make, so that audio/video will match up? Also, should I maybe try a Batch Capture, instead of Capture Now? I just thought of that when writing this - any help would be most appreciated, thank you!
    Kristina

    Ooooo.... Hate to say... Dazzle just has bad memories for me. Hollywood Bridge... made by Dazzle...
    Nothing but problems. Not sure if yours is the same.
    Anyway to use your camera as a passthru for the VCR instead?
    Still -- no guarantees sync will line up. For that you need to capture in 15 minute or less segments. Hard to do with VHS that will run for 2 hours... but it's your best bet. Join them up in post if you have to.
    CaptM

  • Lightroom 5.7.1 stops responding when trying to import photos from iPhone.

    As the title says, when trying to import the photos from my phone which I've done with Lightroom for a couple years now, the program stops responding entirely. This happens with both mine and my wife's phones. We did leave hers plugged in over night and it eventually started responding again and I was able to import her photos. But I can account for at least 5 hours during which it was not responding first. I'm not sure what changed over night that finally let it work again.
    Any ideas? Thanks!

    You're sure you want to stop using iphoto? Then I would try it this way instead:
    Export each event in your iphoto library separately, put the photos where you want to keep them and use "from files and folders". If there's an event that the organizer chokes on, then you'll have to go into that one photo by photo to see where the problem lies. (You are aware that using "from iphoto" is duplicating your entire iphoto library, so you don't want to do that AND keep using iphoto, right?)

  • I get an error message when trying to import pictures from iphone to iphoto(Imac)

    I get an error message trying to import photos from phone to imac. have 266 photos to get on my computer. how can i get these pictures off iphone onto my imac.?

    Try a couple folders up - a parent folder's permissions can cause problems with a child subfolder.
    And don't just rely on the read-only box. Go to c/users/username/music, right-click and get permissions, go to the security tab and make sure your username has full control and ownership.

  • Crystal Reports XI R2 Server problem when trying to load groups from LDAP

    Hi,
    I'm using Crystal Reports XI R2 SP4 on RedHat Linux. My users are being authorized through LDAP (OID). My problem is that after removing all groups (right now no groups/users are visible in CMC) in CMC Authentication tool and then trying to add them again I'm receiving following error:
    "LDAP: Failed to commit objects to server : Duplicate object name in the same folder."
    I've checked connectivity to LDAP server and it's ok. Could it be connected to CMS problems/corruption? Any help/suggestions would be appreciated.
    Regards,
    Marcin

    The only personal folders visible from under Admin panel are for users Administrator and Guest. I've tried to query CMS tables but these store entries not in plain text so I cannot identify entries connected to personal folders. I have also tried to do this via Query Repository tool but all returned entries were ok.
    I have also noticed that when trying to load group from LDAP after it returns error "LDAP: Failed to commit objects to server : Duplicate object name in the same folder." entry for this group is created in CMS table. Also this group is then visible in admin Groups panel. No users are created with the group and when I'm trying to list users belonging to added group it returns "internal secLDAP security plug-in error" but without any other suggestion what went wrong.

Maybe you are looking for

  • Photoshop CC: Missing Fonts on Startup, only a few fonts are displayed as replacement options

    I have a Photoshop document which uses some Fonts that I don't have on my Windows PC. When I open the document, I get a Dialog Box called "Missing Fonts", which states: "Some fonts used in this document are missing. You can sync matching fonts from T

  • Added another drive to my time capsule

    And now I get error messages like it's been 12 days since my back up to the full time capsule. Any suggestions how to fix this?

  • Problem passing a table in an RFC wrapper in ECC to a FM in SRM?

    I am creating a wrapper around FM 'TEXT_CONVERT_XLS_TO_SAP' in ECC, because I cant find a FM in SRM to convers an excel file into an itab. I pass an excel sheet from SRM to this wrapper to convert the values into an Itab and pass then back to SRM. Th

  • How to set Callback Status in ALV OO

    Hi All, I need to find the method or object to use to set the callback status to my program so I may use forms that I have developed. How do i do that? thanks KW TRY.         CALL METHOD cl_salv_table=>factory           IMPORTING             r_salv_t

  • Controlling embedded Movieclips through as3

    Hi everyone! I'm starting to learn actionscript 3 programming  and am in the process of trying to create a simple game but am having trouble getting flash to call up various movieclip states.I have a movieclip called "Player" and inside that moviecli