SQL azure migration

Posted on 2011-05-01
Last Modified: 2014-11-12
I am getting this error when using the sqlazuremw.  my database has around 50 tables with data.  Some of the tables have thousands of records.  So I first created schem only and then ran it again for the data.  but i continue to get this error for all the tables.

Anybody have any insight into thisl...

SQLAzureMW could not find the number of rows copied in the BCP output.  Here is the BCP command:

BCP "[ForWebA].[dbo].[SampleTypeIndicies_TemplateForSetupEdit]" out "c:\SQLAzureMW\BCPData\dbo.SampleTypeIndicies_TemplateForSetupEdit.dat" -E -n -T -S localhost

Here is the BCP output:

Warning: Ignoring 'E' flag when copying out.
CTLIB Message:  - L1/O1/S1/N138/1/0:
in, CA 94568, USA"
: user api layer: external error: A data length of 255 exceeds the maximum length allowed for password data.
Setting connection properties failed.

Here is the Regex string being looked for: [0-9]+\srows copied

Using BCP to get data from table [dbo].[ScansMain]
bcp.exe "[ForWebA].[dbo].[ScansMain]" out "c:\SQLAzureMW\BCPData\dbo.ScansMain.dat" -E -n -T -S localhost


Question by:joygomez
    1 Comment
    LVL 4

    Accepted Solution

    Try to replace it with the following and let me know if it worked ????

    BCP "select * from [ForWebA].[dbo].[SampleTypeIndicies_TemplateForSetupEdit]" queryout "c:\SQLAzureMW\BCPData\dbo.SampleTypeIndicies_TemplateForSetupEdit.dat" -E -n -T -S localhost

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    Suggested Solutions

    Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
    Monitoring systems evolution, cloud technology benefits and cloud cost calculators business utility.
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now