Loading from SQL Server gives an error

Hi,
I try to load data from SQL server to Oracle. When I try to run my mapping, I get the following error:
Job 4 error: com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'kssefflataus.dbo.SLD_LAHETTEET_EFF'.
while executing
"java0xc execute java0x4 {select     
     SLD_LAHETTEET_EFF.OLE_LAHETE     AS OLE_LAHETE,
     SLD_LAHETTEET_EFF.OLE_JUURI_ID     AS OLE_JUURI_ID,
     SLD_LAHETTEET_EFF.OLE_..."
(in namespace eval "::EFFICA_DB_LOC_EU::LCT_SQL_TO_ORACLE" script line 1)
invoked from within
"nseval $srcToTarget execute [java::getinterp] $p_src_stmt $p_src_jndi $p_tgt_stmt $p_conn $p_src_tech $p_tech $p_commitrows"
invoked from within
"set g_res [nseval $srcToTarget execute [java::getinterp] $p_src_stmt $p_src_jndi $p_tgt_stmt $p_conn $p_src_tech $p_tech $p_commitrows]"
while executing
"error $errorInfo"
("if" then script line 11)
invoked from within
"if {[catch {set g_res [nseval $srcToTarget execute [java::getinterp] $p_src_stmt $p_src_jndi $p_tgt_stmt $p_conn $p_src_tech $p_tech $p_commitrows]} r..."
(procedure "source_to_target" line 8)
invoked from within
"source_to_target $p_src_stmt $p_tgt_stmt $p_srcvar $connection $p_srctech $p_tgttech $p_tgtcommitrows"
while executing
"error $jdbc_errorInfo"
("if" then script line 2)
invoked from within
"if {[info exists jdbc_errorInfo]} {
error $jdbc_errorInfo
(procedure "execsourcetarget" line 24)
invoked from within
"execsourcetarget $src_stmt $tgt_stmt "$SRC_LOCATION" "$TGT_LOCATION" "TGT_AC" "" "GENERIC" "ORACLE" -1 "false" "false""
(procedure "5_LOAD_DATA_main" line 33)
invoked from within
"5_LOAD_DATA_main "
while executing
"error $errorInfo"
("if" then script line 4)
invoked from within
"if {[catch {
        logTaskStart Started $taskDetail {4} {}
global _OMBTaskFlowAudit
set _OMBTaskFlowAudit {TASK_LOADING|5_LOAD_DATA}..."
("if" then script line 2)
invoked from within
"if {$AFTER_ICT == "false"} {
if {[catch {
        logTaskStart Started $taskDetail {4} {}
global _OMBTaskFlowAudit
set _OMBTaskF..."
(procedure "5_LOAD_DATA" line 27)
invoked from within
"5_LOAD_DATA"
(procedure "LCT_SQL_TO_ORACLE::LCT_SQL_TO_ORACLE_main" line 50)
invoked from within
"LCT_SQL_TO_ORACLE::LCT_SQL_TO_ORACLE_main "jdbc/SQLSERVER_DATABASE_LOCATION-OWB11-OWB11_REP-PUBLIC_PROJECT-EFFICA_DB_LOC" "jdbc/ORACLE_DATABASE_LOCATI..."
(in namespace eval "::EFFICA_DB_LOC_EU" script line 4)
invoked from within
"namespace eval EFFICA_DB_LOC_EU {
logPhaseStart "" {EFFICA_DB_LOC_EU} "" {5}
eval [getScript "CODETEMPLATE-OWB11-OWB11_REP-PUBLIC_PROJECT-BUILT_IN..."
null
Something is wrong but what? Source table is imported straight from SQL server db and target table is basicly a copy of it. I'm not used to work with SQL server databases so this can be a configuration issue or something like that.
BR,
Mari                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Seems that the problem is here: 'kssefflataus.dbo.SLD_LAHETTEET_EFF'. It should be 'kssefflataus.mydatabase.dbo.SLD_LAHETTEET_EFF'. That "mydatabase" is defined in SQL server location but it doesn't use it here. How can I add it to the code?
BR,
Mari

Similar Messages

  • NFS - Solaris 10 client from Ubuntu server gives Rpcbind error

    Hello All,
    New to Solaris, and I've been scouring the Internet to find a solution, but none have been produced. I'll start by giving you details about the setups, and then go into the error:
    Server Setup:
    Ubuntu 8.04
    Exports file ->
    /home/<folder> <Solaris 10 Server DNS name>(rw,no_subtree_check,async)
    Client Setup:
    Solaris 10
    Set /etc/default/nfs to have NFS_CLIENT_VERSMAX=3
    Ran svcadm -v enable -r network/nfs/client and then tried
    mount -F nfs <Ubuntu Server DNS name>:/home/<folder> /mnt/test/
    and all I ever get are Rpcbind failure - RPC: Timed Out and then it says it's retrying: /mnt/test
    I've gotten the firewall out of the way, I can ping the Ubuntu server from the Solaris server and vice versa, and I'm able to mount the Ubuntu NFS share on another Ubuntu machine perfectly, but I can't get it to mount on the Solaris server. If I specify v3 of NFS, that doesn't change anything. If I specify v4 of NFS, I get the error that the file or folder doesn't exist on the Ubuntu server.
    Any ideas? Any more info needed?

    This is the exact same problem I've been having. My server is Ubuntu 8.10, and the client is Solaris 10. This is on my home network, so I'm pretty confident it isn't a network issue. I do NFS all the time at work between Solaris machines, but I'm stumped on this one. I've noticed there are similar threads on the topic with no real answer that I have found --
    http://www.linuxquestions.org/questions/linux-networking-3/nfs-server-on-ubuntu-doesnt-play-nice-with-nfs-client-on-solaris-626508/
    I did a dfshares from the Solaris box, and I actually get a response listing the shares. Even though I can see it I still can't mount it. Here is what I see:
    bash-3.00# dfshares tabasco
    RESOURCE SERVER ACCESS TRANSPORT
    tabasco:/media/Shared tabasco - -
    bash-3.00# mount -F nfs -o ro tabasco:/media/Shared /mnt
    nfs mount: tabasco:/media/Shared: No such file or directory
    bash-3.00#
    NFS is working on the server, as I can mount it locally (see below)
    root@tabasco:/# cat /etc/exports
    /media/Shared *(ro,sync)
    root@tabasco:/# mount tabasco:/media/Shared /mnt
    root@tabasco:/# cd /mnt
    root@tabasco:/mnt# ls
    Videos lost+found Music Pictures Other
    root@tabasco:/mnt#
    Yes... my server''s name is tabasco... remember it's a home network... and I like Tabasco... :)

  • Unknown SQL Exception 208 occurred. Additional error information from SQL Server is included below.Invalid object name 'Webs'.

    SP 2013 Server + Dec 2013 CU. Upgrading from SharePoint 2010.
    We have a web application that is distributed over 7-8 content databases from SharePoint 2010. All but one database are upgradable. However, one database gives:
    Invalid object name 'Webs'.
    while running Test-SPContentDatabase or Mount-SPContentDatabase.
    EventViewer has the following reporting 5586 event Id:
    Unknown SQL Exception 208 occurred. Additional error information from SQL Server is included below.Invalid object name 'Webs'.
    After searching a bit, these links do not help:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/fd020a41-51e6-4a89-9d16-38bff9201241/invalid-object-name-webs?forum=sharepointadmin
    we are trying PowerShell only.
    http://blog.thefullcircle.com/2013/06/mount-spcontentdatabase-and-test-spcontentdatabase-fail-with-either-invalid-object-name-sites-or-webs/
    In our case, these are content databases. This is validated from Central Admin.
    http://sharepointjotter.blogspot.com/2012/08/sharepoint-2010-exception-invalid.html
    Our's is SharePoint 2013
    http://zimmergren.net/technical/findbestcontentdatabaseforsitecreation-problem-after-upgrading-to-sharepoint-2013-solution
    Does not seem like the same exact problem.
    Any additional input?
    Thanks, Soumya | MCITP, SharePoint 2010

    Hi,
    “All but one database are upgradable. However, one database gives:
    Invalid object name 'Webs'.”
    Did the sentence you mean only one database not upgrade to SharePoint 2013 and given the error?
    One or more of the following might be the cause:
    Insufficient SQL Server database permissions
    SQL Server database is full
    Incorrect MDAC version
    SQL Server database not found
    Incorrect version of SQL Server
    SQL Server collation is not supported
    Database is read-only
    To resolve the issue, you can refer to the following article which contains the causes and resolutions.
    http://technet.microsoft.com/en-us/library/ee513056(v=office.14).aspx
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Error while exporting data from sql server to excel

    Hi,
    I am trying to export data from sql server to excel.
    The query that I used is s follows
    INSERT INTO OPENROWSET( 'Microsoft.Jet.OLEDB.4.0', 'Excel 8.0;Database=C:\Folder1\abc.xls','select * from [Sheet1$A1:IV65000]')
    select 
    column1,column2.... from Table1
    I get the following error message while doing so..
    String or binary data would be truncated.
    The statement has been terminated.
    One of the column's holds data more than 225 characters.
    What is the way to correct this, i want the whole data of the colum in the excel sheet.

    I haven't had great luck with the INSERT INTO OPENROWSET method.  Can you try one of the many samples from one of these 3 links?
    http://www.excel-sql-server.com/excel-sql-server-import-export-using-vba.htm#Excel%20Data%20Export%20to%20SQL%20Server%20Test%20Code 
    http://www.mssqltips.com/sqlservertip/1540/insert-update-or-delete-data-in-sql-server-from-excel/
    https://www.simple-talk.com/sql/database-administration/getting-data-between-excel-and-sql-server-using-odbc--/
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • Is it possible to load a dump file collected from sql server to orcle 10gR2

    Hi..
    As a part of data migration from legacy systems , we need to migrate only required tables from Sql server to Oracle 10gr2 .
    At present client is telling that he will give it as dump file.
    My question is , Is it possible to load the dump file collected from sql server to oracle 10gR2?
    Thanks in advance ..

    yes, it is.
    Using for example SQL Developer Migration Workbench even allows you to create unload scripts for the desired SQL Server tables and it also creates the DDL scripts for you to create the Oracle tables similar to the SQL Server table AND it alows creates the SQL*Loader scripts that allow you to load the SQL Server generated dump file into the Oracle db.
    Here the link:
    http://www.oracle.com/technology/tech/migration/workbench/index_sqldev_omwb.html
    If you do not want to use this utility, you can also use SQL*Loader to load the content of the SQL Server dump file into the Oracle database; but in this case you have to write the whole SQL*Loader control scripts on your own.
    Edited by: kgronau on Sep 16, 2009 1:54 PM

  • SQL database login for 'SharePoint_Config_2010' on instance 'DB server' failed. Additional error information from SQL Server is included below.

    we formatted Database server and restored all the databases from the backup. but the sharepoint site is giving below error when i access the home page. 
    we have 3 application servers in that two are working fine,  but only one server getting the below error. 
    SQL database login for 'SharePoint_Config_2010' on instance 'db server' failed. Additional error information from SQL Server is included below.
    Login failed for user 'domain\user'.
    could you help what is the issue?

    Hi,
    According to your post, my understanding is that you failed to access sharepoint site with one application server.
    It was due to the MOM/SCOM Agent that has a SharePoint management pack installed, the agents Windows Service runs as ‘Local System’ and thus causes this.
    The workaround is to either kill the SCOM agent service, or set it to run as a dedicated service account.
    In addtion, I recommend to add the logon account of the SharePoint Timer service as a user of the SharePoint_Config database. Give role membership to the account db_owner.
    You also need to add the SharePoint accounts back into sql server.
    There are some similar articles for you to take a look at:
    http://blog.blksthl.com/2012/04/26/login-for-sharepoint_config-login-failed-for-user-domaincomputername-scom-agent/
    http://msdn.microsoft.com/en-us/library/jj551781(v=nav.70).aspx
    http://sharepoint.stackexchange.com/questions/51623/moved-sql-databases-for-sharepoint-2010-and-now-have-a-3351-error
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Error while reversing data from SQL Server to ODI

    hi,
    I was reversing data from SQL Server Java 1.6_022 in ODI Java 1.5, I was getting error Version Mismatch and I updated ODI Java version to 1.6_022.
    And now, I am getting the below error while reversing the data from SQL Server database.
    0 : 08001 : java.sql.SQLException: No suitable driver
    Looking for the assistance on the same.
    Thanks,
    Abhay

    If everything is fine the reversing should be fine. I would say check again if the Technology of the Model and the also the dataserver is created under the right Technology in topology too.
    also if this doesn't help , Please tell us the steps you have carried so far . Also can you try selective reverse is it showing the tables.

  • 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

  • Msg 0, Sev 0, State 1: Unknown token received from SQL Server [SQLSTATE HY000] String data, right truncation [SQLSTATE 01004] [SQLSTATE 08S01] error

    I'm looking for some general guidance on this complete error:
    Msg 0, Sev 0, State 1: Unknown token received from SQL Server [SQLSTATE HY000]
    String data, right truncation [SQLSTATE 01004]
    Msg 16389, Sev 16, State 1: The connection is no longer usable because the server response for a previously executed statement was incorrectly formatted. [SQLSTATE 08S01]
    This error is caused by a SQL Agent Job, but it does not always occur. I understand this could be an issue with SQL dropping the connection, but what is the best way to troubleshoot this?
    Thanks,
    Phil

    Hi philliptackett77,
    It would be more helpful for troubleshooting the issue if you post the SQL Server error log and SQL Server version. Additionally, please state what purpose of using the agent job.
    Based on my research, [SQLSTATE 08S01] error means communication link failure. If the executed statement returns invalid value in the job, the connection between server and client will fail. This error could be caused by the error of [SQLSTATE HY000] and
    [SQLSTATE 01004]. I’d like to share my knowledge about these errors as below.
    Quote: String data, right truncation [SQLSTATE 01004]
    This error could occur when passing data whose length is larger than the received object,and the passed value is truncated, and returns invalid value. So please check if the data type of the objects are identical and the length of passed value is not larger
    than the received object.
    Quote: Msg 0, Sev 0, State 1: Unknown token received from SQL Server [SQLSTATE HY000]
    The error could occur in the two cases below.
    1. If you use SQL Server version 6.50, and execute the cursor in the job step, set the statement options to use a server-side cursor and prepare a select statement on a SQL Server system table. The first execution of the select creates the cursor successfully.
    After you close this cursor, if you execute the prepared statement again, the error could occur.
    I recommend you to apply the latest service pack firstly. If the error still occurs, you could change your code by using a forward-only cursor instead of a static, keyset, or dynamic cursor on the system tables. If a forward-only cursor is unacceptable,
    prepare the select statement again on the system table and execute it to create a server-side cursor. For more information about the process, please refer to the article:
    http://support.microsoft.com/kb/151693/en-us
    2. The TDS stream from the server is invalid when transfer data between a database server and a client. This error is typically caused by a problem on the server. For more information about errors above, please refer to the article:
    http://technet.microsoft.com/en-us/library/aa937531(v=sql.80).aspx
    Regards,
    Michelle Li

  • Event 3351, SQL database login for 'DB_Config' on instance failed. Additional error information from SQL server is mentioned below. Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.

    category-database
    event id-3351
    source-sharepoint foundation
    SQL database login for 'DB_Config' on instance 'DB\instance' failed. Additional error information from SQL Server is included below:
    Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
    I have been getting this error every hour on only 1 application server of the 2.
    My farm consists of 2 app servers, 2 wfes & 2 sql nodes.
    My public site is working fine. Authentication is NTLM.
    SharePoint VSS Writer is disabled.None of my appPool accounts are running under local system.
    I have read many forums/blogs, but couldnt find a solution for this.
    Any help would be appreciated!

    Hi,
    As I understand, you found event id 3351 in event log. Please collect more information as below:
    Check if the error also occurs on other servers in your farm.
    Check if backup job is scheduled at the time when the event id occurs.
    Please run Config Wizard or psconfig.exe -cmd secureresources on all servers and test the issue again.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Load Data from SQL Server to Oracle 10g using Sql*loader utility

    I am trying to lod data from sql server 2005 to oracle 10g.
    What is the best way to do it?
    Can sql*loader utility do it?
    what is the difference of using sql*loader utility and migration tool fom sql developer ?
    Thanks
    Edited by: user11313758 on Sep 30, 2009 4:30 PM

    Hello:
    You could consider using Oracle Heterogeneous Services to do this. If your Oracle database is on a Windows platform the link below shows you how to make a connection to SqlServer from an Oracle database.
    http://www.databasejournal.com/features/oracle/article.php/3442661/Making-a-Connection-from-Oracle-to-SQL-Server.htm
    Varad

  • Unknown SQL Exception 0 occurred. Additional error information from SQL Server is included below.

    Log Name:      Application
    Source:        Microsoft-SharePoint Products-SharePoint Foundation
    Event ID:      5586
    Task Category: Database
    Level:         Error
    Keywords:     
    User:          DOMAIN\SA account
    Unknown SQL Exception 0 occurred. Additional error information from SQL Server is included below.
    The target principal name is incorrect.  Cannot generate SSPI context.
    This is the error, if often find in my WFE's. I googled for the error and granted DB owner roles for the service account as specified in TechNet, but no luck.
     Even same error logs generated on SharePoint logs.
    SqlError: 'The target principal name is incorrect.  Cannot generate SSPI context.'   
    Source: '.Net SqlClient Data Provider' Number: 0 State: 0 Class: 11 Procedure: 'GenClientContext' LineNumber: 0 Server: 'servername\SHAREPOINT,4101'       
    f2cbcc9c-ac65-7084-fcab-4d2943cdfdea
    Unknown SQL Exception 0 occurred. Additional error information from SQL Server is included below. 
    The target principal name is incorrect.  Cannot generate SSPI context.         
    f2cbcc9c-ac65-7084-fcab-4d2943cdfdea
    System.Data.SqlClient.SqlException (0x80131904): The target principal name is incorrect. 
    Cannot generate SSPI context.     at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions
    userOptions, DbConnectionInternal& connection)    
    at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)    
    at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)    
    at System.Data.ProviderBase.DbConnecti...            
    f2cbcc9c-ac65-7084-fcab-4d2943cdfdea
    Thanks.
    Badri

    For SharePoint to recognize the SQL server name we provide its name and instance while installing SharePoint. When we are using SQL alias to connect to SQL, we need to configure the same alias on SharePoint server so that SharePoint recognize alias over
    the network. 
    Having SharePoint connect to a SQL Alias instead of the NetBIOS name is always a good idea. The main benefit is, if you ever have to switch the SQL Server or connect to a SQL Cluster VIP address, you just change the Alias to point to the SQL Cluster name
    on the SharePoint Server and restart the SharePoint Timer Service and you are good to go.
    Please check this blog.
    http://blogs.msdn.com/b/priyo/archive/2013/09/13/sql-alias-for-sharepoint.aspx
    http://technet.microsoft.com/en-us/library/hh292622(v=office.15).aspx
    Thank You, Pallav S. Srivastav ----- If this helped you resolve your issue, please mark it Answered.

  • Error in Oracle 10 Procedure - converted from SQL Server

    I have converted the folowing script from SQL Server proc to Oracle Proc; it compiles with a warning "30 Hint: Comparision with NULL in 'sp_MyEmployee'"
    When this proc is executed; it generates an error "ORA-00900: invalid SQL statement"
    Please help!
    CREATE OR REPLACE PROCEDURE osp_DMEmployee(v_ahRole IN VARCHAR2 DEFAULT null,
                        v_Exclusion IN varchar2 DEFAULT null) as
    v_MyString varchar2(32767);
    v_spot NUMBER(5,0);
    v_str varchar2(8000);
    v_email varchar2(5000);
    SWV_Exclusion varchar2(5000);
    BEGIN
    SWV_Exclusion := v_Exclusion;
    v_MyString := 'SQLWAYS_EVAL# exprsnlid, dmdescription, dmregion, dmfieldloc, dmbusentity,
                                  dmemployeenum, dmusername, dmtitle, dmemail, ahrole
                             FROM dm_Employee WHERE dmEmail is NOT NULL';
    if v_ahRole is not NULL then
    IF v_ahRole = 'PLANNER' then
    v_MyString := v_MyString || 'SQLWAYS_EVAL# AND (DMTitle like ''%Coord%'' OR DMTitle like ''%Planner%'' OR DMTitle like ''%Svc Leader%'') ';
    end if;
    IF v_ahRole = 'TECHNICIAN' then
    v_MyString := v_MyString || 'SQLWAYS_EVAL# ''' || v_ahRole || 'SQLWAYS_EVAL# is NOT NULL ';
    end if;
    IF v_ahRole = 'SUPERVISOR' then
    v_MyString := v_MyString || 'SQLWAYS_EVAL# ''' || v_ahRole || 'SQLWAYS_EVAL# is NOT NULL ';
    end if;
    end if;     
    IF SWV_Exclusion is NOT NULL then
    /* WHILE SUBSTR(CAST(SWV_Exclusion AS VARCHAR2),1,4000) <> '' LOOP */
    WHILE SWV_Exclusion <> '' LOOP
    v_spot := instr(SWV_Exclusion,',');
    IF v_spot > 0 then
    v_str := SUBSTR(SWV_Exclusion,1,v_spot -1);
    SWV_Exclusion := SUBSTR(SWV_Exclusion,-(LENGTH(SWV_Exclusion) -v_spot));
    ELSE
    v_str := SWV_Exclusion;
    SWV_Exclusion := '';
    end if;
    IF v_email is NOT NULL then
    v_email := v_email || ',' || ' ''' || SUBSTR(v_str,1,100) || ''' ';
    ELSE
    v_email := ' ''' || SUBSTR(v_str,1,100) || ''' ';
    end if;
    END LOOP;
    end if;
    v_MyString := v_MyString || 'SQLWAYS_EVAL# IN (' || v_email || ')';
    v_MyString := v_MyString || 'SQLWAYS_EVAL# ail';
    DBMS_OUTPUT.PUT_LINE(SUBSTR(v_MyString,1,250));
    EXECUTE IMMEDIATE v_MyString;
    RETURN;
    END;

    1) When discussing an error, please copy the actual error message. Usually you will get a line number to assist investigation;
    2) Please refer to the FAQ (upper right corner of page) to show how to preserve code and make your question more readable;
    3) Please ask the question in a forum that deals with the topic - such as "Database - General" (look for "Forum Home" link at top left of page)
    4) Please note that the title of this forum is "Community Feedback and Suggestions (Do Not Post Product-Related Questions Here)"
    (And ... did you display the SQL that you were attempting to execute. Execute Immediate is a last resort style of programming - not nice for most Oracle apps.)

  • Quick Migrate from SQL Server error

    I am attempting to migrate my databases from SQL Server 2000 to Oracle 11g. I am attempting to use the quick migrate feature of Oracle SQL Developer and receiving an error, the same error for every database during the build stage. The error is as follows. Any ideas as to resolve this error?
    Error starting at line 2 in command:
    CREATE TABLE EMPLOYEE (
    Error at Command Line:2 Column:23
    Error report:
    SQL Error: ORA-00904: : invalid identifier
    00904. 00000 - "%s: invalid identifier"
    *Cause:   
    *Action:
    Commit
    Oracle 11g on Windows XP and version 1.2.1.32.13 of sql developer
    Brian
    Message was edited by:
    user606370

    We have two more customers that currently are in the process of upgrading from MS SQL but as far as I know no one has actually performed an upgrade this far.
    If you want to upgrade to OIM 9.1 you will have to wait until the upgrade scripts are available (estimated arrival H2 2008 according to the latest info I have).
    If you would like to discuss this further send me an email on firstname.lastname@my_company.com (you can get the "variables" from my forum profile)
    Best regards
    /M

  • Loading Dimension members from SQL Server 2005 to Essbase Outline.

    Hi Everybody,
    I need to load dimension members from SQL server 2005 to Essbase outline:
    Option 1:
    I can retrive members from SQL to text file and then using Rule files load dimension members into outline.
    option 2:
    Using SQL Interface in System 9.
    Option 3:
    I can use ETL tools (ODI, Informatica etc)
    I used Option 3 frequently and familier with, But i would like to use option 1 & option 2. If anybody has used option 1/2 kindly advice with correct steps
    I would be very greatful for any help.
    Version: 9.3.1
    Regards
    Kumar N

    Hi Kumar,
    For Option 2:
    You have to create one DSN for the particular database(SQL Server) from where you want to retrieve the data.
    Then Open Data Prep Editor and From File Menu Click on Open SQL and it will ask for the DSN connection details.
    Enter the DSN details and write the query....
    Thanks,
    prathap

Maybe you are looking for