Issue with Date Datatype while importing from SQL Server to OBIEE

Hi,
We have a column in SQL Server Database with datatype as Date. When we imported this column into the Physical layer of OBIEE rpd,
the datatype of this column is getting converted to VarChar automatically. Has anyone faced this issue before?
Please let me know if you have a solution for this.
Thanks in advance.

Hi,
How are you passing this date parameter ?
Instead of passing this parameter in date format, you can pass this as string and then in PL/SQL package, you can convert this string to date.
--Sushant                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Issue with data Validation while migrating from one application to another

    Hi All,
    I am having a strange issue Kindly please help me .
    I have a data form which have data validation on each cell.The dataform is quite large and contain data for 4 accounts and year (Jan to Dec) combination .The issue is that I when I migrate this data form to other application which is just the replica of the main application. The validation on each cells changes its reference points.
    I have 5 more similar data form and I need to migrate then to other application and also on production sever. Is there any way that while exporting and importing them using formutil.cmd or other way that the validation cells reference does not change its reference point.
    For ex I have validation on Cell A5,A6..........AA6 after migrating it changes to A1,A1.........AA1.
    I am using 11.1.2.1.0 version of Hyperion Planning
    Kindly please help.
    Thanks in advance
    Vikash
    Edited by: user11391767 on Nov 30, 2011 10:47 AM

    Hi Mehmet,
    I tried using the FormDefUtil.cmd .But by using this the reference points of validation changes to first cell when imported.
    Thanks
    Vikash

  • Unable to access objects in my own schema -- imported from SQL Server

    Hi All,
    I have imported some tables from MS SQL SERVER 2005 to Oracle 9i (9.2.0.1.0) on Windows machine.
    When I fire the query like "SELECT * FROM TAB", I can see the list of all those tables that I have imported, but the problem is that if I try to fetch the data from a specific table, the error is shown as "TABLE OR VIEW DOES NOT EXISTS".
    Can you please suggest me some work around to get the data from the tables?
    Thanks in advance
    Himanshu

    Replied in your Re: Unable to access objects in my own schema -- imported from SQL Server.
    Yoann.

  • Import from sql server to OWB

    I have a sql server source, and the target is oracle10.2. OWB 10.2. I can connect to connect to sql server from sql*plus and see the data.
    In OWB i imported the tables and created a simple mapping 1:1. It Validated and generated code successfully.
    When i deploy the mapping first time i am not getting error message but i get 6 warning messages. but when i deploy the mapping second time i am getting following error and 6 warning messages.
    Name Action Status Log
    NON_ORACLE_SS_LOCATION1 Create Error RA-02011: duplicate database link name
    SRT_I_ODBC_M Create Warning ORA-06550: line 11, column 3: PL/SQL: SQL Statement ignored
    SRT_I_ODBC_M Create Warning ORA-06550: line 147, column 7: PL/SQL: SQL Statement ignored
    SRT_I_ODBC_M Create Warning ORA-06550: line 177, column 3: PL/SQL: ORA-00942: table or view does not exist
    SRT_I_ODBC_M Create Warning ORA-06550: line 26, column 3: PL/SQL: ORA-00942: table or view does not exist
    SRT_I_ODBC_M Create Warning ORA-06550: line 34, column 3: PL/SQL: SQL Statement ignored
    SRT_I_ODBC_M Create Warning ORA-06550: line 49, column 3: PL/SQL: ORA-00942: table or view does not exist
    can i know where exactly i am going wrong?

    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

  • Data length problem migrating from sql server 7 to oracle 8i

    I just migrated SQL Server 7 database to Oracle 8i db and everything seemed to have ran ok except that in my newly created oracle database, the field size is doubled. For instance a field with nvarchar(4) in sql server would convert to varchar2(8). Has anyone ran into this problem and also does anyone know how to fix it? Thank you so much.

    Hi Roberto,
    You cannot use Workbench 1.2.2 to migrate from SQL Server 7 to
    Oracle 8.
    However, the good news is that we have a new verion of the
    workbench that will have a plugin that can migrate from SQL
    Server 7.0 to Oracle8.
    A beta version will be downloadable from this web-site in approx
    one week. Eventhough this version is a beta version, it has
    undergone some rigourous testing and is very close to production.
    Regards
    John
    Roberto Werneck (guest) wrote:
    : I would like to know if it is possible to use the workbench
    : 1.2.2 to migrate from SQL Server 7 to Oracle 8. If possible
    what
    : kinds of problems would i probably have. If not, how can i get
    : the Beta version ?
    : Thanks,
    Oracle Technology Network
    http://technet.oracle.com
    null

  • How to import  from sql server to oracle 10g

    Hi,
    I have given some file with no extention and the client told me that
    it has two tables in it emp and dept. which he extracted from sql server.
    Now I have the file with me.
    I have a local oracle database .
    Is it poosible to load that file into the oracle 10g database.
    If possible please send me the details. If not please tell me the details reqd to do the things.
    Thanks in Advance

    Well, what format is the file in? If it is a text file you should be able to use SQL*Loader.
    Can you view the file using (for example) Wordpad?
    Or from the command line (ie in a DOS box) just say
    TYPE myfileThen post the format for a few lines here, between and (use square brackets instead of curly)
    Regards Nigel

  • Importing from SQL Server - Performance

    Hello,
    I am developing an Access 2010 database with a SQL Server 2008 R2 backend. I would be interested in getting some feedback on which method of retrieving the results from SQL Server and displaying them in Excel would show the best performance. Assume the following
    options.
    1. Create a pass-through query in Access and execute the following VBA code;
    Set qdf = db.QueryDefs("qry_Passthrough")
    SQL = "SELECT * FROM qry_Passthrough WHERE ID = 1"
    Set rst = qdf.OpenRecordset(SQL, dbOpenSnapshot)
    2. Create a pass-through query in VBA code;
    Set qdf = db.CreateQueryDef("")
    qdf.SQL = "SELECT * FROM tbl_Data WHERE ID = 1"
    Set rst = qdf.OpenRecordset(dbOpenSnapshot)
    3. Create an inline table valued function (itvf_Data) and pass in the ID parameter;
    Set qdf = db.CreateQueryDef("")
    qdf.SQL = "SELECT * FROM dbo.itvf_Data (1)"
    Set rst = qdf.OpenRecordset(dbOpenSnapshot)
    4. Create a View in SQL Server and return the results;
    Set qdf = db.CreateQueryDef("")
    qdf.SQL = "SELECT * FROM vw_Data WHERE ID = 1"
    Set rst = qdf.OpenRecordset(dbOpenSnapshot)
    5. Create a linked View in Access to reference vw_Data;
    SQL = "SELECT * FROM dbo_vw_Data WHERE ID = 1"
    Set rst = qdf.OpenRecordset(SQL, dbOpenSnapshot)

    1.,2.: As long as it's a passthrough the creation of it does not influence the performance.
    3.: A TVF is a good development tool. As long as you call it only with parameters, it's imho okay. The problems begin when you need additional condtions. Adding them as WHERE clause may affect performance, cause SQL Server cannot optimize them well.
    4./5. Server-side views are clearly the best approach. Due to o9ptimization and plan caching by SQL Server.

  • Unexpected Termination SSIS package - Issue with SSIS packages after upgrading to SQL Server 2014

    Hello everyone.
    We performed an upgrade of SQL Server 2012 installation to SQL Server 2014 (with last CU5 update). We found that all SSIS packages (even the simplest with just Execute SQL tasks) fail with Unexpected termination message. The issue reproduces with both new
    packages (that are created from scratch with SSDT 2014) and old packages (migrated from SQL 2012).
    Any ideas, please? We googled and found that it is a known issue that should have fixed with CU4. But we use CU5 and the issue is still here.
    MCP

    Hi. Yes...
    - <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    - <System>
      <Provider Name="SQLISServer" /> 
      <EventID Qualifiers="0">1</EventID> 
      <Level>2</Level> 
      <Task>0</Task> 
      <Keywords>0x80000000000000</Keywords> 
      <TimeCreated SystemTime="2015-02-12T07:41:56.000000000Z" /> 
      <EventRecordID>469950</EventRecordID> 
      <Channel>Application</Channel> 
      <Computer>abtru1a11.oneabbott.com</Computer> 
      <Security /> 
      </System>
    - <EventData>
      <Data>The SSIS Execution Process could not write to the IS catalog: ABTRU1A11\DEV:SSISDB Error details: Cannot find the symmetric key 'MS_Enckey_Proj_Param_5', because it does not exist or you do not have permission.; at System.Data.SqlClient.SqlConnection.OnError(SqlException
    exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior
    runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData()
    at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream,
    Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion,
    Int32 timeout, Task& task, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior
    behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader() at Microsoft.SqlServer.IntegrationServices.Server.Shared.ExecutionParameterLoader.GetExecutionParameter() at Microsoft.SqlServer.IntegrationServices.Server.ISServerExec.ProjectOperator.StartPackage()
    at Microsoft.SqlServer.IntegrationServices.Server.ISServerExec.ProjectOperator.PerformOperation()</Data> 
      </EventData>
      </Event>
    MCP

  • Migrate Data action hanging migrating from sql server to Oracle 10g

    Hi,
    I am currently migrating a SQL Server 2005 db to Oracle 10g using SQL Developer 1.2.1. I have created the migration repository, captured the SQL Server db objects, and created the target schema. There are about 109 tables captured. During Data migration, however, the data move hangs. I have run the data move a couple of times now and it does not hang while migrating any particular table, but seems to be more to do with the length of time it is taking to migrate. Could this be an issue with SQL Server connections being lost? The SQL Server db is quite large. Row counts of 100k plus.
    Message was edited by:
    user596259

    Probably. There is an offline option for migrating data under the migration menu. Generate Scripts for the data move using the appropriate converted model and u can export the data to bcp export files and load it with teh generated SQL Loader scripts.

  • Error while Importing from Dev Server using Transport Request.

    Hello Everyone,
                               Please help me on the following problem.
    I imported my package which consists of 2 reports, one module pool and one copied standard Function Group consisiting of 3 FM's from my DEV server to Quality Server using Tranport Request(Co files and Data files) It was successful.
    However due to some reasons , i need to delete everyting from Quality Server.
    So i again created a new request and assigned everything again to this new request. But now some objects are imported like Reports but module pool and Function Group incudind FM's are not imported...
    Can anyone tell me why?
    And What should i do in this case?

    Yes when i tried to import the Request and checked the logs, it says Error.
    The Log is like.
    Selection for Import                     17.08.2011 17:03:13    (0) Successfully Completed
    Import ABAP Dictionary Objects           17.08.2011 17:03:28    (0) Successfully Completed
    ABAP Dictionary Activation               17.08.2011 17:03:36    (4) Ended with Warning
    Import                                   17.08.2011 17:03:59    (8) Ended with errors
    Check Versions                           17.08.2011 17:04:00    (0) Successfully Completed
    Generation of Programs and Screens       17.08.2011 17:04:06    (4) Ended with Warning
    I have checked everything for Module Pool also as well as for FG but i am unable to understand te problem.
    My one colleague is saying you need to have a new name for each object.

  • How can I get a date without the hour from sql server 2000 ?

    hellou!
    I have a JTable, and one of it's columns has to show a date. This date i have to show is specified as datetime on the Sql Server 2000 database where I have to take the data.
    the query of the dataset attached to the JTable is something like "select * from Table".
    The problem is that the JTable column that displays the date shows the date and the hour, for example:
    7/10/04 0:00:00
    and I need to show the date without the hour, only the 7/10/04. Can anyone tell me how to do that?
    thank you very much! : )

    The easiest way to format a date is with java.text.SimpleDateFormat. When creating it you pass a format string which can be used to parse or format date objects.
    SimpleDateFormat formater = new SimpleDateFormat( "MM/dd/yyyy" );
    // Get date objects directly from sql
    Date foundDate = result.getDate( 1 );  //where result is the ResultSet and 1 is the date column
    String formatedDate = formater.format( foundDate );Now the JTable's table model can be adjusted to store a formated String instead of a Date. If for some reason it is required to store the value as a Date overload the table model to return the formated string when getValueAt is called.

  • Issue with XML nodes while Import

    Hi I am trying to import R3 data to MDM via XI. In my XML that generated from XI, has a separate nodes for main table and Qualifier Lookup tables. What happens is, in Import Manager, when a Qualifier Lookup table has only one record for a main table record, then those qualifier lookup table fields are displayed as main table elements. In that case my import MAP won't work for that Qualifier table. Any thoughts/advices?.
    Thanks
    Job.
    Edited by: Job C Daniel on Dec 21, 2007 8:00 AM

    Hi Amol,
      Thanks for your reply. My import map was created based on xml from XI( may be I should have used xsd?). I am using Products (partly customized from standard) repository. I have couple of issues.
    1. In the import manager when I opened the xml from XI, in source hiarchy tree table I see main table node and other QL(Qualifier Lookup) nodes for example Location Data and Sales Data. XI generates one XML for a record. Sometimes Sales Data QL node disappears (in import manager) because it has only one sales data record for that main table record and sales fields are populated as elements of main table node. This inconsistency is going to have problem on my Sales Data QL Map.
    2. Likewise, I do not see Material Number (Main table "Key") in Sales Data or Location Data (QL) nodes in IM. But I need that in order to load qualifier fields.
    Your help on this is appreciated.
    Thanks
    Job.

  • Issue with Data download to excel from ALV

    Hi,
    I am trying to download data to excel from ALV.
    The number of records are 26000.
    When I am trying to download I am getting an error displaying a pop up saying that
    problems came up in the following areas during the load
    TABLE
    The log displayed is not clear.
    I need to know the limitations while downloading to excel... I tried in SDN but of no use. I am using office 2007.
    What is the max downloading limit(MB)
    What must be the Length of line that can be downloaded.
    Regards

    Hi ,
    First check whether your ALV grid OUTPUT   is Consistent or Not   .
    if there are any inconsistency  then you need to rectify that  .
    for Checking COnsistency / Inconsistency  .do following steps
    1) execute ALV report 
    2) Press Shift+Mouse Right Button (Twice)  in blank area of report 
    3) you will get result   whether ALV is good or not .
    regards
    Deepak.

  • Issue in date format while running from page

    Hi
    I have the following SQL which is well executing in DataBase...
    SELECT to_char(to_date('05-JUN-2010','DD-MON-YYYY'),'DD-MM-YYYY') param_Val FROM dual
    But when i am using the same query in the JSP page...
    it is giving the invalid month exception:1863
    Please Help me in this issue
    Thanks

    I got the solution to this problem.
    mm - stands for minutes
    MM - stands for month.
    When I changes the pattern to "MM-dd-yyyy". I got the correct month.

  • Issue with date datatype

    Hi Team
    I am very much confused in the date related coversion
    for example if i query
    select name, hire_date from employee
    the o/p looks like this
    suresh 5/24/1999 but if i need to display like 24-may-1999 what i should use
    and please help me in understanding
    TO_CHAR,TO_DATE,TO_NUMBER function i bit confused in this ?please can get some suggestion in laymensterm
    Thanks
    Suresh

    RTM.
    You can find all the manuals at :
    http://tahiti.oracle.com/
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/functions203.htm#SQLRF06132
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/sql_elements004.htm#i34924
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e17125/adfns_sqltypes.htm#ADFNS00304
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/sql_elements002.htm#i46862
    PS: http://forums.oracle.com/forums/ann.jspa?annID=719
    Edited by: zep111 on May 6, 2011 2:24 PM

Maybe you are looking for

  • Is there a way to enable the "protect tones" box while working in Lab mode for dodging and burning?

    Is there a way to enable the "protect tones" box while working in Lab  Color mode for dodging and burning?

  • Web Service Activity problem

    Hi, I want used the "Invoke Web Service" activity but my "WSDL URL" don't work. However, when I put my url (http://172.31.194.112:8080/contactRH/services/ContactRHAccess?wsdl) on IE, I can read my web service. I think that don't work because this url

  • Custom Field in TCode VA02, Screen 102, Program SAPLEB

    Hi, We ant a custom field on screen number 102 program SAPLEBNE, TCode VA02. To achieve this we have added a custom field in structure CI_EBANDB in table EBAN. However the field is not visible on the screen. To navigate to the screen, where we want t

  • Looks good in FCE but DVD looks bad

    Hi Guys hope you can help, Have FCE, imports from sony handycam , everything looks good and tight in FCE but when exported to iDVD the finished product looks terrible, hard to describe but looks blurry, almost a ghosting to motion shots, this doesn't

  • Download Agent Software Error

    All, I'm stumped. I have upgraded two Grid Control servers to 10.2.0.5 (non-RAC'd) and one of the servers let me download agent software under the Deployments->Download Agent Software page but the other Grid Control server is giving me and error on a