Issue with SQL converter: Query Migration Tool for Microsoft SQL Server to SAP HANA

Hello,
I found the following blog : http://scn.sap.com/community/business-one/blog/2013/04/10/how-to-convert-sql-from-ms-sql-server-to-sap-hana
I am trying out this migration tool for converting my MS SQL queries to HANA.
I am running into issue while converting certain queries.
The issue is specific to "set" commands which set local variables inside "create procedure" commands.
e.g.
a standalone set command:
SET @var = (SELECT TOP 1 name FROM mytable ORDER BY name)
is converted well:
SELECT (SELECT TOP 1 "name" FROM "mytable" ORDER BY "name") INTO var FROM DUMMY;
But when the same is part of create procedure:
CREATE PROCEDURE [dbx].[XXXXX_YYYY_ZZZZ]
AS
SET @var = (SELECT TOP 1 name FROM mytable ORDER BY name)
it fails in converting the same:
--Statements in the input file contain errors; conversion was canceled
I would like to understand who can help me here.
Thanks...

Hi Mayur,
that tool cannot convert stored procedures. it is still being developed. For these you have to do it manually.

Similar Messages

  • Oracle 9i Migration Tool for PL/SQL

    i tried to migrate the plsql code of my 6i forms to 9i via the oracle migration tool ifplsqlconv90 and always get the following error:
    "subclassed module could not be found....."
    although I have put the forms, that have been subclassed from, in the same directory.
    is it the case, that the tool does not work at all for forms that have subclassed items?
    thanks for your answer
    bernhard

    You can use the latest version.

  • Problem with BizTalk 2010 Party Migration Tool

    Hello All,
    We are upgrading BT2006 R2 to BT2010. We are trying to use the Party Migration Tool to move our EDI partners, but are encountering the following error while we are trying to Initialize the Migration Tool:
    The database or the database version is incompatible with the installed version of this product. For more details please see the event log
    The Event Log shows the following:
    Error Source: BizTalk Server Party Migration Tool Details:Microsoft.BizTalk.ExplorerOM.BtsException: The database or the database version is incompatible with the installed version of this product. at Microsoft.BizTalk.ExplorerOM.BtsCatalogExplorer.set_ConnectionString(String
    value) at Microsoft.BizTalk.Migration.PartnerManagement.UI.UpgradeHelperController.InitializeAndAutoMigrate(Nullable`1 doNotMergeIds, Nullable`1 createDefaultAS2Agreement, String sourceServer, String sourceDatabase, String migrationServer, String migrationDatabase,
    Boolean overwriteMigrationDb) at Microsoft.BizTalk.Migration.PartnerManagement.UI.UpgradeHelperController.initializeWorker_DoWork(Object sender, DoWorkEventArgs workerEventArgs) at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object
    argument)
    Has anyone encountered this error yet? Any help would be much appreciated!
    Thanks!

    I think this is the assembly issue. I had reported it during the beta. It looks like I did actually try it on BizTalk 2006 R2. Here is the link (it should be public now):
    https://connect.microsoft.com/BizTalk/feedback/details/559323/partymigrationtool-fails-to-run-on-biztalk-2006-r2-box
    The config is here:
    <configuration>
       <runtime>
          <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
             <dependentAssembly>
                <assemblyIdentity name="Microsoft.BizTalk.Migration.PartnerManagement"  culture="neutral" publicKeyToken="31bf3856ad364e35"/>
                <codeBase version="3.0.1.0" href="..\MSI\Program Files\Microsoft.BizTalk.Migration.PartnerManagement.dll"/>
             </dependentAssembly>
       <dependentAssembly>
                <assemblyIdentity name="Microsoft.BizTalk.Edi.PartnerAgreementManager"  culture="neutral" publicKeyToken="31bf3856ad364e35"/>
                <codeBase version="3.0.2.0" href="..\MSI\Program Files\Microsoft.BizTalk.Edi.PartnerAgreementManager.dll"/>
             </dependentAssembly>
     </assemblyBinding>
       </runtime>
    </configuration>
    So you need to modify the path to match what you have - absolute paths are ok. Then try loading the tool again. I was able to get it to work this way during the beta.
    Thanks,
    If this answers your question, please use the "Answer" button to say so | Ben Cline

  • I have a issue with my mac book pro. For some reason it won't stay powered on. I can't get past the apple loading logo. The battery is fully charged so it is not the problem. Can anyone tell me what the problem may be and how can i get it resolved?

    I have a issue with my mac book pro. For some reason it won't stay powered on. I can't get past the apple loading logo. The battery is fully charged so it is not the problem. Can anyone tell me what the problem may be and how can i get it resolved?

    The battery is fully charged so it is not the problem.
    What happens when you use the MagSafe?

  • SAP query error - 1). [Microsoft][SQL Server Native Client 10.0][SQL Server]Conversion failed when converting date and/or time from character string.  'Received Alerts' (OAIB)

    SAP query error - 1). [Microsoft][SQL Server Native Client 10.0][SQL Server]Conversion failed when converting date and/or time from character string.  'Received Alerts' (OAIB)
    SELECT    
    CASE WHEN T0.DocStatus = 'O' THEN 'OPEN'
    WHEN T0.DocStatus = 'C' THEN 'CLOSED'  END  AS 'Document Status',
    T0.DocDate AS 'Posting Date',
    T0.DocNum AS 'Doc.No',
    T0.NumAtCard,
    T0.TransId AS 'Trans. No.',
    T0.Comments AS 'Remarks',
    T0.CardCode AS 'Offset Acct',
    T0.CardName AS 'Offset Acct Name',
    sum(T0.DocTotal) + (T0.WTSum) as 'DocTotal',
    T3.DueDate AS 'Cheque Date',
    T3.CheckSum AS 'Amount'
    FROM         ODPO AS T0 LEFT OUTER JOIN
                          VPM2 AS T1 ON T0.ObjType = T1.InvType AND T0.DocEntry = T1.DocEntry LEFT OUTER JOIN
         OVPM AS T2 ON T2.DocEntry = T1.DocNum LEFT OUTER JOIN
                          VPM1 AS T3 ON T2.DocEntry = T3.DocNum
    where T0.DocDate>='[%0]' and T0.DocDate<='[%1]'

    Hi,
    Try this:
    SELECT   
    CASE WHEN T0.DocStatus = 'O' THEN 'OPEN'
    WHEN T0.DocStatus = 'C' THEN 'CLOSED'  END  AS 'Document Status',
    T0.DocDate AS 'Posting Date',
    T0.DocNum AS 'Doc.No',
    T0.NumAtCard,
    T0.TransId AS 'Trans. No.',
    T0.Comments AS 'Remarks',
    T0.CardCode AS 'Offset Acct',
    T0.CardName AS 'Offset Acct Name',
    sum(T0.DocTotal) + (T0.WTSum) as 'DocTotal',
    T3.DueDate AS 'Cheque Date',
    T3.CheckSum AS 'Amount'
    FROM         ODPO  T0 LEFT OUTER JOIN
                          VPM2  T1 ON T0.ObjType = T1.InvType AND T0.DocEntry = T1.DocEntry
    LEFT OUTER JOIN
         OVPM  T2 ON T2.DocEntry = T1.DocNum LEFT OUTER JOIN
                          VPM1  T3 ON T2.DocEntry = T3.DocNum
    where T0.DocDate >= '[%0]' and T0.DocDate <='[%1]'
    group by T0.DocStatus,T0.DocDate ,
    T0.DocNum ,
    T0.NumAtCard,
    T0.TransId ,
    T0.Comments ,
    T0.CardCode,
    T0.CardName ,
    T0.WTSum ,
    T3.DueDate ,
    T3.CheckSum
    Thanks & Regards,
    Nagarajan

  • I am having issues with adjusting the duration of time for each still frame and transition in imovie 11.  Each time that I adjust these times, the app does not accept the change, and automatically enters its own time. Am I doing something wrong?

    I am having issues with adjusting the duration of time for each still frame and transition in imovie 11.  Each time that I adjust these times, the application does not accept the change, and instead automatically enters its own time. Is there a work around this? Or am I doing something wrong? Please Help!
    Thank you,
    lagrl

    Have you tried turning off automatic transitions ? Choose file - project properties and follow the dialogue box to change duration with a slider.  iMovie also doesn't allow a transition to be more than 50% duration of the clip its attached to. In other words if the clip is 4 seconds the transition cannot be more than 2 seconds and remember that relates to the first clip as the following clip (right side) is pulled back to overlay it.
    Does this help.  Perhaps you already know this ?

  • Javadoc like tool for PL SQL

    Hi ,
    Is there any document generator tool for PL/SQL.
    Thanks in advance.

    Is anyone currently using NaturalDocs for PL/SQL documentation?
    http://www.naturaldocs.org/
    It seems to be about the only project out there that is still being maintained and expanded. The downside is that NaturalDocs does not currently read javadoc-type comments for PL/SQL code (looks like a long while before it will), rather you need use the NaturalDoc-style of comments.
    However the resulting documentation is quite nice looking (compared to pldoc):
    http://www.naturaldocs.org/documentation/html/files/NaturalDocs-.html
    Some larger projects such as OpenLayers use this:
    http://dev.openlayers.org/releases/OpenLayers-2.7/doc/apidocs/files/OpenLayers-js.html
    but nothing I could find anywhere actually showed PL/SQL code in the documentation.
    Thanks,
    Paul

  • Can't find SAP Tools for MS SQL Server

    Hello all,
    I need to do an dettach/attach procedure, and need this tool. As Note 683447 says, can't find the download tool for this tool.
    http://service.sap.com/msplatforms
    Could you give me a hint please?
    Thanks a lot.

    Hello Benjamin,
         following this note: 683447 - SAP Tools for MS SQL Server I could see these options:
    Thanks a lot and best regards

  • Issue with activation.  It is asking for a serial number but I have a product key

    I am attempting to activate my adobe acrobat and it is asking for a Serial #, However it will not allow me to enter the alpha-numeric product key.

    I finally figured mine out. 
    The fact that they don't have phone support is incredible to me.
    In a message dated 4/21/2015 4:17:02 P.M. Eastern Daylight Time, 
    [email protected] writes:
    Issue  with activation.  It is asking for a serial number but I have a 
    product key
    created by krystalg31319208
    (https://forums.adobe.com/people/krystalg31319208)   in Acrobat Installation & Update Issues - _View the full 
    discussion_ (https://forums.adobe.com/message/7460080#7460080)

  • Note 1915309 - Query Migration Tool Availability?

    Hi,
         I noticed on SCN a new reference to Note 1915309 - Query Migration Tool but it still shows not available.
    Any ideas why it would show as not available when they actually mention it on SCN?
    See the following Link.
    http://scn.sap.com/docs/DOC-35096
    Thanks.

    Not sure if this matters but the following link on that page is also broken..
    "You find can find a list of obsolete functions and proposed workarounds in the SAP Help Library"
    You find can find a list of obsolete functions and proposed workarounds in the SAP Help Library
    Thanks.

  • BEA WebLogic jDriver for Microsoft SQL Server

    Will BEA continue to support current and future installations of WebLogic jDriver for Microsoft SQL Server 2000 even though BEA recommends to use the JDBC driver available from Microsoft? A written response is necessary in order to determine our future product development direction.
    Thank you for your attention regarding this matter.

    Actually, this driver is already documented as deprecated. We intended to remove it from a future
    release (most likely, the release after WLS 8.1).
    The plan is to ship another driver out-of-the-box. We have been evaluating various drivers
    for features, quality, and performance. We are pushing very hard to have this replacement
    driver available in 8.1SP01, which will also ship with the WLI/Portal/WLW GA (announced to
    ship in July). The most likely candidate is already in testing both at the WLS level and
    with the layered products. It also did quite well in an internal performance comparison.
    "Joseph Weinstein" <[email protected]_this> wrote in message news:[email protected]_this...
    >
    >
    Peter Foskaris wrote:
    Will BEA continue to support current and future installations of WebLogic jDriver for Microsoft SQL Server 2000 even though
    BEA recommends to use the JDBC driver available from Microsoft? A written response is necessary in order to determine our future
    product development direction.
    >>
    Thank you for your attention regarding this matter.Hi. We intend to deprecate it. We may or may not fix bugs that are found in it in future, and will likely
    not do any more development on it, such as implementing any JDBC 2.0 methods. It will be in
    our next major release (8), but may not be in future ones.
    Joe Weinstein at BEA

  • Free JDBC 4.0 driver for Microsoft Sql Server database

    Is there any free JDBC 4.0 driver for Microsoft Sql Server database? The jTDS driver is JDBC 3.0 driver. http://jtds.sourceforge.net/

    Sooooooo...
    what's wrong with the driver provided by Microsoft themselves? Which is JDBC 4. And free.

  • Reporting Services for Microsoft SQL Server 2008 R2 (RTM) - 10.50.1617.0

    Hello,
    We are currently running:
    Microsoft SQL Server 2008 R2 (RTM) - 10.50.1617.0 (Intel X86)   Apr 22 2011 11:57:00   Copyright (c) Microsoft Corporation  Standard Edition on Windows NT 5.2 <X86> (Build 3790: Service Pack 2) (Hypervisor)
    We would like to know what is required to configure Reporting Services for Microsoft SQL Server 2008 R2 Standard.  Is their a cost associated?  I need to inform our IT people what is needed.
    Looking forward to your reply, Linda

    Double post:
    http://social.msdn.microsoft.com/Forums/en-US/3e6c5d4e-228e-4a95-b017-4c20ec61cae4/reporting-services-sql-server-express-2008-r2?forum=sqlreportingservices
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • JDriver for microsoft sql server 2000

    "Hi, Currently, I am using your JDriver for microsoft SQL server 2000 for evaluation purposes and confront the following problem: (1) using utils.dbping C:\student\work>java utils.dbping mssqlserver4 sa "" ywu**** Success!!! ****You can connect to the database in your app using: java.util.Properties props = new java.util.Properties(); props.put("user", "sa"); props.put("password", ""); java.sql.Driver d = (java.sql.Driver)Class.forName("weblogic.jdbc.mssqlserver.Driver").newInstance(); java.sql.Connection conn = d.connect("jdbc:weblogic:mssqlserver4:ywu", props) // This mode is superior, especially in serverside classes because // it avoids DriverManager calls are class synchronized, and will // bottleneck any other JDBC in the server, even already-running // connections, because all JDBC drivers use DriverManager.println() // to log info and exceptions, and that call is also class synchronized. // For repeated connecting, a single driver instance can be re-used.**** or **** Class.forName("weblogic.jdbc.mssqlserver4.Driver").newInstance(); java.sql.Connection conn = DriverManager.getConnection("jdbc:weblogic:mssqlserver4:ywu", "sa", "");**** or **** java.util.Properties props = new java.util.Properties(); props.put("user", "sa"); props.put("password", ""); props.put("server", "ywu"); Class.forName("weblogic.jdbc.mssqlserver4.Driver").newInstance(); java.sql.Connection conn = DriverManager.getConnection("jdbc:weblogic:mssqlserver4", props);It seems that everything is fine, but(2) set up connection pool to MS SQL server, the weblogic server prints out error messages during the server goes up:<Jun 18, 2001 5:51:22 PM EDT> <Error> <JDBC Connection Pool> <Cannot startup connection pool "newSQLconn" weblogic.common.ResourceException:Could not create pool connection. The DBMS driver exception was:Driver

    Hi,
    I was having the same problem and to solve it u have to point your classpath to
    mssqlserver4v65.jar in the lib directory of your wl installation, in my case i
    did:
    set classpath=%classpath%;%WL_HOME%\lib\mssqlserver4v65.jar
    I hope it helps.
    Yuanqing Wu <[email protected]> wrote:
    "Hi, Currently, I am using your JDriver for microsoft SQL server 2000
    for evaluation purposes and confront the following problem: (1)
    using utils.dbping C:\student\work>java utils.dbping
    mssqlserver4 sa "" ywu**** Success!!! ****You can connect to the database
    in your app using: java.util.Properties props = new java.util.Properties();
    props.put("user", "sa"); props.put("password", ""); java.sql.Driver
    d = (java.sql.Driver)Class.forName("weblogic.jdbc.mssqlserver.Driver").newInstance();
    java.sql.Connection conn = d.connect("jdbc:weblogic:mssqlserver4:ywu",
    props) // This mode is superior, especially in serverside classes because
    // it avoids DriverManager calls are class synchronized, and will
    // bottleneck any other JDBC in the server, even already-running //
    connections, because all JDBC drivers use DriverManager.println() //
    to log info and exceptions, and that call is also class synchronized.
    // For repeated connecting, a single driver instance can be re-used.****
    or
    **** Class.forName("weblogic.jdbc.mssqlserver4.Driver").newInstance();
    java.sql.Connection conn = DriverManager.getConnection("jdbc:weblogic:mssqlserver4:ywu",
    "sa", "");**** or **** java.util.Properties props = new java.util.Properties();
    props.put("user", "sa"); props.put("password", ""); props.put("server",
    "ywu"); Class.forName("weblogic.jdbc.mssqlserver4.Driver").newInstance();
    java.sql.Connection conn = DriverManager.getConnection("jdbc:weblogic:mssqlserver4",
    props);It
    seems that everything is fine, but(2) set up connection pool to MS SQL
    server, the weblogic server prints out error messages during the server
    goes up:<Jun 18, 2001 5:51:22 PM EDT> <Error> <JDBC Connection Pool>
    <Cannot startup connection pool "newSQLconn" weblogic.common.ResourceException:Could
    not create pool connection. The DBMS driver exception was:Driver

  • SQLDeveloper 3.1 EA3 -- error installing JTDS JDBC Driver for Microsoft SQL

    After installing sqldeveloper64-3.1.06.82-no-jre.zip I get an error when trying to add the "JTDS JDBC Driver for Microsoft SQL Server" extension.
    The error returned is an invalid URL.
    The URL is http://download-llnw.oracle.com/otn-pub/sqldeveloper/oracle.sqldeveloper.thirdparty.drivers.sqlserver.58.17.zip

    Hi Chris,
    A bug was logged for this a few days ago:
    Bug 13547400 - CHECK UPDATES FAILS DUE TO SERVER RETURNED HTTP RESPONSE CODE: 400
    This is similar to another bug which has already been fixed (not a product bug, just a bad URL in an OTN web page):
    Bug 13530787 - 3.1 EA2: FORUM: CHECK FOR UPDATE HAS BAD URL FOR CVS
    3.1EA2 Sqldeveloper Updates Fail to install
    So I imagine yours will get fixed soon.
    Regards,
    Gary
    SQL Developer Team

Maybe you are looking for

  • Text Wrap Options Don't Appear

    Hello, Weird thing happened to me today. I can't use my text wrap panel. None of the options are appearing. What am I doing wrong? I've restarted the program and restarted my computer. Please help. Thank you, Dani NM

  • XML file to Proxy Scenario with BPM - ID Steps

    Hi Guys, Any one can help me to find  about the scenario XML file to ABAP Proxy with BPM, ID steps please. Any link or logical routing, receiver determination and interface determination idea. Please correct me, I have created Business Service as sen

  • Purchase orders created by buyer only can be viewed

    Dear All, Can it possible that Purchase orders created by buyer only can be viewed by him not the ones created by other created under same operating unit. Regards

  • UCM10gR3 - find empty fields

    Hello, I want to find all records with empty custom metadata field. We use RIDC API for integration with our application. We tried to use <NOT> (dDocAccount <matches> `*`), but it didn't work. Do you have some Idea? Thanks Martin

  • Import contacts with addresses

    My addresses did not import with my contacts.