[nQSError: 46033] Datatype: 25 is not supported

Hi All,
Ive imported a table from sql server into OBIEE repository now the issue is in the physical layer when we on viewdata for a particular coulumn it throws the following error and for the rest of the columns data is coming up.
Datatype: 25 is not supported
Can any one suggest the workarounds ?
Thanks in Advance ....

Hi,
Did you try searching in google?
Here are the results i am getting
http://www.google.com/search?q=nQSError%3A+46033&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
http://siebel.ittoolbox.com/groups/technical-functional/siebel-analytics-l/siebel-answers-error-1455832
Using IFNULL returns failure on Opportunity Custom Date Field
http://download.oracle.com/otndocs/products/bi/bi-ee/docs/784/AnyMsg.pdf
-Arun

Similar Messages

  • [nQSError: 22019] Function Sum does not support non-numeric types. OBIEE11G

    I have the following error when using COUNT on a non-numeric column in OBIEE 11g
    I cannot seem to find the root cause. I tried to recreate the RPD with the same aggregations an joins and the issue disappears. However, the issue seems to persist in the original RPD that is being used by the business. I cannot seem to find any differences w the RPD.
    Any thoughts?

    Hi Rahul,
    this question does not seem to be related to SQL and PL/SQL forum.
    I guess you could use {forum:id=64} or {forum:id=61} forums.
    Regards.
    Al

  • Trouble referencing BI Publisher parameters in SQL Query (nQSError: 46033)

    Hello everyone,
    I have a query that references some Parameters I created in BI Publisher. They are:
    grade_var of type String
    school_var of type String
    school_year of type String
    The SQL used to for the data model of the report is:
    SELECT "KW School Year"."School Year", "KW Grade"."Grade Seq Nbr", "KW Grade"."Grade Desc", "KWC Enrolment"."Student Count", +(case WHEN "KW School"."School Name" = 'Campbell Collegiate' then "KW School"."School Name" else 'Z - Other School' end)+
    FROM "Sask DW"
    WHERE ("KW Student"."Student Nbr" IN
    (SELECT "KW Student"."Student Nbr"
    FROM "Sask DW"
    WHERE ("KW School"."Post Secondary Institute Ind" = 'N')
    AND ("KW Enrolment Outcome"."Enrolment Outcome" NOT IN ('Deceased', 'Transferred to out-of-country schooling', 'Transferred to out-of-province schooling'))
    AND ("KW Grade"."Grade Desc" = :grade_var)
    AND ("KW School"."School Name" = :school_var)
    AND ("KW School Year"."School Year" = :school_year_var)) )
    AND ("KW School"."Post Secondary Institute Ind" = 'N')
    AND ("KW Enrolment Outcome"."Enrolment Outcome" NOT IN ('Deceased', 'Transferred to out-of-country schooling', 'Transferred to out-of-province schooling'))
    AND +("KW School Year"."School Year" >= '2005/2006')+
    The above query works great and I can get back results and throw them into a template and it works great. The problem comes when I want to change what is highlighted in italics text. School Name and School Year values are hard coded into the SQL but I want those to reference the value of the BI Publisher parameter. It seems to work fine in the bolded part but when I put the paramater name into the italics part, I get the error message:
    java.io.IOException: prepare query failed[nQSError: 46033] Datatype: 25 is not supported.
    The query I am trying to submit is (changes highlighted in bold):
    SELECT "KW School Year"."School Year", "KW Grade"."Grade Seq Nbr", "KW Grade"."Grade Desc", "KWC Enrolment"."Student Count", *(case WHEN "KW School"."School Name"=:school_var then "KW School"."School Name" else 'Z - Other School' end)*
    FROM "Sask DW"
    WHERE ("KW Student"."Student Nbr" IN
    (SELECT "KW Student"."Student Nbr"
    FROM "Sask DW"
    WHERE ("KW School"."Post Secondary Institute Ind" = 'N')
    AND ("KW Enrolment Outcome"."Enrolment Outcome" NOT IN ('Deceased', 'Transferred to out-of-country schooling', 'Transferred to out-of-province schooling'))
    AND ("KW Grade"."Grade Desc" = :grade_var)
    AND ("KW School"."School Name" = :school_var)
    AND ("KW School Year"."School Year" = :school_year_var)) )
    AND ("KW School"."Post Secondary Institute Ind" = 'N')
    AND ("KW Enrolment Outcome"."Enrolment Outcome" NOT IN ('Deceased', 'Transferred to out-of-country schooling', 'Transferred to out-of-province schooling'))
    AND ("KW School Year"."School Year" >= :school_year_var)
    The parameters are all of type string and all the columns I am comparing them to are VARCHAR. What doesn't make sense is that the parameters can be compared to the columns in the middle of the SQL but when I try a similar comparison near the beginning and at the end, I get the error shown above.
    Any thoughts/tips?
    Thanks!
    Edited by: jmoe316 on Oct 21, 2009 9:43 AM
    Edited by: jmoe316 on Oct 21, 2009 9:49 AM

    Hi Jared,
    Did you have any success with the syntax suggested? I am having the same issue and would like to know if using the parameter as part of the SQL query select statement is feasible. The goal is to have a column dynamically selected based on a parameter value. My example:
    SELECT
    CASE
    WHEN :p_name = 'Joe' THEN table1.column_a
    WHEN :p_name = 'Tom' THEN table1.column_b
    ELSE table1.column_c
    END
    FROM ...
    Regards
    Edited by: user11929404 on Mar 14, 2011 1:18 PM
    Edited by: user11929404 on Mar 14, 2011 1:20 PM

  • Datatype : 25 not supported error while saving Logical Query in BIP Dataset

    Hi All,
    I have created a nested logical Query in OBIEE Publisher Datamodel using parameters.
    Here is the simple query :
    Select name, revenue, date from
    select "SubjectAreaName"."TableName"."Name" name,
    case when :Date > date '2012-01-01' then "SubjectAreaName"."TableName"."Revenue" else NULL end Revenue,
    date date
    from
    "SubjectAreaName"
    where
    date = :Date
    ) T1
    Note - :Date is the parameter. When I try saving this dataset as-is, it throws me Datatype : 25 not supported error. But, when i replace the parameter :Date with actual date, then the query works. Also, the inner query works with or without parameters. The issue arises when I use the outer query and the parameters.
    Please let me know if you have come across such a problem ?
    Any help on this regard would be highly appreciated.
    Thanks
    Swarna

    ya i can understand we wont do the sql logic at the data model part as some time performance issue may come when comparaed to sql run in package and sql running in data model . so i have mostly done using package and i will just do select * from table in the data set of data model so i didn't face any issue's like this .
    once check this tutorial may be you already
    i use to create parameters like this i didn't face any issue
    SELECT * from TEST where ID=:p_id
    http://st-curriculum.oracle.com/obe/fmw/bi/bip/bip11g/gettingstarted/gettingstarted.htm

  • ORA-19201: Datatype not supported when validating XML against an XSD

    Hello.
    Info: using Oracle 10.2.0.1.0, Java components are installed.
    I've created an XML view using ora:view, which is validated against a registered XSD. This view is created successfully.
    But when I SELECT * from this view, it gives ORA-19201 - Datatype not supported.
    Can't understand why. I've matched the XML to the XSD, and the datatypes all look fine to me. I've referred to the XSD using the XMLFORMAT.CREATEFORMAT option. When I use the same option to specify "NO_SCHEMA", it returns the correct XML, but we need to validate it against the XSD.
    I'm thinking one of two things has happened here:
    1. I've made a mistake with either my registration, or how I've used XMLFORMAT to refer to the XSD.
    2. There's a bug in Oracle.
    My money's on 1. Can anyone help?
    Thanks,
    Ray.

    Hello Geoff, I didn't want to send any code until I knew someone was willing to look at it (there's a lot of it).
    Here is the XSD:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <!--W3C Schema generated by XMLSpy v2006 rel. 3 sp1 (http://www.altova.com)-->
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
         <xs:element name="TransInfo">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="PIE_ERROR" type="PIE_ERRORType" minOccurs="0"/>
                        <xs:element name="Transaction" type="TransactionType" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:complexType name="PIE_ERRORType">
              <xs:sequence>
                   <xs:element ref="ERROR_CODE"/>
                   <xs:element ref="DESCRIPTION"/>
              </xs:sequence>
         </xs:complexType>
         <xs:element name="ERROR_CODE">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="0001"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="DESCRIPTION">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="LEAD NUMBER 12345 IS INVALID"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:complexType name="TransactionType">
              <xs:sequence>
                   <xs:element ref="TRANSACTION_NUMBER"/>
                   <xs:element ref="TRANSACTION_STATUS"/>
    <xs:element ref="CONTACT_ID"/>
                   <xs:element ref="INVOICE_NUMBER"/>
                   <xs:element ref="CHANNEL"/>
                   <xs:element ref="CSA"/>
                   <xs:element ref="OPEN_DATETIME"/>
                   <xs:element ref="CLOSED_DATETIME"/>
                   <xs:element name="Orderline" type="OrderlineType" maxOccurs="unbounded"/>
              </xs:sequence>
         </xs:complexType>
         <xs:element name="TRANSACTION_NUMBER">
              <xs:simpleType>
                   <xs:restriction base="xs:int">
                        <xs:enumeration value="3455229"/>
                        <xs:enumeration value="3455230"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="TRANSACTION_STATUS">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="C"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="CONTACT_ID">
              <xs:simpleType>
                   <xs:restriction base="xs:int">
                        <xs:enumeration value="111"/>
                        <xs:enumeration value="222"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="INVOICE_NUMBER">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="123456789"/>
                        <xs:enumeration value="987654321"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="CHANNEL">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="Test 1"/>
                        <xs:enumeration value="Test 2"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="CSA">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="SEARLEA"/>
                        <xs:enumeration value="SILVAJ"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="OPEN_DATETIME">
              <xs:simpleType>
                   <xs:restriction base="xs:dateTime">
                        <xs:enumeration value="2001-10-26T20:32:52"/>
                        <xs:enumeration value="2004-12-06T10:23:25"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="CLOSED_DATETIME">
              <xs:simpleType>
                   <xs:restriction base="xs:dateTime">
                        <xs:enumeration value="2001-10-26T21:32:52"/>
                        <xs:enumeration value="2004-12-06T10:23:25"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:complexType name="OrderlineType">
              <xs:sequence>
                   <xs:element ref="ORDER_QTY"/>
                   <xs:element ref="RETAIL_AMT"/>
                   <xs:element ref="SALE_AMT"/>
                   <xs:element ref="PRODUCT_DESCR"/>
                   <xs:element ref="PART"/>
                   <xs:element ref="IMEI"/>
                   <xs:element name="BankDetails" type="BankDetailsType"/>
              </xs:sequence>
         </xs:complexType>
         <xs:element name="ORDER_QTY">
              <xs:simpleType>
                   <xs:restriction base="xs:int">
                        <xs:enumeration value="1"/>
                        <xs:enumeration value="3"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="RETAIL_AMT">
              <xs:simpleType>
                   <xs:restriction base="xs:decimal">
                        <xs:enumeration value="45.67"/>
                        <xs:enumeration value="54.76"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="SALE_AMT">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="45.67"/>
                        <xs:enumeration value="54.76"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="PRODUCT_DESCR">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="Product test 2"/>
                        <xs:enumeration value="Vodafone Nokia 6230 Pack"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="PART">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="6806"/>
                        <xs:enumeration value="8606"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="IMEI">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="099000000000001"/>
                        <xs:enumeration value="09900078900001"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:complexType name="BankDetailsType">
              <xs:sequence>
                   <xs:element ref="BANK_NAME"/>
                   <xs:element ref="ACCOUNT_NAME"/>
                   <xs:element ref="ACCOUNT_NUMBER"/>
                   <xs:element ref="SORT_CODE"/>
              </xs:sequence>
         </xs:complexType>
         <xs:element name="BANK_NAME">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="HSBC"/>
                        <xs:enumeration value="LLOYDS"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="ACCOUNT_NAME">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="MR A SEARLE"/>
                        <xs:enumeration value="MR J SILVA"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="ACCOUNT_NUMBER">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="87698789"/>
                        <xs:enumeration value="89769082"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="SORT_CODE">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="100928"/>
                        <xs:enumeration value="123346"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
    </xs:schema>
    I then registered this XSD using DBMS_XMLSCHEMA.REGISTER, calling it test_1.xsd. It is visble in USER_XML_SCHEMAS.
    Here are the 15 views used to drive the XML:
    SQL> desc v_pie_branch
    Name Null? Type
    BRANCH NOT NULL NUMBER(4)
    SQL> desc v_pie_branch_feature
    Name Null? Type
    BRANCH_FEATURE NOT NULL NUMBER(10)
    BRANCH NUMBER(4)
    FEATURE_TYPE VARCHAR2(10)
    CHANNEL VARCHAR2(40)
    SQL> desc v_pie_transaction
    Name Null? Type
    TRANSACTION_NUMBER NOT NULL NUMBER(10)
    BRANCH NUMBER(4)
    EMPLOYEE_TRANS VARCHAR2(12)
    CONTACT NUMBER(8)
    OPEN_DAT DATE
    OPEN_TIM DATE
    TRANSACTION_STATUS VARCHAR2(1)
    TRANS_TYPE VARCHAR2(1)
    CLOSED_DAT DATE
    CLOSED_TIM DATE
    INVOICE_NUMBER NUMBER(10)
    INVOICE_DAT DATE
    CSA VARCHAR2(12)
    CREATED_ON DATE
    AMENDED_BY VARCHAR2(12)
    AMENDED_ON DATE
    OPEN_DATETIME VARCHAR2(19)
    CLOSED_DATETIME VARCHAR2(19)
    SQL> desc v_pie_bank_detail
    Name Null? Type
    BANK_DETAIL NOT NULL NUMBER(12)
    BANKCODE VARCHAR2(40)
    SORTCODE VARCHAR2(40)
    BANK_NAME VARCHAR2(60)
    SQL> desc v_pie_account_detail
    Name Null? Type
    ACCOUNT_DETAIL NOT NULL NUMBER(12)
    BANK_DETAIL NUMBER(12)
    ACCOUNT_NUMBER VARCHAR2(40)
    SORT_CODE VARCHAR2(40)
    ACCOUNT_NAME VARCHAR2(40)
    BANKCODE VARCHAR2(40)
    SQL> desc v_pie_account_link
    Name Null? Type
    ACCOUNT_LINK NOT NULL NUMBER(12)
    CONTACT NUMBER(12)
    ACCOUNT_DETAIL NUMBER(12)
    ACC_LINK_TYP NUMBER(12)
    BNK_SINCE DATE
    AC_DET VARCHAR2(40)
    SQL> desc v_pie_compesn
    Name Null? Type
    COMPESN NOT NULL NUMBER(10)
    CONTACT NUMBER(8)
    IMEI VARCHAR2(25)
    SQL> desc v_pie_contact
    Name Null? Type
    CONTACT_ID NOT NULL NUMBER(8)
    CONTACT_TYP VARCHAR2(1)
    COMPANY NUMBER(10)
    BRANCH NUMBER(4)
    DEAD_FLG VARCHAR2(1)
    FORENAME VARCHAR2(20)
    TITLE VARCHAR2(5)
    MID_INITIAL VARCHAR2(1)
    GENDER VARCHAR2(1)
    FRAUD_FLG VARCHAR2(1)
    SQL> desc v_pie_servcon
    Name Null? Type
    SERVCON NOT NULL NUMBER(10)
    CONTRACT NUMBER(10)
    CONNECTION_CURR NUMBER(10)
    CONTACT NUMBER(8)
    SQL> desc v_pie_tpplan_compline
    Name Null? Type
    TPPLAN_COMPLINE NOT NULL NUMBER(10)
    SERVCON NUMBER(10)
    PPLAN NUMBER(10)
    SQL> desc v_pie_tpplan_comp_detail
    Name Null? Type
    TPPLAN_COMPLINE NOT NULL NUMBER(10)
    RULE_DETAIL_NO NOT NULL VARCHAR2(5)
    RULE_DETAIL_LINE NOT NULL NUMBER(2)
    U_VERSION VARCHAR2(1)
    OPTION VARCHAR2(40)
    OPT_STRING VARCHAR2(40)
    SQL> desc v_pie_tpplan
    Name Null? Type
    SERVCON NOT NULL NUMBER(10)
    PPLAN NOT NULL NUMBER(10)
    U_VERSION VARCHAR2(1)
    SQL> desc v_pie_connection
    Name Null? Type
    CONNECTION NOT NULL NUMBER(10)
    CONTACT NUMBER(8)
    ADDRESSNO NUMBER(5)
    TRANSACTION NUMBER(10)
    TPRODLINE NUMBER(10)
    CONTRACT NUMBER(10)
    SERVCON NUMBER(10)
    SQL> desc v_pie_tprodline
    Name Null? Type
    TRANSACTION NOT NULL NUMBER(10)
    TPRODLINE NOT NULL NUMBER(10)
    CONTACT NUMBER(8)
    PRODUCT NUMBER(10)
    ORDER_QTY NUMBER(12)
    RETAIL_AMT NUMBER
    SALE_AMT NUMBER
    SQL> desc v_pie_product
    Name Null? Type
    PRODUCT NOT NULL NUMBER(10)
    PART VARCHAR2(20)
    PRODUCT_DESCR VARCHAR2(40)
    This is the code to create an XML view, validating against the schema:
    create OR REPLACE VIEW v_xml_validate AS
    SELECT SYS_XMLAGG(XMLQuery('
    <PIE_ERROR>
    <ERROR_CODE>"0001"</ERROR_CODE>
    <DESCRIPTION>"There was an error with this customer"</DESCRIPTION>
    </PIE_ERROR>,
    <Transaction>
    {for $t in ora:view("V_PIE_TRANSACTION")/ROW
        ,$ct in ora:view("V_PIE_CONTACT")/ROW
        ,$b in ora:view("V_PIE_BRANCH")/ROW
        ,$bf in ora:view("V_PIE_BRANCH_FEATURE")/ROW
    where $t/CONTACT = $ct/CONTACT_ID
    and   $t/BRANCH = $b/BRANCH
    and   $b/BRANCH = $bf/BRANCH
    return ($t/TRANSACTION_NUMBER
            ,$t/TRANSACTION_STATUS
            ,$ct/CONTACT_ID
            ,$t/INVOICE_NUMBER
            ,$bf/CHANNEL
            ,$t/CSA
            ,$t/OPEN_DATETIME
            ,$t/CLOSED_DATETIME
            ,<Orderline>
                  {for $tpl in ora:view("V_PIE_TPRODLINE")/ROW
                      ,$pr  in ora:view("V_PIE_PRODUCT")/ROW
                      ,$cmpesn  in ora:view("V_PIE_COMPESN")/ROW
                   where $tpl/TRANSACTION eq $t/TRANSACTION_NUMBER
                   and   $tpl/PRODUCT eq $pr/PRODUCT
                   and   $ct/CONTACT_ID eq $cmpesn/CONTACT
                   return ($tpl/ORDER_QTY
                          ,$tpl/RETAIL_AMT
                          ,$tpl/SALE_AMT
                          ,$pr/PRODUCT_DESCR
                          ,$pr/PART
                          ,$cmpesn/IMEI
                          ,<BankDetails>
                               {for $conn in ora:view("V_PIE_CONNECTION")/ROW
                                for $scon in ora:view("V_PIE_SERVCON")/ROW
                                for $tpp in ora:view("V_PIE_TPPLAN")/ROW
                                for $tppc in ora:view("V_PIE_TPPLAN_COMPLINE")/ROW
                                for $tppcd in ora:view("V_PIE_TPPLAN_COMP_DETAIL")/ROW
                                for $al in ora:view("V_PIE_ACCOUNT_LINK")/ROW
                                for $ad in ora:view("V_PIE_ACCOUNT_DETAIL")/ROW
                                for $bd in ora:view("V_PIE_BANK_DETAIL")/ROW
                                where $conn/CONTACT eq $ct/CONTACT_ID
                                and   $scon/CONTACT eq $conn/CONTACT
                                and   $tpp/SERVCON eq $scon/SERVCON
                                and   $tppc/SERVCON eq $tpp/SERVCON
                                and   $tppc/PPLAN eq $tpp/PPLAN
                                and   $tppcd/TPPLAN_COMPLINE eq $tppc/TPPLAN_COMPLINE
                                and   $al/AC_DET eq $tppcd/OPT_STRING
                                and   $ad/ACCOUNT_DETAIL eq $al/ACCOUNT_DETAIL
                                and   $bd/BANK_DETAIL eq $ad/BANK_DETAIL
                                return ($bd/BANK_NAME
                                       ,$ad/ACCOUNT_NAME
                                       ,$ad/ACCOUNT_NUMBER
                                       ,$ad/SORT_CODE
    </BankDetails>
    </Orderline>
    </Transaction>'
    RETURNING CONTENT),
    XMLFORMAT.CREATEFORMAT('TransInfo','USE_GIVEN_SCHEMA','test_1.xsd', 'http://xmlns.cpw.co.uk/CPW/EPOS/Order/RetrieveTransaction/RetrieveTransaction', NULL, NULL)) AS xml_string FROM DUAL;
    The view is created with no errors. Selecting * from it, however, gives:
    ORA-19201 - Datatype not supported
    Marrying the XML to the XSD shows nothing obviously wrong.
    Thanks,
    Ray.

  • Selective XML Index feature is not supported for the current database version , SQL Server Extended Events , Optimizing Reading from XML column datatype

    Team , Thanks for looking into this  ..
    As a last resort on  optimizing my stored procedure ( Below ) i wanted to create a Selective XML index  ( Normal XML indexes doesn't seem to be improving performance as needed ) but i keep getting this error within my stored proc . Selective XML
    Index feature is not supported for the current database version.. How ever
    EXECUTE sys.sp_db_selective_xml_index; return 1 , stating Selective XML Indexes are enabled on my current database .
    Is there ANY alternative way i can optimize below stored proc ?
    Thanks in advance for your response(s) !
    /****** Object: StoredProcedure [dbo].[MN_Process_DDLSchema_Changes] Script Date: 3/11/2015 3:10:42 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    -- EXEC [dbo].[MN_Process_DDLSchema_Changes]
    ALTER PROCEDURE [dbo].[MN_Process_DDLSchema_Changes]
    AS
    BEGIN
    SET NOCOUNT ON --Does'nt have impact ( May be this wont on SQL Server Extended events session's being created on Server(s) , DB's )
    SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED
    select getdate() as getdate_0
    DECLARE @XML XML , @Prev_Insertion_time DATETIME
    -- Staging Previous Load time for filtering purpose ( Performance optimize while on insert )
    SET @Prev_Insertion_time = (SELECT MAX(EE_Time_Stamp) FROM dbo.MN_DDLSchema_Changes_log ) -- Perf Optimize
    -- PRINT '1'
    CREATE TABLE #Temp
    EventName VARCHAR(100),
    Time_Stamp_EE DATETIME,
    ObjectName VARCHAR(100),
    ObjectType VARCHAR(100),
    DbName VARCHAR(100),
    ddl_Phase VARCHAR(50),
    ClientAppName VARCHAR(2000),
    ClientHostName VARCHAR(100),
    server_instance_name VARCHAR(100),
    ServerPrincipalName VARCHAR(100),
    nt_username varchar(100),
    SqlText NVARCHAR(MAX)
    CREATE TABLE #XML_Hold
    ID INT NOT NULL IDENTITY(1,1) PRIMARY KEY , -- PK necessity for Indexing on XML Col
    BufferXml XML
    select getdate() as getdate_01
    INSERT INTO #XML_Hold (BufferXml)
    SELECT
    CAST(target_data AS XML) AS BufferXml -- Buffer Storage from SQL Extended Event(s) , Looks like there is a limitation with xml size ?? Need to re-search .
    FROM sys.dm_xe_session_targets xet
    INNER JOIN sys.dm_xe_sessions xes
    ON xes.address = xet.event_session_address
    WHERE xes.name = 'Capture DDL Schema Changes' --Ryelugu : 03/05/2015 Session being created withing SQL Server Extended Events
    --RETURN
    --SELECT * FROM #XML_Hold
    select getdate() as getdate_1
    -- 03/10/2015 RYelugu : Error while creating XML Index : Selective XML Index feature is not supported for the current database version
    CREATE SELECTIVE XML INDEX SXI_TimeStamp ON #XML_Hold(BufferXml)
    FOR
    PathTimeStamp ='/RingBufferTarget/event/timestamp' AS XQUERY 'node()'
    --RETURN
    --CREATE PRIMARY XML INDEX [IX_XML_Hold] ON #XML_Hold(BufferXml) -- Ryelugu 03/09/2015 - Primary Index
    --SELECT GETDATE() AS GETDATE_2
    -- RYelugu 03/10/2015 -Creating secondary XML index doesnt make significant improvement at Query Optimizer , Instead creation takes more time , Only primary should be good here
    --CREATE XML INDEX [IX_XML_Hold_values] ON #XML_Hold(BufferXml) -- Ryelugu 03/09/2015 - Primary Index , --There should exists a Primary for a secondary creation
    --USING XML INDEX [IX_XML_Hold]
    ---- FOR VALUE
    -- --FOR PROPERTY
    -- FOR PATH
    --SELECT GETDATE() AS GETDATE_3
    --PRINT '2'
    -- RETURN
    SELECT GETDATE() GETDATE_3
    INSERT INTO #Temp
    EventName ,
    Time_Stamp_EE ,
    ObjectName ,
    ObjectType,
    DbName ,
    ddl_Phase ,
    ClientAppName ,
    ClientHostName,
    server_instance_name,
    nt_username,
    ServerPrincipalName ,
    SqlText
    SELECT
    p.q.value('@name[1]','varchar(100)') AS eventname,
    p.q.value('@timestamp[1]','datetime') AS timestampvalue,
    p.q.value('(./data[@name="object_name"]/value)[1]','varchar(100)') AS objectname,
    p.q.value('(./data[@name="object_type"]/text)[1]','varchar(100)') AS ObjectType,
    p.q.value('(./action[@name="database_name"]/value)[1]','varchar(100)') AS databasename,
    p.q.value('(./data[@name="ddl_phase"]/text)[1]','varchar(100)') AS ddl_phase,
    p.q.value('(./action[@name="client_app_name"]/value)[1]','varchar(100)') AS clientappname,
    p.q.value('(./action[@name="client_hostname"]/value)[1]','varchar(100)') AS clienthostname,
    p.q.value('(./action[@name="server_instance_name"]/value)[1]','varchar(100)') AS server_instance_name,
    p.q.value('(./action[@name="nt_username"]/value)[1]','varchar(100)') AS nt_username,
    p.q.value('(./action[@name="server_principal_name"]/value)[1]','varchar(100)') AS serverprincipalname,
    p.q.value('(./action[@name="sql_text"]/value)[1]','Nvarchar(max)') AS sqltext
    FROM #XML_Hold
    CROSS APPLY BufferXml.nodes('/RingBufferTarget/event')p(q)
    WHERE -- Ryelugu 03/05/2015 - Perf Optimize - Filtering the Buffered XML so as not to lookup at previoulsy loaded records into stage table
    p.q.value('@timestamp[1]','datetime') >= ISNULL(@Prev_Insertion_time ,p.q.value('@timestamp[1]','datetime'))
    AND p.q.value('(./data[@name="ddl_phase"]/text)[1]','varchar(100)') ='Commit' --Ryelugu 03/06/2015 - Every Event records a begin version and a commit version into Buffer ( XML ) we need the committed version
    AND p.q.value('(./data[@name="object_type"]/text)[1]','varchar(100)') <> 'STATISTICS' --Ryelugu 03/06/2015 - May be SQL Server Internally Creates Statistics for #Temp tables , we do not want Creation of STATISTICS Statement to be logged
    AND p.q.value('(./data[@name="object_name"]/value)[1]','varchar(100)') NOT LIKE '%#%' -- Any stored proc which creates a temp table within it Extended Event does capture this creation statement SQL as well , we dont need it though
    AND p.q.value('(./action[@name="client_app_name"]/value)[1]','varchar(100)') <> 'Replication Monitor' --Ryelugu : 03/09/2015 We do not want any records being caprutred by Replication Monitor ??
    SELECT GETDATE() GETDATE_4
    -- SELECT * FROM #TEMP
    -- SELECT COUNT(*) FROM #TEMP
    -- SELECT GETDATE()
    -- RETURN
    -- PRINT '3'
    --RETURN
    INSERT INTO [dbo].[MN_DDLSchema_Changes_log]
    [UserName]
    ,[DbName]
    ,[ObjectName]
    ,[client_app_name]
    ,[ClientHostName]
    ,[ServerName]
    ,[SQL_TEXT]
    ,[EE_Time_Stamp]
    ,[Event_Name]
    SELECT
    CASE WHEN T.nt_username IS NULL OR LEN(T.nt_username) = 0 THEN t.ServerPrincipalName
    ELSE T.nt_username
    END
    ,T.DbName
    ,T.objectname
    ,T.clientappname
    ,t.ClientHostName
    ,T.server_instance_name
    ,T.sqltext
    ,T.Time_Stamp_EE
    ,T.eventname
    FROM
    #TEMP T
    /** -- RYelugu 03/06/2015 - Filters are now being applied directly while retrieving records from BUFFER or on XML
    -- Ryelugu 03/15/2015 - More filters are likely to be added on further testing
    WHERE ddl_Phase ='Commit'
    AND ObjectType <> 'STATISTICS' --Ryelugu 03/06/2015 - May be SQL Server Internally Creates Statistics for #Temp tables , we do not want Creation of STATISTICS Statement to be logged
    AND ObjectName NOT LIKE '%#%' -- Any stored proc which creates a temp table within it Extended Event does capture this creation statement SQL as well , we dont need it though
    AND T.Time_Stamp_EE >= @Prev_Insertion_time --Ryelugu 03/05/2015 - Performance Optimize
    AND NOT EXISTS ( SELECT 1 FROM [dbo].[MN_DDLSchema_Changes_log] MN
    WHERE MN.[ServerName] = T.server_instance_name -- Ryelugu Server Name needes to be added on to to xml ( Events in session )
    AND MN.[DbName] = T.DbName
    AND MN.[Event_Name] = T.EventName
    AND MN.[ObjectName]= T.ObjectName
    AND MN.[EE_Time_Stamp] = T.Time_Stamp_EE
    AND MN.[SQL_TEXT] =T.SqlText -- Ryelugu 03/05/2015 This is a comparision Metric as well , But needs to decide on
    -- Peformance Factor here , Will take advise from Lance if comparision on varchar(max) is a vital idea
    --SELECT GETDATE()
    --PRINT '4'
    --RETURN
    SELECT
    top 100
    [EE_Time_Stamp]
    ,[ServerName]
    ,[DbName]
    ,[Event_Name]
    ,[ObjectName]
    ,[UserName]
    ,[SQL_TEXT]
    ,[client_app_name]
    ,[Created_Date]
    ,[ClientHostName]
    FROM
    [dbo].[MN_DDLSchema_Changes_log]
    ORDER BY [EE_Time_Stamp] desc
    -- select getdate()
    -- ** DELETE EVENTS after logging into Physical table
    -- NEED TO Identify if this @XML can be updated into physical system table such that previously loaded events are left untoched
    -- SET @XML.modify('delete /event/class/.[@timestamp="2015-03-06T13:01:19.020Z"]')
    -- SELECT @XML
    SELECT GETDATE() GETDATE_5
    END
    GO
    Rajkumar Yelugu

    @@Version : ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Microsoft SQL Server 2012 - 11.0.5058.0 (X64)
        May 14 2014 18:34:29
        Copyright (c) Microsoft Corporation
        Developer Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (Hypervisor)
    (1 row(s) affected)
    Compatibility level is set to 110 .
    One of the limitation states - XML columns with a depth of more than 128 nested nodes
    How do i verify this ? Thanks .
    Rajkumar Yelugu

  • "DBSL does not support extended connect protocol" while configuring SSFS

    Hi, I'm trying to configure ssfs on ERP EHP7 on HANA Database system. Doing it with this guide - SSFS Implementation for Oracle Database
    But when I'm trying to test connection with r3trans I got following error in the log:
    4 ETW000  [     dev trc,00000]  read_con_info_ssfs(): DBSL does not support extended connect protocol
    4 ETW000                         ==> ssfs won't be used                                                   26  0.004936
    I already updated DBSL_LIB to the latest version, but it doesn't help.
    Here is full log:
    4 ETW000 C:\usr\sap\CM1\DVEBMGS04\exe\R3trans.EXE version 6.24 (release 741 - 16.05.14 - 20:14:06).
    4 ETW000 unicode enabled version
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 02.06.2014 - 13:49:16
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: C:\usr\sap\CM1\DVEBMGS04\exe\R3trans.EXE -d
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [     dev trc,00000]  Mon Jun 02 13:49:16 2014                                                 106  0.000106
    4 ETW000  [     dev trc,00000]  db_con_init called                                                        36  0.000142
    4 ETW000  [     dev trc,00000]  set_use_ext_con_info(): ssfs will be used to get connect information
    4 ETW000                                                                                                  61  0.000203
    4 ETW000  [     dev trc,00000]  determine_block_commit: no con_hdl found as blocked for con_name = R/3
    4 ETW000                                                                                                  26  0.000229
    4 ETW000  [     dev trc,00000]  create_con (con_name=R/3)                                                 17  0.000246
    4 ETW000  [     dev trc,00000]  Loading DB library 'dbhdbslib.dll' ...                                    46  0.000292
    4 ETW000  [     dev trc,00000]  DlLoadLib success: LoadLibrary("dbhdbslib.dll"), hdl 0, count 1, addr 000007FEED100000
    4 ETW000                                                                                                3840  0.004132
    4 ETW000  [     dev trc,00000]      using "C:\usr\sap\CM1\DVEBMGS04\exe\dbhdbslib.dll"                    21  0.004153
    4 ETW000  [     dev trc,00000]  Library 'dbhdbslib.dll' loaded                                            21  0.004174
    4 ETW000  [     dev trc,00000]  function DbSlExpFuns loaded from library dbhdbslib.dll                    42  0.004216
    4 ETW000  [     dev trc,00000]  Version of 'dbhdbslib.dll' is "741.10", patchlevel (0.22)                 81  0.004297
    4 ETW000  [     dev trc,00000]  function dsql_db_init loaded from library dbhdbslib.dll                   25  0.004322
    4 ETW000  [     dev trc,00000]  function dbdd_exp_funs loaded from library dbhdbslib.dll                  41  0.004363
    4 ETW000  [     dev trc,00000]  } DbSlHDBControl(rc=0)                                                    47  0.004410
    4 ETW000  [     dev trc,00000]  { DbSlHDBControl(con_hdl=-1,command=39,arg_p=0000000000000000)            24  0.004434
    4 ETW000  [     dev trc,00000]  } DbSlHDBControl(rc=0)                                                    18  0.004452
    4 ETW000  [     dev trc,00000]  { DbSlHDBControl(con_hdl=-1,command=10,arg_p=000000000205F170)            22  0.004474
    4 ETW000  [     dev trc,00000]  } DbSlHDBControl(rc=0)                                                    17  0.004491
    4 ETW000  [     dev trc,00000]  New connection 0 created                                                  17  0.004508
    4 ETW000  [     dev trc,00000]  0: name = R/3, con_id = -000000001, state = DISCONNECTED, tx = NO , bc = NO , oc = 000, hc = NO , perm = YES, reco = NO , info = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO , prog = 
    4 ETW000                                                                                                  38  0.004546
    4 ETW000  [     dev trc,00000]  { DbSlHDBControl(con_hdl=-1,command=10,arg_p=0000000141BAEDB0)            44  0.004590
    4 ETW000  [     dev trc,00000]  } DbSlHDBControl(rc=0)                                                    19  0.004609
    4 ETW000  [     dev trc,00000]  db_con_connect (con_name=R/3)                                             19  0.004628
    4 ETW000  [     dev trc,00000]  determine_block_commit: no con_hdl found as blocked for con_name = R/3
    4 ETW000                                                                                                  24  0.004652
    4 ETW000  [     dev trc,00000]  find_con_by_name found the following connection:                          17  0.004669
    4 ETW000  [     dev trc,00000]  0: name = R/3, con_id = 000000000, state = DISCONNECTED, tx = NO , bc = NO , oc = 000, hc = NO , perm = YES, reco = NO , info = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO , prog = 
    4 ETW000                                                                                                 164  0.004833
    4 ETW000  [     dev trc,00000]  read_con_info_ssfs(): reading connect info for connection R/3             34  0.004867
    4 ETW000  [     dev trc,00000]  { DbSlHDBControl(con_hdl=-1,command=74,arg_p=0000000000000000)            24  0.004891
    4 ETW000  [     dev trc,00000]  } DbSlHDBControl(rc=15)                                                   19  0.004910
    4 ETW000  [     dev trc,00000]  read_con_info_ssfs(): DBSL does not support extended connect protocol
    4 ETW000                         ==> ssfs won't be used                                                   26  0.004936
    4 ETW000  [     dev trc,00000]  { DbSlHDBConnect(con_info_p=0000000000000000)                             31  0.004967
    4 ETW000  [     dev trc,00000]  DBHDBSLIB : version 741.10, patch 0.022 (Make PL 0.26)                    34  0.005001
    4 ETW000  [     dev trc,00000]  HDB shared library (dbhdbslib) patchlevels (last 10)                      32  0.005033
    4 ETW000  [     dev trc,00000]    (0.022) Get database version via dbsl call (note 1976918)               24  0.005057
    4 ETW000  [     dev trc,00000]    (0.020) FDA: Core Dump in SELECT ... FOR ALL ENTRIES for tables with strings (note 1970276)
    4 ETW000                                                                                                  32  0.005089
    4 ETW000  [     dev trc,00000]    (0.020) SQL DDL with data aging (note 1897636)                          21  0.005110
    4 ETW000  [     dev trc,00000]    (0.017) Datatype NCLOB missing in tablesize calculation (note 1952609)
    4 ETW000                                                                                                  30  0.005140
    4 ETW000  [     dev trc,00000]    (0.014) Tablesize calculation for HANA optimized (note 1952609)         25  0.005165
    4 ETW000  [     dev trc,00000]    (0.014) Native SQL UPSERT with DataAging (note 1897636)                 21  0.005186
    4 ETW000  [     dev trc,00000]    (0.014) DBSL supports HANA revision number up to 3 digits (note 1952701)
    4 ETW000                                                                                                  27  0.005213
    4 ETW000  [     dev trc,00000]    (0.010) Quotes missing by FAE with the hint dbsl_equi_join (note 1939234)
    4 ETW000                                                                                                  28  0.005241
    4 ETW000  [     dev trc,00000]    (0.007) Obsere deactivate aging flag (note 1897636)                     24  0.005265
    4 ETW000  [     dev trc,00000]    (0.007) Calculated record length for INSERT corrected (note 1897636)
    4 ETW000                                                                                                  27  0.005292
    4 ETW000  [     dev trc,00000]                                                                            15  0.005307
    4 ETW000  [     dev trc,00000]   -> init()                                                                21  0.005328
    4 ETW000  [     dev trc,00000]    STATEMENT_CACHE_SIZE = 1000                                            181  0.005509
    4 ETW000  [     dev trc,00000]   -> init()                                                               505  0.006014
    4 ETW000  [     dev trc,00000]   -> loadClientRuntime()                                                   27  0.006041
    4 ETW000  [     dev trc,00000]  Loading SQLDBC client runtime ...                                         19  0.006060
    4 ETW000  [     dev trc,00000]  SQLDBC Module  : C:\usr\sap\CM1\hdbclient\libSQLDBCHDB.dll               779  0.006839
    4 ETW000  [     dev trc,00000]  SQLDBC Runtime : libSQLDBCHDB 1.00.68 Build 0384084-1510                  74  0.006913
    4 ETW000  [     dev trc,00000]  SQLDBC client runtime is 1.00.68.0384084                                  45  0.006958
    4 ETW000  [     dev trc,00000]   -> getNewConnection()                                                    28  0.006986
    4 ETW000  [     dev trc,00000]   <- getNewConnection(con_hdl=0)                                           78  0.007064
    4 ETW000  [     dev trc,00000]   -> checkEnvironment(con_hdl=0)                                           34  0.007098
    4 ETW000  [     dev trc,00000]   -> connect(con_info_p=0000000000000000)                                  27  0.007125
    4 ETW000  [     dev trc,00000]  Try to connect via secure store (DEFAULT) on connection 0 ...             62  0.007187
    4 ETW000  [     dev trc,00000]   -> check_db_params(con_hdl=0)                                         61365  0.068552
    4 ETW000  [     dev trc,00000]  Attach to HDB : 1.00.68.384084 (NewDB100_REL)                           7595  0.076147
    4 ETW000  [     dev trc,00000]  Database release is HDB 1.00.68.384084                                    49  0.076196
    4 ETW000  [     dev trc,00000]  INFO : Database 'HDB/00' instance is running on 'hanaserver'            6867  0.083063
    4 ETW000  [     dev trc,00000]  INFO : Connect to DB as 'SAPCM1', connection_id=201064                 43659  0.126722
    4 ETW000  [     dev trc,00000]  DB max. input host variables  : 32767                                   6954  0.133676
    4 ETW000  [     dev trc,00000]  DB max. statement length      : 1048576                                   34  0.133710
    4 ETW000  [     dev trc,00000]  DB max. array size            : 100000                                    75  0.133785
    4 ETW000  [     dev trc,00000]  use decimal precision as length                                           21  0.133806
    4 ETW000  [     dev trc,00000]  ABAPVARCHARMODE is used                                                   19  0.133825
    4 ETW000  [     dev trc,00000]  INFO : DBSL buffer size = 1048576                                         20  0.133845
    4 ETW000  [     dev trc,00000]  Command info enabled                                                      19  0.133864
    4 ETW000  [     dev trc,00000]  Now I'm connected to HDB                                                  18  0.133882
    4 ETW000  [     dev trc,00000]  00: hanaserver-HDB/00, since=20140602134916, ABAP= <unknown> (0)          30  0.133912
    4 ETW000  [     dev trc,00000]  } DbSlHDBConnect(rc=0)                                                    18  0.133930
    4 ETW000  [     dev trc,00000]  { DbSlHDBControl(con_hdl=0,command=30,arg_p=0000000000000000)             24  0.133954
    4 ETW000  [     dev trc,00000]  } DbSlHDBControl(rc=0)                                                    18  0.133972
    4 ETW000  [     dev trc,00000]  { DbSlHDBControl(con_hdl=0,command=21,arg_p=000000000205F460)             22  0.133994
    4 ETW000  [     dev trc,00000]  } DbSlHDBControl(rc=0)                                                    18  0.134012
    4 ETW000  [     dev trc,00000]  Connection 0 opened (DBSL handle 0)                                       36  0.134048
    4 ETW000  [     dev trc,00000]  { DbSlHDBControl(con_hdl=0,command=7,arg_p=000000000205F4B0)              25  0.134073
    4 ETW000  [     dev trc,00000]  } DbSlHDBControl(rc=0)                                                    17  0.134090
    4 ETW000  [     dev trc,00000]  { DbSlHDBControl(con_hdl=0,command=63,arg_p=000000000205F2B0)             23  0.134113
    4 ETW000  [     dev trc,00000]  } DbSlHDBControl(rc=0)                                                    18  0.134131
    4 ETW000  [     dev trc,00000]  { DbSlHDBControl(con_hdl=0,command=21,arg_p=000000000205F300)          12214  0.146345
    4 ETW000  [     dev trc,00000]  } DbSlHDBControl(rc=0)                                                    32  0.146377
    4 ETW000  [     dev trc,00000]  { DbSlHDBControl(con_hdl=0,command=11,arg_p=000000000205F420)             26  0.146403
    4 ETW000  [     dev trc,00000]  } DbSlHDBControl(rc=0)                                                    18  0.146421
    4 ETW000  [     dev trc,00000]  { DbSlHDBControl(con_hdl=0,command=22,arg_p=000000000205F390)             23  0.146444
    4 ETW000  [     dev trc,00000]  } DbSlHDBControl(rc=0)                                                    37  0.146481
    4 ETW000  [     dev trc,00000]  { DbSlHDBControl(con_hdl=0,command=13,arg_p=000000000205F260)             29  0.146510
    4 ETW000  [     dev trc,00000]  } DbSlHDBControl(rc=0)                                                    18  0.146528
    4 ETW000  [     dev trc,00000]  { DbSlHDBControl(con_hdl=0,command=24,arg_p=000000000205F210)             37  0.146565
    4 ETW000  [     dev trc,00000]  } DbSlHDBControl(rc=0)                                                    35  0.146600
    4 ETW000  [     dev trc,00000]  { DbSlHDBControl(con_hdl=0,command=51,arg_p=000000000205F200)             40  0.146640
    4 ETW000  [     dev trc,00000]  } DbSlHDBControl(rc=15)                                                   31  0.146671
    4 ETW000  [     dev trc,00000]  { DbSlHDBPrepare(con_hdl=0,ss_p=000000000205F4E0,op=3,da_p=000000000205F540)
    4 ETW000                                                                                                  46  0.146717
    4 ETW000  [     dev trc,00000]   -> buildSQLStmt(stmt_p=000000000205F4B0,da_p=000000000205F540,for_explain=0,lock=0,op=3)
    4 ETW000                                                                                                  89  0.146806
    4 ETW000  [     dev trc,00000]   <- buildSQLStmt(len=27,op=3,#marker=0,#lob=0)                            33  0.146839
    4 ETW000  [     dev trc,00000]   -> stmt_prepare(sc_hdl=0000000003AEAC40,ss_p=000000000205F4E0)           75  0.146914
    4 ETW000  [     dev trc,00000]  sc_p=0000000003AEAC40,no=0,idc_p=0000000000000000,con=0,act=0,slen=27,smax=256,#vars=0,stmt=000000000AD913E0,table=SVERS                        
    4 ETW000                                                                                                  46  0.146960
    4 ETW000  [     dev trc,00000]  SELECT VERSION FROM SVERS  ;                                              23  0.146983
    4 ETW000  [     dev trc,00000]    CURSOR C_0000 PREPARE on connection 0                                   21  0.147004
    4 ETW000  [     dev trc,00000]  } DbSlHDBPrepare(rc=0)                                                  6174  0.153178
    4 ETW000  [     dev trc,00000]  { DbSlHDBRead(con_hdl=0,ss_p=000000000205F4E0,da_p=000000000205F540)
    4 ETW000                                                                                                  53  0.153231
    4 ETW000  [     dev trc,00000]   ABAP USER is not set                                                     25  0.153256
    4 ETW000  [     dev trc,00000]   -> activate_stmt(sc_hdl=0000000003AEAC40,da_p=000000000205F540)          25  0.153281
    4 ETW000  [     dev trc,00000]   -> bind_variables(sc_hdl=0000000003AEAC40,in_out=0,bulk=0,da_p=000000000205F540)
    4 ETW000                                                                                                  30  0.153311
    4 ETW000  [     dev trc,00000]   -> allocParameter(in_out=0,col_cnt=0)                                    21  0.153332
    4 ETW000  [     dev trc,00000]   -> calculate_record_length(sc_hdl=0000000003AEAC40,in_out=0,bulk=0,types=0000000000000000,#col=0,useBulkInsertWithLobs=0)
    4 ETW000                                                                                                  54  0.153386
    4 ETW000  [     dev trc,00000]      #float=0,#lob=0,itab=0,#short=0,#int=0,#llong=0,#uc=0,rec_lng=0,db_lng=0
    4 ETW000                                                                                                  33  0.153419
    4 ETW000  [     dev trc,00000]   <- calculate_record_length(row_size=0, lob_cnt=0, lob_pw_cnt=0, long_cnt=0, ins_bulk_lob=0, row_max=1)
    4 ETW000                                                                                                  33  0.153452
    4 ETW000  [     dev trc,00000]   -> exec_modify(sc_hdl=0000000003AEAC40,ss_p=000000000205F4E0,bulk=0,in_out=1,da_p=000000000205F540)
    4 ETW000                                                                                                  36  0.153488
    4 ETW000  [     dev trc,00000]   -> stmt_execute(sc_hdl=0000000003AEAC40,ss_p=000000000205F4E0,in_out=1,da_p=000000000205F540)
    4 ETW000                                                                                                  95  0.153583
    4 ETW000  [     dev trc,00000]    OPEN CURSOR C_0000 on connection 0                                      28  0.153611
    4 ETW000  [     dev trc,00000]    CURSOR C_0000 SET InputSize=1                                           23  0.153634
    4 ETW000  [     dev trc,00000]    CURSOR C_0000 EXECUTE on connection 0                                   22  0.153656
    4 ETW000  [     dev trc,00000]    execute() of C_0000, #rec=0, rcSQL=0, rc=0                            6404  0.160060
    4 ETW000  [     dev trc,00000]    CURSOR C_0000, rc=0,#rec=0,#dbcount=0                                   36  0.160096
    4 ETW000  [     dev trc,00000]   -> bind_variables(sc_hdl=0000000003AEAC40,in_out=1,bulk=0,da_p=000000000205F540)
    4 ETW000                                                                                                  33  0.160129
    4 ETW000  [     dev trc,00000]   -> allocParameter(in_out=1,col_cnt=1)                                    21  0.160150
    4 ETW000  [     dev trc,00000]   -> calculate_record_length(sc_hdl=0000000003AEAC40,in_out=1,bulk=0,types=000000000205F518,#col=1,useBulkInsertWithLobs=0)
    4 ETW000                                                                                                  37  0.160187
    4 ETW000  [     dev trc,00000]      #float=0,#lob=0,itab=0,#short=0,#int=0,#llong=0,#uc=72,rec_lng=144,db_lng=144
    4 ETW000                                                                                                  31  0.160218
    4 ETW000  [     dev trc,00000]   <- calculate_record_length(row_size=144, lob_cnt=0, lob_pw_cnt=0, long_cnt=0, ins_bulk_lob=0, row_max=1)
    4 ETW000                                                                                                  31  0.160249
    4 ETW000  [     dev trc,00000]   -> allocIndicator(in_out=1,row_cnt=1)                                    21  0.160270
    4 ETW000  [     dev trc,00000]   -> allocData(in_out=1,size=1048576)                                      21  0.160291
    4 ETW000  [     dev trc,00000]   -> bind_type_and_length(sc_hdl=0000000003AEAC40,in_out=1,bulk=0,arr_size=1,types=000000000205F518,da_p=000000000205F540)
    4 ETW000                                                                                                  45  0.160336
    4 ETW000  [     dev trc,00000]   -> exec_fetch(sc_hdl=0000000003AEAC40,bulk=0,da_p=000000000205F540)
    4 ETW000                                                                                                  41  0.160377
    4 ETW000  [     dev trc,00000]      xcnt=1,row_i=0,row_pcnt=0                                             20  0.160397
    4 ETW000  [     dev trc,00000]   -> stmt_fetch(sc_hdl=0000000003AEAC40)                                   20  0.160417
    4 ETW000  [     dev trc,00000]    CURSOR C_0000 FETCH (xcnt=1) on connection 0                            23  0.160440
    4 ETW000  [     dev trc,00000]    next() of C_0000, rc=0                                                  27  0.160467
    4 ETW000  [     dev trc,00000]    fetch() of C_0000, #rec=1, rc=0, rcSQL=0                                28  0.160495
    4 ETW000  [     dev trc,00000]   -> deactivate_stmt(sc_hdl=0000000003AEAC40,da_p=000000000205F540,rc=0)
    4 ETW000                                                                                                  91  0.160586
    4 ETW000  [     dev trc,00000]   -> StmtCacheFree(DBSL:C_0000)                                            24  0.160610
    4 ETW000  [     dev trc,00000]    CURSOR C_0000 CLOSE resultset on connection 0                           20  0.160630
    4 ETW000  [     dev trc,00000]  } DbSlHDBRead(rc=0)                                                       34  0.160664
    4 ETW000  [     dev trc,00000]  { DbSlHDBControl(con_hdl=0,command=43,arg_p=00000001400FAB06)             25  0.160689
    4 ETW000  [     dev trc,00000]  INFO : SAP RELEASE (DB) = 740                                             19  0.160708
    4 ETW000  [     dev trc,00000]  } DbSlHDBControl(rc=0)                                                    16  0.160724
    4 ETW000  [     dev trc,00000]  { DbSlHDBControl(con_hdl=0,command=41,arg_p=00000001400FAB98)             49  0.160773
    4 ETW000  [     dev trc,00000]  } DbSlHDBControl(rc=0)                                                    19  0.160792
    4 ETW000  [     dev trc,00000]  { DbSlHDBControl(con_hdl=0,command=14,arg_p=0000000002055888)             22  0.160814
    4 ETW000  [     dev trc,00000]  } DbSlHDBControl(rc=0)                                                    18  0.160832
    4 ETW000  [     dev trc,00000]  { DbSlHDBControl(con_hdl=0,command=50,arg_p=0000000002055880)             22  0.160854
    4 ETW000  [     dev trc,00000]  } DbSlHDBControl(rc=0)                                                    26  0.160880
    4 ETW000  [     dev trc,00000]  { DbSlHDBControl(con_hdl=0,command=52,arg_p=00000000020558F0)             23  0.160903
    4 ETW000  [     dev trc,00000]  } DbSlHDBControl(rc=0)                                                    17  0.160920
    4 ETW000  [     dev trc,00000]  { DbSlHDBControl(con_hdl=0,command=20,arg_p=0000000141FC74F0)             99  0.161019
    4 ETW000  [     dev trc,00000]  INFO : STMT SIZE = 1048576                                                21  0.161040
    4 ETW000  [     dev trc,00000]  INFO : MARKER_CNT = 32767                                                 18  0.161058
    4 ETW000  [     dev trc,00000]  } DbSlHDBControl(rc=0)                                                    19  0.161077
    4 ETW000  [     dev trc,00000]  NTAB: SELECT COMPCNT, UNICODELG FROM DDNTT WHERE TABNAME = 'SVERS'...
    4 ETW000                                                                                                  38  0.161115
    4 ETW000  [     dev trc,00000]  { DbSlHDBPrepare(con_hdl=0,ss_p=0000000002055160,op=3,da_p=00000000020551B0)
    4 ETW000                                                                                                  31  0.161146
    4 ETW000  [     dev trc,00000]   -> buildSQLStmt(stmt_p=0000000002055180,da_p=00000000020551B0,for_explain=0,lock=0,op=3)
    4 ETW000                                                                                                  32  0.161178
    4 ETW000  [     dev trc,00000]   <- buildSQLStmt(len=63,op=3,#marker=0,#lob=0)                            23  0.161201
    4 ETW000  [     dev trc,00000]   -> stmt_prepare(sc_hdl=0000000003AEACD8,ss_p=0000000002055160)           38  0.161239
    4 ETW000  [     dev trc,00000]  sc_p=0000000003AEACD8,no=1,idc_p=0000000000000000,con=0,act=0,slen=63,smax=256,#vars=0,stmt=000000000AE09690,table=DDNTT                        
    4 ETW000                                                                                                  38  0.161277
    4 ETW000  [     dev trc,00000]  SELECT COMPCNT, UNICODELG FROM "DDNTT" WHERE TABNAME = 'SVERS' ;          21  0.161298
    4 ETW000  [     dev trc,00000]    CURSOR C_0001 PREPARE on connection 0                                   19  0.161317
    4 ETW000  [     dev trc,00000]  } DbSlHDBPrepare(rc=0)                                                  6453  0.167770
    4 ETW000  [     dev trc,00000]  db_con_test_and_open: 1 open cursors (delta=1)                            30  0.167800
    4 ETW000  [     dev trc,00000]  db_con_check_dirty: 1 open cursors, tx = NO , bc = NO                     18  0.167818
    4 ETW000  [     dev trc,00000]  db_con_check_dirty: db_con_dirty = YES                                    16  0.167834
    4 ETW000  [     dev trc,00000]  { DbSlHDBBegRead(con_hdl=0,ss_p=0000000002055160,da_p=00000000020551B0)
    4 ETW000                                                                                                  35  0.167869
    4 ETW000  [     dev trc,00000]   ABAP USER is not set                                                     23  0.167892
    4 ETW000  [     dev trc,00000]   -> activate_stmt(sc_hdl=0000000003AEACD8,da_p=00000000020551B0)          23  0.167915
    4 ETW000  [     dev trc,00000]   -> bind_variables(sc_hdl=0000000003AEACD8,in_out=0,bulk=0,da_p=00000000020551B0)
    4 ETW000                                                                                                  32  0.167947
    4 ETW000  [     dev trc,00000]   -> allocParameter(in_out=0,col_cnt=0)                                    23  0.167970
    4 ETW000  [     dev trc,00000]   -> calculate_record_length(sc_hdl=0000000003AEACD8,in_out=0,bulk=0,types=0000000000000000,#col=0,useBulkInsertWithLobs=0)
    4 ETW000                                                                                                  34  0.168004
    4 ETW000  [     dev trc,00000]      #float=0,#lob=0,itab=0,#short=0,#int=0,#llong=0,#uc=0,rec_lng=0,db_lng=0
    4 ETW000                                                                                                  30  0.168034
    4 ETW000  [     dev trc,00000]   <- calculate_record_length(row_size=0, lob_cnt=0, lob_pw_cnt=0, long_cnt=0, ins_bulk_lob=0, row_max=1)
    4 ETW000                                                                                                  31  0.168065
    4 ETW000  [     dev trc,00000]   -> exec_modify(sc_hdl=0000000003AEACD8,ss_p=0000000002055160,bulk=0,in_out=1,da_p=00000000020551B0)
    4 ETW000                                                                                                  32  0.168097
    4 ETW000  [     dev trc,00000]   -> stmt_execute(sc_hdl=0000000003AEACD8,ss_p=0000000002055160,in_out=1,da_p=00000000020551B0)
    4 ETW000                                                                                                  32  0.168129
    4 ETW000  [     dev trc,00000]    OPEN CURSOR C_0001 on connection 0                                      20  0.168149
    4 ETW000  [     dev trc,00000]    CURSOR C_0001 SET InputSize=1                                           19  0.168168
    4 ETW000  [     dev trc,00000]    CURSOR C_0001 EXECUTE on connection 0                                   20  0.168188
    4 ETW000  [     dev trc,00000]    execute() of C_0001, #rec=0, rcSQL=0, rc=0                            5712  0.173900
    4 ETW000  [     dev trc,00000]    CURSOR C_0001, rc=0,#rec=0,#dbcount=0                                   34  0.173934
    4 ETW000  [     dev trc,00000]   -> bind_variables(sc_hdl=0000000003AEACD8,in_out=1,bulk=1,da_p=00000000020551B0)
    4 ETW000                                                                                                  32  0.173966
    4 ETW000  [     dev trc,00000]   -> allocParameter(in_out=1,col_cnt=2)                                    21  0.173987
    4 ETW000  [     dev trc,00000]   -> calculate_record_length(sc_hdl=0000000003AEACD8,in_out=1,bulk=1,types=0000000002055240,#col=2,useBulkInsertWithLobs=0)
    4 ETW000                                                                                                  34  0.174021
    4 ETW000  [     dev trc,00000]      #float=0,#lob=0,itab=0,#short=2,#int=0,#llong=0,#uc=0,rec_lng=16,db_lng=4
    4 ETW000                                                                                                  30  0.174051
    4 ETW000  [     dev trc,00000]   <- calculate_record_length(row_size=16, lob_cnt=0, lob_pw_cnt=0, long_cnt=0, ins_bulk_lob=0, row_max=65536)
    4 ETW000                                                                                                  32  0.174083
    4 ETW000  [     dev trc,00000]   -> allocIndicator(in_out=1,row_cnt=65536)                                20  0.174103
    4 ETW000  [     dev trc,00000]   -> allocData(in_out=1,size=1048576)                                      30  0.174133
    4 ETW000  [     dev trc,00000]   -> bind_type_and_length(sc_hdl=0000000003AEACD8,in_out=1,bulk=1,arr_size=65536,types=0000000002055240,da_p=00000000020551B0)
    4 ETW000                                                                                                  36  0.174169
    4 ETW000  [     dev trc,00000]  } DbSlHDBBegRead(rc=0)                                                    24  0.174193
    4 ETW000  [     dev trc,00000]  { DbSlHDBExeRead(con_hdl=0,ss_p=0000000002055160,da_p=00000000020551B0)
    4 ETW000                                                                                                  35  0.174228
    4 ETW000  [     dev trc,00000]   ABAP USER is not set                                                     20  0.174248
    4 ETW000  [     dev trc,00000]   -> exec_fetch(sc_hdl=0000000003AEACD8,bulk=0,da_p=00000000020551B0)
    4 ETW000                                                                                                  33  0.174281
    4 ETW000  [     dev trc,00000]      xcnt=1,row_i=0,row_pcnt=0                                             20  0.174301
    4 ETW000  [     dev trc,00000]   -> stmt_fetch(sc_hdl=0000000003AEACD8)                                   20  0.174321
    4 ETW000  [     dev trc,00000]    CURSOR C_0001 FETCH (xcnt=1) on connection 0                            20  0.174341
    4 ETW000&

    Hi,
    Could you check for SAP Note   1952701 - DBSL supports new HANA version number
    Regards,
    Gaurav

  • Nesting of AGO or TODATE functions with differing level arguments is not supported

    I have a column in BMM which calculates the Year-To-Date Sales. This function uses the ToDate function to caculate the YTD.
    I need to develop another formula column which shows the last-year's YTD.
    I develop this formula in BMM by AGO on the YTD column which already uses a ToDate function.
    In BI Answers when selecting this column, results in the below message:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 22044] Nesting of AGO or TODATE functions with differing level arguments is not supported. (HY000)

    To reply to my own question. It appears I got it working, that is, the error message problem is solved, but I still have questions on how to use these functions.
    To get it to work, I added the primary key D_TIJD.TIJDKEY at the level of the lowest grain in my dimension (level tab).
    What I still wonder is how to make it select the right values. I have the following hierarchy: bookyear - bookperiod - week. A bookperiod contains 4 or 5 weeks (4,4,5 in a quarter), so 12 periods in one year. I defined a measure at period level and another at that level with the ago function, that should return the figures for that same period of the year before. My first question is, whether to go back 12 periods or 52 weeks (which is the lowest grain in my dimension)?
    The second question is how to use a combination of TODATE and AGO so that if I calculate the current period (of which only 2 weeks are passed), I also only want to include the same two weeks for that period one year ago in order to make a correct comparison. How do I do that???

  • SAP Note Number: 953823 says string not supported in FM ??

    Hello Friends
    I am desperately trying to findout how to send a variable length string from XI and save it in a table.
    However, SAP Note Number: 953823 says that STRING is not supported in FM but the work around it suggests is as follows:
    ========================================================
    The only work around for this is :
    To wrap the Function module used in function control with the custom function module,which substitutes the STRING parameter with CHAR datatype.
    ========================================================
    But the problem is that for CHAR datatype you have to give the field length, the requirement I have is to send a VARIABLE LENGTH data.
    Could some one help me in understanding how this can be achieved?
    Thanks a lot in advance
    Ram

    Interesting question.  Maybe I don't completely understand.  When you say store it in a table, do you mean a database table or an itab?
    I seem to be able to pass a string to a FM.  Am I doing something wrong?
    I created a type of string called "ZTYSTR".
    I then created this FM.
    *"*"Local Interface:
    *"  IMPORTING
    *"     REFERENCE(I_STR) TYPE  ZTYSTR
      DATA:
         l_string   type string.
      l_string = i_str.
    ENDFUNCTION.
    Then I call the function module as such.
    REPORT zz_temp.
    DATA: g_str  TYPE string VALUE 'Hello World'.
    CALL FUNCTION 'Z_TEMP'
      EXPORTING
        i_str = g_str.
    Debugging the FM, it says that both the parameter and local variable are of type string.

  • Cannot load ClassDiagram.cd on Visual Studio. "URI formats are not supported

    When I try to open a class diagram for my asp.net webforms project I get the following error. The Class Diagram (.cd) files get generated
    but I can't open them.
    I do have some classes that use the URI class but i don't really think that could be the issue. Right? Why would a class diagram care about one of my classes using a URI datatype? 
    i get this (
    Cannot
    load ClassDiagram.cd on Visual Studio. “URI formats are not supported”

    Hi princeusa3,
    Since this forum is to discuss the VS-testing issue, just make this issue clearly, do you create the test project for your web app?
    It seems that it is not the test issue, if it is related to the ASP.net development, I suggest you post this issue in
    http://forums.asp.net where asp.net experts live in, and there you would get dedicated support. Thanks for your understanding.
    If I have misunderstood anything, please make free feel to let me know.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Target data source does not support the AGO operation

    Hi,
    In BI Admin Tool, I join Essbase cube and relational source. Then I apply Ago function to Essbase measures. In BI Answer, I try to run query that includes Essbase Ago measures and relational columns(non measures), error message shows the following detail:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 22001] Target data source does not support the AGO operation. (HY000)
    When I remove the relational columns or run Essbase current-date messures, the result is fine.
    So, what's exact meaning of this error message? and does the relational columns (non-measure) support Essbase measures' Ago function?

    to clarify:
    fail case:
    criteria
    YEAR | YTD,gen03 | MONTH_NAME | SALES(YEAR_AGO)
    cube dimension: year, ytd,gen03
    relational source: month_name
    cube measure using AGO(): sales(year_ago)
    result: error messageSuccess case:
    criteria
    YEAR | YTD,gen03 | SALES(YEAR_AGO)
    cube dimension: year, ytd,gen03
    cube measure using AGO(): sales(year_ago)
    result: success~! how can i solve it? thx

  • ORA-26744: STREAMS capture process "STRING" does not support "STRING"

    Hi All,
    I have configured oracle streams using Note "How To Setup One-Way SCHEMA Level Streams Replication [ID 301431.1]" at schema level
    All the changes are getting reflected perfectly and was running smooth, but today suddenly I faced the below error and capture is aborted
    ORA-26744: STREAMS capture process "STREAM_CAPTURE" does not support "AMSATMS_PAWS"."B_SEARCH_PREFERENCE" because of the following reason:
    ORA-26783: Column data type not supported
    Couple of suggestions on forum are to add a negative ruleset, please suggest me how do i add a negative rule set and if this is added to negative ruleset then how the changes to this table will reflect in target database...?
    Please help me...
    Thanks

    I do not have any idea why it treats your XMLTYPE stored as CLOB like a XMLTYPE binary. From the doc, we read :
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28321/ap_restrictions.htm#BABGIFEA
    Unsupported Data Types for Capture Processes
    A capture process does not capture the results of DML changes to columns of the following data types:
        *       SecureFile CLOB, NCLOB, and BLOB
        *      BFILE
        *      ROWID
        *      User-defined types (including object types, REFs, varrays, and nested tables)
        *      XMLType stored object relationally or as binary XML                   <----------------------------
        *      The following Oracle-supplied types: Any types, URI types, spatial types, and media types
    A capture process raises an error if it tries to create a row LCR for a DML change to a column of
    an unsupported data type. When a capture process raises an error, it writes the LCR that caused
    the error into its trace file, raises an ORA-26744 error, and becomes disabled. For your support
    NOTE:556742.1 - Extended Datatype Support (EDS) for Streams
    to exclude the table:
    NOTE:239623.1 - How To Exclude A Table From Schema Capture And Replication When Using Schema Level Streams Replication
    Sound like a specific patch. You did not stated which version of Oracle you are running.

  • Upload Error message: HTTPS protocol is not supported

    Hi,
       Whenever I do a quick par upload i'm getting an 'Operation failed' message to check sap-plugin.log.
       Log says
    Upload Error message: HTTPS protocol is not supported, please ensure this server is not using HTTPS. My webdynpro applications are getting deployed without any issues.
         How to resolve this?
    Thanks
    Sumathi

    Hi Sumathi,
    As there are often problems with the Quick PAR Upload reported, I would suggest to use the "normal" PAR upload from the icon tray (you have to activate the portal icons in the icon tray). That is almost that "quick" (one or two clicks more needed, we don't talk about more than a second) and - it works (it least it should, and at least it works in most cases even if the Quick PAR Upload fails).
    Hope it helps
    Detlev

  • MacBook Mini-DVI to VGA - Samsung 32" LCD - Mode Not Supported

    I followed the instructions on Apple's site to use the MacBook with the lid closed and an external LCD. It worked perfectly the first time I tried it. (I believe in 1920 x 1024). It seemed a little hard to read so I changed the Display resolution, then encountered the "Mode Not Supported" on my LCD. I unhooked and used my MacBook to change the settings back, but the MacBook seems to revert to the "Mode Not Supported" resolution when I close the lid. Any suggestions? Can I reset the Display Preferences on my MacBook?

    I think this procedure should work, but it requires an external USB keyboard.
    - Shut down the Mac.
    - Have all the following connected:
    - MacBook power supply
    - External display
    - USB keyboard and mouse
    - Open the lid on the MacBook and hit the power button.
    - Immediately close the lid on the MacBook and start holding down the Shift key on the USB keyboard.
    - Release the Shift key once you see the spinning gear on the gray screen on the external display.
    The above procedure should cause the Mac to start in Safe mode and hopefully will finish booting into a useable screen. If that is the case, go into Displays preferences and select a known working resolution different from the one the Mac started up in under Safe mode. Now restart normally. Hopefully the newly selected resolution will persist through the normal restart and you will have a working external screen again.

  • Does the later 2009 MacBook support the Apple DVI to Video Adapter (s-video). I want to connect it to an old tv which does not support HDMI. Any suggestions?

    I have a late 2009 MacBook which I want to connect to an old LG tv. The tv does not support HDMI it only has the (red, while, and yellow) ports. Sorry I dunno the exact name for it.
    So I was thinking of using the Apple Mini DVI to Video Adapter (s-video), link below...
    http://store.apple.com/Catalog/dk/Images/M9319_screen.jpg
    But I'm afraid that the MacBook might not support the adapter.
    Can anyone give me a solution for this? Is there an alternative way of doing this? I'm kinda new to apple display adapters.

    The Late 2009 model 6,1 has a Mini DisplayPort not the Mini-DVI. To see which model you have go to the Apple in the upper left corner and select About This Mac, then click on More Info. When the System Profiler comes up check the Model Identifier.
    Composite is the name for the red, white and yellow RCA plugs on your TV or red, white and S-Video plugs. If you want to use the Composite input on your TV there’s no Mini DisplayPort to Composite. You’ll have to get a Mini DisplayPort to VGA adapter http://www.amazon.com/s/ref=nb_sb_ss_i_1_19?url=search-alias%3Delectronics&field -keywords=mini+displayport+to+vga&sprefix=mini+Displayport+to and a VGA Adapter to TV S-Video RCA Out Cable for PC Video. http://www.amazon.com/VGA-Adapter-S-Video-Cable-Video/dp/B000Y7T5UU/ref=sr_1_7?s =electronics&ie=UTF8&qid=1316369974&sr=1-7
    Only the Yellow plug or the S-Video plug for video will work. For sound you'll also need audio cables to the TV using a 3.5mm stereo headphone jack to RCA sound plugs. You attach it from the headphone jack of your MacBook to the appropriate input plugs on your TV  http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=min i-dvi&x=9&y=13#/ref=nb_sb_ss_i_2_19?url=search-alias%3Daps&field-keywords=macboo k+audio+cable&sprefix=macbook+audio+cable&rh=i%3Aaps%2Ck%3Amacbook+audio+cable

Maybe you are looking for

  • Help with StuckThread in java.lang.String.equals(String.java:619)

    I periodically get a stuck Execute thread on my Weblogic 8.15 server during a call to a Stateless Session Bean. When I do thread dumps, the thread is always stuck in the same place (in java.lang.String.equals(String.java:619) or in the call immediate

  • How to use A RowSet with an Oracle sequence

    Hi, I created a RowSet with the RowSet wizard and it asked me if I wanted to use database created primary keys. I'm using Oracle so I selected this option and want to use Oracle sequences. But I don't find where should I configure the name of the Ora

  • Performance question - Streaming content in a Page Viewer

    When pointing to streaming video for example using a SharePoint Page Viewer:  does the video stream go from content provider straight to user's desktop?  I.e. There's no issue with the SP Server as far as performance is concerned?

  • Fix for Android 4.4.2

    Since the beginning of June, I have been waiting to see if there will be a fix for the disaster that was named Kitkat 4.4.2 There are many postings (never answered) from people listing their problems since the update. I have gone from loving this pho

  • ADF on websphere

    Can I deploy an ADF application which enable ADF security to websphere 7?