How to troubleshoot online datamove for 1 of 3 SQL Server 2008 migrations.

I have 3 SQL Server 2008 databases that I need to migrate to Oracle 11gR2 with data only. For all databases I can capture convert, and deploy to the target database. I can also successfully do an online data move for 2 of the databases. The third database runs for about 2 hours and gives a message that the migration completed successfully, but no a single row from any of the tables comes over. How do I figure out what failed. I don't see anything in the reports in SQL Developer (3.2.20.09). To save time and since I am only interested in the tables, indexes and data, after capturing the model, I delete from QL Developer, views, procedures, functions, sequences and triggers before the covert step.

Hello,
did you delete the views, procedures, functions etc. from the converted model only for the database where you have the problem, or did you do the same for all the three databases?
Have you had a look at the MIGRLOG table in your migration repository? Does it contain any helpful information?
Regards
Wolfgang

Similar Messages

  • How to export data with column headers in sql server 2008 with bcp command?

    Hi all,
    I want know "how to export data with column headers in sql server 2008 with bcp command", I know how to import data with import and export wizard. when i
    am trying to import data with bcp command data has been copied but column names are not came.
    I am using the below query:-
    EXEC master..xp_cmdshell
    'BCP "SELECT  * FROM   [tempdb].[dbo].[VBAS_ErrorLog] " QUERYOUT "D:\Temp\SQLServer.log" -c -t , -T -S SERVER-A'
    Thanks,
    SAAD.

    Hi All,
    I have done as per your suggestion but here i have face the below problem, in print statment it give correct query, in EXEC ( EXEC master..xp_cmdshell @BCPCMD) it was displayed error message like below
    DECLARE @BCPCMD
    nvarchar(4000)
    DECLARE @BCPCMD1
    nvarchar(4000)
    DECLARE @BCPCMD2
    nvarchar(4000)
    DECLARE @SQLEXPRESS
    varchar(50)
    DECLARE @filepath
    nvarchar(150),@SQLServer
    varchar(50)
    SET @filepath
    = N'"D:\Temp\LDH_SQLErrorlog_'+CAST(YEAR(GETDATE())
    as varchar(4))
    +RIGHT('00'+CAST(MONTH(GETDATE())
    as varchar(2)),2)
    +RIGHT('00'+CAST(DAY(GETDATE())
    as varchar(2)),2)+'.log" '
    Set @SQLServer
    =(SELECT
    @@SERVERNAME)
    SELECT @BCPCMD1
    = '''BCP "SELECT 
    * FROM   [tempdb].[dbo].[wErrorLog] " QUERYOUT '
    SELECT @BCPCMD2
    = '-c -t , -T -S '
    + @SQLServer + 
    SET @BCPCMD
    = @BCPCMD1+ @filepath 
    + @BCPCMD2
    Print @BCPCMD
    -- Print out below
    'BCP "SELECT 
    * FROM   [tempdb].[dbo].[wErrorLog] " QUERYOUT "D:\Temp\LDH_SQLErrorlog_20130313.log" -c -t , -T -S servername'
    EXEC
    master..xp_cmdshell
    @BCPCMD
      ''BCP' is not recognized as an internal or external command,
    operable program or batch file.
    NULL
    if i copy the print ourt put like below and excecute the CMD it was working fine, could you please suggest me what is the problem in above query.
    EXEC
    master..xp_cmdshell
    'BCP "SELECT  * FROM  
    [tempdb].[dbo].[wErrorLog] " QUERYOUT "D:\Temp\LDH_SQLErrorlog_20130313.log" -c -t , -T -S servername '
    Thanks, SAAD.

  • How to convert string to an integer in SQL Server 2008

    Hi All,
    How to convert string to an integer in sql server,
    Input : string str="1,2,3,5"
    Output would be : 1,2,3,5
    Thanks in advance.
    Regards,
    Sunil

    No, you cannot convert to INT and get 1,2,3 BUT you can get
    1
    2
    3
    Is it ok?
    CREATE FUNCTION [dbo].[SplitString]
             @str VARCHAR(MAX)
        RETURNS @ret TABLE (token VARCHAR(MAX))
         AS
         BEGIN
        DECLARE @x XML 
        SET @x = '<t>' + REPLACE(@str, ',', '</t><t>') + '</t>'
        INSERT INTO @ret
            SELECT x.i.value('.', 'VARCHAR(MAX)') AS token
            FROM @x.nodes('//t') x(i)
        RETURN
       END
    ----Usage
    SELECT * FROM SplitString ('1,2,3')
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Set SPN for a local SQL Server 2008 R2 Express database used for local "Offline Mode" application

    Hi - I have tried searching the web for tips on this situation. Basically, I am trying to recreate a previous employee's client Image. This image is used for one of our companies client application that features and "Offline Mode" where it connects
    (Using Kerberos) to the local DB instead of the central DB server.
    The custom image connects without issue. I cannot seem to recreate his configuration. I am sure of these things:
    - Both images are using the same SQL Server 2008 R2 Express version.
    - Both images have the same user accounts setup.
    - Both images have "Remote Connections" setup with TCP/IP enabled in the Configuration Manager.
    - Both images are joined to the same Domain server currently.
    - Both images has the SQLServer service set to use "NETWORK SERVICE" account.
    This is the error message I get when SQL starts up for the non-working image:
    The SQL Network Interface library could not register the Service Principal Name (SPN) for the SQL Server service. Error: 0x54b, state: 3. Failure to register an SPN may
    cause integrated authentication to fall back to NTLM instead of Kerberos. This is an informational message. Further action is only required if Kerberos authentication is required by authentication policies.
    Thank you for any assistance given.

    Hi Gribbled,
    Could you please change the SQL Server Service to run under 'LocalSystem' account and restart SQL Server? Then check if the error still occurs. When the SQL Server service account is configured to use the LocalSystem account, the server will automatically
    publish the SPN.
    Alternatively, to work around this issue, you can manually create the SPN for the SQL Server Service account  using the SETSPN tool. For more details, please review this
    blog.
    Thanks,
    Lydia Zhang

  • How to point out high CPU Utilization in sql server 2008

    Hi,
    I am using sql server 2008 , where in i have 10 instances in the physical box of all sql server 2008 versions.
    I can see , the CPU (12 CPUS) that is allocated to the physical box is consuming around 90% of utilization, I need your help to point out the exact sql instance that is using more CPU, Please give me the mathods , since i understand that there is no fixed
    rule to derive the solution.
    Thank you
    hemadri

    This first thing to check if CPU is at 100% is to look for parallel queries:
    -- Tasks running in parallel (filtering out MARS requests below):
    select * from sys.dm_os_tasks as t
     where t.session_id in (
       select t1.session_id
        from sys.dm_os_tasks as t1
       group by t1.session_id
      having count(*) > 1
      and min(t1.request_id) = max(t1.request_id));
    -- Requests running in parallel:
     select *
       from sys.dm_exec_requests as r
       join (
               select t1.session_id, min(t1.request_id)
              from sys.dm_os_tasks as t1
             group by t1.session_id
            having count(*) > 1
               and min(t1.request_id) = max(t1.request_id)
          ) as t(session_id, request_id)
         on r.session_id = t.session_id
        and r.request_id = t.request_id;
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Renaming the Physical Filename for Datafiles in SQL Server 2008

    Can anyone tell me how to change the physical filename of the datafiles? There doesn't seem to be any documentation on this, yet its quite easy to change the logical filename.

     There are several ways to make this change, however to rename the physical database files at operating system level you will have to take the database offline
    1. Use SSMS to take the database Offline (right-click on Database, select Tasks, Take Offline), change the name of the files at the OS level and then Bring it Online.
    2. You could Detach the database, rename the files and then Attach the database pointing to the renamed files to do so.
    3. You could Backup the database and then restore, changing the file location during the restore process.
    4. using T SQL
    ALTER DATABASE databaseName SET OFFLINE
    GO
    ALTER DATABASE databaseNAme MODIFY FILE (NAME =db, FILENAME = 'C:\Program
    Files\Microsoft SQL Server\MSSQL.2\MSSQL\Data\db.mdf')
    GO
    --if changing log file name
    ALTER DATABASE  databaseNAme MODIFY FILE (NAME = db_log, FILENAME =
    'C:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Data\db.ldf')
    GO
    ALTER DATABASE databaseName SET ONLINE
    GO
    for more info http://technet.microsoft.com/en-us/library/ms174269.aspx

  • Test Connection failed in Crystal Reports for Eclipse using SQL Server 2008

    I installed an SQL Server Express 2008 on my local PC (Window XP SP3). I downloaded sqljdbc4.jar to Crystal Reports for Eclipse
    IDE library path and tried to Test Connection, but got the Ping failed message : The TCP/IP connection to the host localhost, port 1433 has failed. It said that check that an instance of SQL Server is running on the host (I saw SQL Server SQLEXPRESS is Running on my PC) and accepting TCP/IP connection at the port (I enabled TCP/IPin my PC's SQL Server Network Configuration),
    and that no firewall is blocking TCP connection to the port(I turned OFF Window Firewall on my OC). Can anyone tell me how can I fix this problem ?

    Hi,
    Check the below thread also:
    http://scn.sap.com/thread/1634856
    Thanks,
    DJ

  • How do I view the transaction log in SQL Server 2008?

    Hello,
    I want to know how to view all the transactions taken during a particular period of time. I know there is a log file, ending with .ldf, created for each database. But how do I view this file?
    Is there any tool in the SQL Server studio that can enable me to view the transactions for a given time period?
    The reason for me wanting to view the log file is that, last week during a power outage, certain amount of data was not written. And one my friend had also messed up some of the data (unfortunately, she doesn't remember what she did).
    Thanks in advance.

    Hi,
     It enables you to read from you transaction log which contains very valuable information about stuff that is happening in your database.
    select
    * from fn_dblog (null,null) ..
    EXAMPLE:
    SELECT
    FROM
    ::fn_dblog(NULL, NULL)
    WHERE
    operation = 'LOP_DELETE_SPLIT'
    Thanks,
    Leks

  • Urgent : Domain creating for BPM in sql server 2008

    Hi,
    I have created the repository for SOA & BPM and installed the soa 11.1.1.7 in windows 64 bit.
    while am creating the domain for soa in weblogic server 10.3.6. Am getting error like
    [FMWGEN][SQLServer JDBC Driver][SQLServer]Could not find stored procedure 'master..xp_jdbc_open2'.
    CFGFWK-60850: Test Failed!
    For this issue i have found the solution from MOS
    SOA 11g: Data Source Error Using SQL Server in Domain Configuration Wizard, 'CFGFWK-60850' [ID 1483823.1]
    we have tried above solution but still we are facing the same issue.
    please suggest me to solve this issue.
    Regards
    Kumar V

    Hi,
    Now the issue has been fixed.
    we have followed the below mentioned document. it gives solution for this issue.
    SOA 11g: Data Source Error Using SQL Server in Domain Configuration Wizard, 'CFGFWK-60850' [ID 1483823.1]
    Thanks
    Kumar V

  • How to create YTD and MTD reports using Sql Server 2008 r2 report builder 3.0

    Hi All,
    How can I create YTD report from the below data. please help me
    ProdA     ProdB     ProdC     Month     Year
    10       50        40          January      2012
    Data for full Year i.e. from Jan - December 2012
    50       90       100        January       2013
    Data for full Year i.e. from Jan - December 2013
    90       40         30        January        2014
    Data for full Year i.e. from Jan - Till Date 2014
    MercuryMan

    You can use a correlated subquery to calculate YTD in query behind. You can use APPLY operator for that
    so something like
    SELECT *
    FROM Table t1
    CROSS APPLY (SELECT SUM(ProdA) AS TotA,SM(prodB) AS TotB,SUM(prodC) AS TotC
    FROM Table
    WHERE Year = t.Year)t1
    And show TotA,TotB and TotC in the required total row
    Another method is to add required totals in SSRS by clicking on relevant group and choosing Add Total option
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How many query possible in 1 second at Sql Server ?

    Hello
    I have 30,000 records. Table have 10 columns. Columns have indexes if column at where condition. And select question will give 20-30 records as result. (select column1, column2,...... column10 from table where columnSecondID=2I. I will use hosting standart
    plane. 
    How many query possible in 1 second at Sql Server 2008 ?
    How many query possible in 1 second at Sql Server 2012 ?
    How many user can visit my web site ?

    Hello
    I have 30,000 records. Table have 10 columns. Columns have indexes if column at where condition. And select question will give 20-30 records as result. I will use hosting standart plane. 
    How many query possible in 1 second at Sql Server 2008 ?
    How many query possible in 1 second at Sql Server 2012 ?
    How many user can visit my web site ?
    That's hard to say. One second for CPU is quite high time and CPU can do lot of work in that time. again, this is relative and depends on what the query is.
    The biggest bottleneck in performance is - Disk IO system. In general, if  the required data is in memory, it can help significantly in improving the performance.
    Remember, CPU will be doing other processing work while it is fetching the data from disk.
    What you need to is  - load test or stress your server. There are some tools available for you to do it. 
    RML : https://support.microsoft.com/en-us/kb/944837?wa=wsignin1.0
    distributed replay : https://msdn.microsoft.com/en-us/library/ff878183.aspx
    to test IO : http://www.brentozar.com/archive/2008/11/storage-performance-testing-with-sqlio/
    read this : http://www.brentozar.com/archive/2012/06/load-test-sqlserver/
    You also need to look at Max worker thread limitations. this depends on the server configuration(64 bit/32 bit) and other factors...
    https://technet.microsoft.com/en-us/library/ms187024%28v=sql.105%29.aspx
    one problem that can happend is thread pool starvation where there are too many connections
    happening if your server cannot keep up with the workload.. like if your cpu is working in processing the queries and cannot accept new connections..
    watch this good youtube video on thread pool starvatioin :
     https://www.youtube.com/watch?v=XJ67oHBM2Hw
    Hope it Helps!!

  • Has mssql2008r2 got "Cumulative Update Package 6 for SQL Server 2008 Service Pack 1"

    hi,
    I have
    Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (Intel X86)   Apr  2 2010 15:53:02   Copyright (c) Microsoft Corporation  Express Edition with Advanced Services on Windows NT 5.1 <X86> (Build 2600: Service Pack 3) 
    , i wanted to know has it got
    "Cumulative Update Package 6 for SQL Server 2008 Service Pack 1"
    so that i do not have to install or i have to install
    yours sincerley

    Thank u, please tel me can i instal  sp3.
    I have noticed the link of sp2 (http://www.microsoft.com/en-in/download/details.aspx?id=30437)
     has listed
    (SQL Server 2008 R2 Express Edition)
    SQL Server 2008 R2 Service Pack 2 (SP2) is now available for download. SQL Server 2008 R2 service packs are cumulative and can be used to upgrade all releases of SQL Server 2008 R2 to Service Pack 2. SQL Server 2008 R2 Service Pack 2 contains Cumulative Update
    1 to 5 from SQL Server 2008 R2 SP1. The package can be used to upgrade the following SQL Server 2008 R2 editions: 
    SQL Server 2008 R2 Parallel Computing Edition
    SQL Server 2008 R2 Datacenter Edition
    SQL Server 2008 R2 Enterprise Edition and Developer Edition
    SQL Server 2008 R2 Standard Edition
    SQL Server 2008 R2 Web Edition
    SQL Server 2008 R2 Workgroup Edition
    SQL Server 2008 R2 Express Edition
    where as link of sp3(http://www.microsoft.com/en-us/download/details.aspx?id=44271)
    has not listed express edition but written in general.
    SQL Server 2008 R2 Service Pack 3 (SP3) is now available for download. SQL Server 2008 R2 service packs are cumulative and can be used to upgrade all releases of SQL Server 2008 R2 to Service Pack 3. SQL Server 2008 R2 Service Pack 3 contains
    Cumulative Update 1 to 13 from SQL Server 2008 R2 SP2. The package can be used to upgrade the following SQL Server 2008 R2 editions: 
    SQL Server 2008 R2 Parallel Computing Edition
    SQL Server 2008 R2 Datacenter Edition
    SQL Server 2008 R2 Enterprise Edition and Developer Edition
    SQL Server 2008 R2 Standard Edition
    SQL Server 2008 R2 Web Edition
    SQL Server 2008 R2 Workgroup Edition
    yours sincerley

  • How to configure USER CAL on SQL server 2008

    how to configure or Add User CAL on SQL server 2008?
    pls let me know the process

    Hello,
    There is no CAL management in SQL Server, you have the licenses only "on paper".
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • How to get online Number for India ?

    Spoiler (Highlight to read)
    How to get online Number for India ? 
    Spoiler (Highlight to read)

    Hello,
    Skype does not offer Online Numbers in this country.
    For more info regarding Online Numbers please visit: https://support.skype.com/en/faq/FA269
    If my answer helped to fix your issue, mark it as a Solution to help others.
    Thank You!
    Please send private messages only upon request.

  • How to access the datasource window in SSRS for sql server 2008 R2 for writing my query without having to go through the wizard?

    I have used SSRS a lot years ago with Sql Server 2000 and Sql Server 2005. I have written external assemblies, ... But now I have to do this with Sql Server 2008 (R2 -- which I realize I am way behind the times already but ...)  in sql server 2000 and
    2005 there was a tab for datasource to the left of the tab for design which was to the left of the preview tab. How do I get to the datasource window in sql server 2008 (r2) ?
    I see that datasource explorer.  But where can I get to the datasource window to edit my queries and so forth for sql server 2008 (R2)?
    Thanks
    Rich P

    I think I found the answer to my question --- just right-click on the the Data Sources or Datasets for editing connections and dataset queries.  I'm guessing it gets even fancier with Sql Svr 2012 - 2014.    Man, that's the one thing
    about coding platforms -- you let it go for a few years and come back, and everything has changed (well, a lot of things).  Now I need to figure out how to add an external assembly to SSRS 2008 (R2).
    Rich P

Maybe you are looking for

  • Unable to Sync Video files after Itunes 9.0.3 and iPhone software update

    This is my problem with Itunes- After I the Software Update program installed iTunes 9.0.3 yesterday, and I upgraded the iPhone software (to 3.1.3.) shortly thereafter. The iPhone upgrade failed (it froze). When I restarted the computer, I had to res

  • How to move the Thumbnails & the photo caption to top in Galleria

    I am working on a click-able gallery using the coding found on jQuery Galleria 1.0b from http://galleria.aino.se/ Similar coding can be found on here; http://monc.se/kitchen/146/galleria-a-javascript-image-gallery#comments I would like to move the th

  • Passing parameters between form portlets on two different pages ...

    Here is a brief summary of our problem. We have one master form and a detail form which are published as portlets and placed in two different pages. Now i want to pass parameters from master form portlet resides on one page to detail form portlet res

  • ERS settlement - GR based invoice verification

    I have a problem. I have a PO for 20000. GR done for 10000.Invoicing done for 10000. Now for this vendor ERS activated. But in PO I cannot activate GR based Inv verfication because its grayed out.The  is SPRO config. I cannot change it. Is there any

  • SQL Database for 10.6

    I understand that Apache web server comes as a default with 10.6. I now how to turn it on along with PHP. My question is does it come with any database out of the box i.e. sqlite or do I need to install MySQL Thanks, Dean