Migrating from MSAccess to SQL Server

I have a JSP web application with MS access as the backend . We are in the process of migrating it to a database server . The two options availabel are SQl server 2000 or Postgres SQL .I want to know which option will be the more suitable one . Also if SQL server is used , will the development effort required will be less or more and also wnat to know what could be the changes required in case SQL server is used.
I am a newbie to JSP world.

Paul Chafin wrote:>
> We are migrating an SAP landscape from HP-UX / Oracle to Windows / SQL Server. We have numerous custom programs with OPEN SQL Hint statements of the form:
> Question: What is the best way to make these SQL statements compatible with SQL Server?
Hi Paul,
as hints are highly database specific it may well be that you won't need them for your new DBMS anymore.
In any case you've to review them one-by-one to check the execution plan of the queries without a hint.
A general "migration of hints" is neither possible nor sensible.
regards,
Lars

Similar Messages

  • Sql is not working after changing from MsAccess into sql server

    Following Sql  is not working after changing from MsAccess into sql server. 
    sum(trn.sales) as sales,
    sum(trn.cost) as cost,
    sales - cost as profit // Here is not working . can we not use sales a column. Please advise
    from trn
    Kind Regards
    pol
    polachan

    It will not work if use two different column from the table or column  from two  different table
    Example
    sum(trn.sales * trn.rate) as salesAmount,
    sum(trn.cost) as cost,
    sum(trn.salesAmount)-sum(trn.cost) as profit ----- Here is not working . can we not use sales a column. Please advise
    from trn
    Regards
    polachan

  • Migrating from Oracle to SQL Server - data won't migrate but no errors

    I'm attempting to migrate a database from an Oracle 11g (11.1.0.7.0 64-bit) database to a SQL Server 2008 R2 (10.50.4033.0).  I'm using SSMA, and the Oracle tool was installed on the target SQL Server by the DBA.  I've completed all the steps up
    to and including synchronizing the database, and the empty tables all exist in SQL Server.  When I run the step to migrate the data, I get:
    Migrating data...
    Analyzing metadata...
    Preparing table POLICYS.LOGINS...
    Preparing data migration package...
    Starting data migration Engine
    Starting data migration...
    Data migration operation has finished.
        0 table(s) successfully migrated.
        0 table(s) partially migrated.
        1 table(s) failed to migrate.
    Then a summary box appears, and there is a red X next to the table (I'm trying to just convert 1 small table to begin with.)  What immediately appears to be wrong is that the "To" table is blank.
    I've attempted this multiple times, different tables (initially tried all tables) and tried both Server Side and Client Side migrations with the same result.  There are no errors or warnings on the Error List.
    I've found another online post where the user had the same issue, but in that instance they fixed it by changing the case of the table name. I tried that, but it didn't help.  I'm not sure what is wrong that it won't migrate any data.  Any help
    is appreciated.  TIA
    -George

    Hello,
    Please review the migration process steps from the following tutorial:
    http://blogs.msdn.com/b/ssma/archive/2010/08/27/migrating-oracle-s-sample-hr-schema.aspx
    You can also get help writing an email to
    [email protected] 
    For more information, please read the following article:
    http://msdn.microsoft.com/en-us/library/hh313173(v=sql.110).aspx
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Data MIgration from Oracle to SQL Server 2005

    HI Gurus,
    Kindly please advice me how to migrate Data from oracle to MS SQL Server or Vice Versa.
    I came to know about 2 methods:
    1) Using SQL Developer
    2) USing ODBC.
    KIndly let me know which method is better. I am in confusion about both option
    Kindly advice over the same
    Thanks

    Usually such questions asked and answered on forums of a target system. In this case on MS SQL forums.
    But I will answer.
    You should create a LINKED SERVER in MS SQL that connects to Oracle.
    Then issue couple of SELECT * INTO <TARGET_TABLE> FROM <ORACLE LINKED SERVER>..<SRC SCHEMA>.<SRC TABLE>.
    Install Oracle Client and OLE DB driver on SQL Server machine.
    Also, Oracle is case sensitive by default. MS SQL is case insensitive by default. If there are primary/unique keys that have mixed case values in Oracle, then in MS SQL you need to set case sensitive collation for them.
    PS. If you need not only migrate data one time, but also to have a real time replication during an application transition period, you can take a look on heterogeneous replication solutions like Golden Gates or DataCurrents.

  • Migrating from Oracle to SQL Server - SQL HINTS

    We are migrating an SAP landscape from HP-UX / Oracle to Windows / SQL Server. We have numerous custom programs with OPEN SQL Hint statements of the form:
      select aqmnum akunum aobjnr azztaxtype a~zzservcenter
             azzassmpriok azzaudittype a~zzdr840dt
        into corresponding fields of table lt_qmel
        from qmel as a
        inner join ihpa as b
        on aobjnr = bobjnr
        where a~qmart IN ('Z7','Z8','Z9','ZU','ZD')
        and   b~parnr = sy-uname
        *%_hints oracle*
        *'INDEX("&TABLE&" "IHPAP" "IHPAP")'.*
    Question: What is the best way to make these SQL statements compatible with SQL Server?
    Thanks

    Paul Chafin wrote:>
    > We are migrating an SAP landscape from HP-UX / Oracle to Windows / SQL Server. We have numerous custom programs with OPEN SQL Hint statements of the form:
    > Question: What is the best way to make these SQL statements compatible with SQL Server?
    Hi Paul,
    as hints are highly database specific it may well be that you won't need them for your new DBMS anymore.
    In any case you've to review them one-by-one to check the execution plan of the queries without a hint.
    A general "migration of hints" is neither possible nor sensible.
    regards,
    Lars

  • Migrate from sharepont 2010/ SQL Server 2008 R2 to Sharepoint foundation 2013 / SQL Server 2008 R2 SP1 single server

    Whenever I upgrade database from sharepoint foundation 2010 to 2013 using powershell ( stsadm.exe -o addcontentdb -url http://.....) I get this error when i try to navigate in Sharepoint Central administration
    Help (new window) Go back to site Error Error 
    core.js 
    Troubleshoot issues with Microsoft SharePoint Foundation. 
    Correlation ID: 194f2b9c-628b-a018-f40a-c1b1772f2763 
    Date and Time: 7/3/2013 12:22:50 AM 
    Go back to site Go back to site 
    ULS viewer from log shows
    System.ArgumentException: core.js   
     at Microsoft.SharePoint.WebControls.ScriptLink.AssertLocalizableCompatibility(String strFile, Boolean localizable)    
     at ASP._admin_admin_master.__BuildControl__control15()    
     at ASP._admin_admin_master.__BuildControl__control2()    
     at ASP._admin_admin_master.__BuildControlSPHtmlTag()    
     at ASP._admin_admin_master.__BuildControlTree(_admin_admin_master __ctrl)    
     at System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection)    
     at System.Web.UI.Page.ApplyMasterPage()    
     at System.Web.UI.Page.PerformPreInit()    
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Any help would be appreciated

    I have got the same error when using 2010 compatibility mode in my application when displaying a page. Following are error logs I got.
    Area     : SharePoint Foundation
    Category : Web Controls
    Level    : High
    EventID  : aikzh
    Message  : core.js is should be localized in o14,  call with attribute 
               Localizable = "true".
    Area     : SharePoint Foundation
    Category : General
    Level    : Medium
    EventID  : 8nca
    Message  : Application error when access /_layouts/SP_CMN_Message.aspx, 
               Error=core.js   at Microsoft.SharePoint.WebControls.ScriptLink.Asser
               tLocalizableCompatibility(String strFile, Boolean localizable)     
               at ASP._layouts_15_simplev4_master.__BuildControl__control11()     
               at ASP._layouts_15_simplev4_master.__BuildControl__control3()     
               at ASP._layouts_15_simplev4_master.__BuildControl__control2()     
               at ASP._layouts_15_simplev4_master.__BuildControlTree(_layouts_15_si
               mplev4_master __ctrl)     at 
               System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, 
               HttpContext context, VirtualPath masterPageFile, IDictionary 
               contentTemplateCollection)     at 
               System.Web.UI.Page.ApplyMasterPage()     at 
               System.Web.UI.Page.PerformPreInit()     at 
               System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBe...
    Area     : SharePoint Foundation
    Category : Runtime
    Level    : Unexpected
    EventID  : tkau
    Message  : System.ArgumentException: core.js    at Microsoft.SharePoint.WebCont
               rols.ScriptLink.AssertLocalizableCompatibility(String strFile, 
               Boolean localizable)     at 
               ASP._layouts_15_simplev4_master.__BuildControl__control11()     at 
               ASP._layouts_15_simplev4_master.__BuildControl__control3()     at 
               ASP._layouts_15_simplev4_master.__BuildControl__control2()     at AS
               P._layouts_15_simplev4_master.__BuildControlTree(_layouts_15_simplev
               4_master __ctrl)     at 
               System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, 
               HttpContext context, VirtualPath masterPageFile, IDictionary 
               contentTemplateCollection)     at 
               System.Web.UI.Page.ApplyMasterPage()     at 
               System.Web.UI.Page.PerformPreInit()     at 
               System.Web.UI.Page.ProcessRequestMain(Boolean 
               includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAs...
    Area     : SharePoint Foundation
    Category : General
    Level    : High
    EventID  : ajlz0
    Message  : Getting Error Message for Exception 
               System.Web.HttpUnhandledException (0x80004005): Exception of type 
               'System.Web.HttpUnhandledException' was thrown. ---> 
               System.ArgumentException: core.js     at Microsoft.SharePoint.WebCon
               trols.ScriptLink.AssertLocalizableCompatibility(String strFile, 
               Boolean localizable)     at 
               ASP._layouts_15_simplev4_master.__BuildControl__control11()     at 
               ASP._layouts_15_simplev4_master.__BuildControl__control3()     at 
               ASP._layouts_15_simplev4_master.__BuildControl__control2()     at AS
               P._layouts_15_simplev4_master.__BuildControlTree(_layouts_15_simplev
               4_master __ctrl)     at 
               System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, 
               HttpContext context, VirtualPath masterPageFile, IDictionary 
               contentTemplateCollection)     at 
               System.Web.UI.Page.ApplyMasterPage()...
    Area     : SharePoint Foundation
    Category : General
    Level    : Monitorable
    EventID  : aat87
    Message  : An unexpected error has occurred.
    The error appeared while Applying Master Page.. 
    I have managed to fix that removing "15" from  MasterPageFile="~/_layouts/15/simple.master", so the path  is
    MasterPageFile="~/_layouts/simple.master".
    Otherwise, it could be fixed changing attribute "Localizable" to true  in <SharePoint:ScriptLink language="javascript" name="core.js" OnDemand="true" EnableCustomActions="false" Localizable="false"
    runat="server" />    in  simplev4.master   MasterPage, however this way is not desirable.
    hope that could help..

  • Migrating data from oracle to sql server

    I have two databases(Oracle and Sql Server) in my company.
    I want to migrate some data on daily basis from Oracle to Sql Server.
    what are the best methodologies used to perform this task?
    Can we schedule this task on daily basis?
    please help me guys

    Salma,
    First and foremost, you need to understand that there are architectural difference between Oracle and SQL Server (with the major one being the difference between Oracle's PL/SQL and Microsoft's Transact-SQL) thus, it will not be an easy task to migrate data from Oracle Database to SQL Server. As far as the use of tools is concerned, you can utilize the following tools (third party tools not recommended) to achieve this:
    Microsoft SQL Server Migration Assistant (Oracle to SQL)
    http://www.microsoft.com/sqlserver/2005/en/us/migration-oracle.aspx
    Oracle SQL Developer Migration Workbench (SQL to Oracle)
    http://www.oracle.com/technology/tech/migration//workbench/index_sqldev_omwb.html
    But before proceeding with anything, I would recommend you to read through the following post as it lists down the primary compatibility resources and migration guidelines:
    Migrating from Oracle to SQL Server
    http://vyaskn.tripod.com/oracle_sql_server_differences_equivalents.htm
    Hope this helps.
    Regards,
    Naveed.

  • Migration of Database from Oracle to SQL Server in Business Objects XI 3.1

    Hi,
    Currently, We are working on Business Objects XI 3.1 and Database is  Oracle 11g. And now we have the requirement to migrate from Oracle 11g to SQL Server 2008 R2.
    I would like to know what are the key points to be considered in business objects XI 3.1 when the database is migrated from oracle to SQL server.
    If anyone can share the Impact analysis document for Business Objects, it would be great.
    Thanks,
    Lavanyaa TP

    If you use business objects tools for such migration , the impact should be minimal.
    CMSDBCopy mechanism from CCM should work fine for this purpose.

  • How can i Migrate a database from DB2 to SQL Server 2008r2.

    Hi Gurus,
    Kindly help me letting me know the process for migrating the database from DB2 to SQL Server.
    1) Is there any way to migrate a database from DB2 to SqlServer. (My assumption is we can not migrate database, if wrong correct me gurus).
    2) Or we can only transfer data from that DB2 database to SQL Server (Using SSIS packages).
    Please help me knowing the process to migrate the data from DB2 server to MSSQL server. Even am reading the documents available in the web.
    Thanks in advance.. :)

    Microsoft provide a migration assistant for DB2 to SQL Server:
    http://www.microsoft.com/en-us/download/details.aspx?id=45296
    SQL Server Migration Assistant (SSMA) is a free supported tool from Microsoft that simplifies database migration process from DB2 to SQL Server and Azure SQL DB. SSMA automates all aspects of migration including migration assessment analysis, schema and
    SQL statement conversion and data migration. 
    Hope that helps

  • SSMA for migrating table from oracle to Sql server

    Hi All,
    I wanted to replicate oracle huge table to sql server and i am using SSMA.its helpful and fast but can we replicate the table to different name using SSMA.for example i have a table TEST and i wanted to replicate it to SQL_TEST.Can it be possible
    using SSMA.
    Kindly help me out 

    Hi All,
    I wanted to replicate oracle huge table to sql server and i am using SSMA.its helpful and fast but can we replicate the table to different name using SSMA.for example i have a table TEST and i wanted to replicate it to SQL_TEST.Can it be possible
    using SSMA.
    Kindly help me out 
    Hello,
    Same question has  already been asked by you in below thead. Why you created duplicate thread ?  please avoid this practice or your thread will be marked ass Spam
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/abcdfb1b-c617-453f-828d-c8e4ec266c78/ssma-for-migrating-table-from-oracle-to-sql-server?forum=sqlintegrationservices
    Moderators plz merge this thread.
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Migrating Data from MySQL to SQL Server 2012

    Hi all,
    I'm Migrating a database from MySQL to SQL Server 2012, using SSMA for MySQL v5.2.1258.  I've got the schema migrated over and have resolved any migration issues (stored procedures / views), but when it comes to migrating over the data I'm just hitting
    a wall.
    None of the data is migrating and when the migration report is displayed every table has a red x against it's Status.  The Output box has the following:
    Data migration operation has finished.
    0 table(s) successfully migrated. 
    0 table(s) partially migrated. 
    64 table(s) failed to migrate.
    I've seen on the forum that someone else was having the same problem
    (http://social.msdn.microsoft.com/Forums/en-US/sqlservermigration/thread/b835f4b3-3d93-42a4-9b6b-d21d3dfd8dab/)
    I've set the project settings mode to default, still getting the same error and tried using both Client Side Data Migration and Server Side migration, with both giving the same result.  I've tried going through the step-by-step blog as well.
    I am doing something really stupid?  There are 64 tables, so don't really want to try doing exports from each table and importing it into the new database.
    Hope someone can help.
    Cheers
    Alex

    Hello,
    I don’t have suggestions for you, but you can try contacting the SQL Server Migration Assistant (SSMA) Team via e-mail ([email protected])
    to see if they can provide a solution on this scenario.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Migrating SAP products from a non-SQL Server platform to a SQL Server 2005

    Hi,
    I have another question too.
    Can someone pls provide me the Considerations for Migrating SAP products from a non-SQL Server platform to a SQL Server 2005 platform?
    More specifically from Oracle to SQL 2005.
    Regards
    Abhi

    Hello
    You need to perform an OSDB migration.
    This will involve exporting your SAP system into a DB neutral format and then reloading this into an SQL 2005 SAP system.
    Please review http://service.sap.com/osdbmigration
    I recommend you review the homo/heterogeneous system copy guide for your SAP release.
    Thanks
    N.P.C

  • Error while converting schema from oracle to SQL server

    Hello,
    I am getting following error while converting schema from oracle to SQL server using SSMA.
    I get Errors 1-3 while migrating procedures and error 4 while migrating a table.
    1- O2SS0050: Conversion of identifier 'SYSDATE' is not supported.
    2- O2SS0050: Conversion of identifier 'to_date(VARCHAR2, CHAR)' is not supported.
    3- O2SS0050: Conversion of identifier 'regexp_replace(VARCHAR2, CHAR)' is not supported.
    4- O2SS0486: <Primary key name> constraint is disabled in Oracle and cannot be converted because SQL Server does not support disabling of primary or unique constraint.
    Please suggest.
    Thanks.

    The exact statement in oracle side which causing this error (O2SS0050:
    Conversion of identifier 'to_date(VARCHAR2, CHAR)' is not supported.) is below:
    dStartDate:= to_date(sStartDate,'MON-YYYY');
    Statement causing error O2SS0050:
    Conversion of identifier 'regexp_replace(VARCHAR2, CHAR)' is not supported is below.
    nCount2:= length(regexp_replace(sDataRow,'[^,]'));
    So there is no statement which is using to_date(VARCHAR2,
    CHAR) and regexp_replace(VARCHAR2, CHAR) in as such. 'MON-YYYY'  and '[^,]'
    are CHAR values hence SSMA is unable to convert it from varchar2 to char.
    Regarding SYSDATE issue, you mean to put below code in target(SQL) side in SSMA ?
    dDate date := sysdate;
    Thanks.

  • Migration from phpMyAdmin to SQL

    Hi Guys,
    I need your help, I made one website on PHP with the database of MySQL now as i want to shift the database into the MSSQL. 
    What should i do? as i am new to the technology. Can anyone the step by step Tutorial for that or anyone can tell me i would be really appreciable.
    I have Xampp Server for PHP.
    Let me know for any other information if required.
    Thanks in advance 

    Hello,
    You can use SSMA utilty to migrate your databases to SQL Server as mentioned by Prashanth.
    To connect to SQL Server from PHP or Linux, please use the following web resource:
    http://www.sqlcoffee.com/OpenSource.htm
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Heterogeneous Migration of BW on SQL Server to BW on HANA Issue

    Hi,
    I am performing Heterogeneous migration of BW on SQL Server to BW on HANA  according to the procedure mentioned in the SAP Documentation.
    Started the migration using Software Provisioning Manager.
    I have ran SMIGR_CREATE_DDL and ran export of source system and it is completed successfully.
    Then I ran the Import of Target system. The import ran into issues when running the script SAPVIEW, the script resulted in failure when creating views.
    (DB) ERROR: DDL statement failed
    (CREATE VIEW "V_TRALAN" ( "PGMID" , "OBJECT" , "OBJ_NAME" , "AUTHOR" , "DEVCLASS" , "MASTERLANG" , "COMPONENT" , "NAMESPACE" , "TPCLASS" , "GENFLAG" , "DLVUNIT"  ) AS SELECT T0001."PGMID", T0001."OBJECT", T0001."OBJ_NAME", T0001."AUTHOR", T0001."DEVCLASS",  T0001."MASTERLANG", T0002."COMPONENT", T0002."NAMESPACE", T0002."TPCLASS", T0001."GENFLAG", T0002."DLVUNIT" FROM "TADIR" T0001, "TDEVC" T0002 WHERE T0002."DEVCLASS" = T0001."DEVCLASS")
    DbSlExecute: rc = 103
      (SQL error 259)
      error message returned by DbSl:
    invalid table name:  Could not find table/view TDEVC in schema SAPXXX: line 1 col 386 (at pos 385)
    I found that there are many tables which are missing in HANA Schema but exists in Source system database.
    I checked the export scripts like *.STR and *.EXT and does not see those tables being captured.
    Example table: TTREE exists in Source System database , but missing in HANA Database Schema SAPXXX.
    Not sure what is the problem and how can I fix this issue. I was planning to manually move the missing tables from Source database to HANA Database schema, but that will be too much and I am not sure how many of them are missing.
    Please let me know how can I fix this issue?
    Thanks.
    Syed

    Hi,
    can you please have a look on this issue,
    4 ETW000  [dbsdbsql.cpp,00000]  *** ERROR =>   prepare() of C_0000, rc=1, rcSQL=259 (invalid table name:  Could not find table/view DDNTT in schema SYSTEM: line 1 col 32 (at pos 31))
    4 ETW000                                                                                                1426  0.111569
    4 ETW000  [dbslsdb.cpp ,00000]  *** ERROR => SQL PREPARE on connection 0, rc=259 (invalid table name:  Could not find table/view DDNTT in schema SYSTEM: line 1 col 32 (at pos 31))
    4 ETW000                                                                                                  23  0.111592
    Regards,
    Srini

Maybe you are looking for

  • SMS Text Display name

    If I go into options on my BB 8530 and into the SMS Text and change my display name and then save it keeps it for a short period of time.  As soon as I do a reboot by the alt, caps, del keys it goes back to the first name I put in.  Is there a servic

  • How can i print the the entire help manual?

    Yes. I know how to view the help guide/manual online. Just want to know if I can print the entire guide out at once instead of wasting an entire day pointing, clicking, and printing each topic/subject individually. Thank you, Cal Thompson

  • Convert Char (##) to P

    Hi experts I have to convert a char-variable to a p-variable. The char-variable contains "##" (HEX = 001C). Normaly it should be "1" and not '##'. Because when I put a "1" to the P-variable, I get the same hex-value like in the char. When I say p-var

  • HT4157 I am unable to log into the "View Account",

    I am unable to log into the "View Account" on my iPad,  I have tried to Reset the account but never get sent an e-mail.  (I know what e-mail address it was originally setup with, but I did try all 3 just to be sure).   I also not not able to reset th

  • Add-on works with Firefox 33.0 on one computer but on another computer, Firefox 33.0 says that add-on is incompatible.

    I have a laptop and a desktop computer. Both are HP and both have recently been updated with the latest version of Windows 8.1 and Firefox 33.0. On the desktop, Norton Toolbar still works fine. However, on the laptop, Norton Toolbar is disabled and t