BCP I/O Error - SQL Server 2k

  • Hi All,

    i have a table with identity column( SQL server 2K). I am using BCP utility to insert data with format file and a flat file(.dat). Inside the format file i have omitted the identity column. and Inside the data file also i do not have anything corresponding to identity column.. ie ( Format and data file match in terms of number fo columns , order, type etc)

    When i try to run BCP ( from a batch file) i get an error like below

    "SQLState = S1000, NativeError = 0

    Error = [Microsoft][ODBC SQL Server Driver]I/O error while reading BCP format file"

    DO i need to create a view and then insert in to that?.. please let me know

    Thanks

    THNQdigital

     

  • This was removed by the editor as SPAM

  • Hi

    chechk this post..

    http://qa.sqlservercentral.com/forums/shwmessage.aspx?forumid=169&messageid=152797

    SqlIndia

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply