Insert Error: Column name or number of supplied values does not match table definition

  • Hi,

    I create a transactional replication,but always get following error message:

    Insert Error: Column name or number of supplied values does not match table definition.(Source: SCHDBA\MATH (Data source); Error number: 213)

    Help me!

     

  • This happens only when the number of columns in the destination table does not match the number of columns in the source table - one way to eliminate this is to explicitly name all the columns that you are inserting into...eg:

    insert into table(col1, col2, col3)

    values(1, 2, 3)







    **ASCII stupid question, get a stupid ANSI !!!**

  • Yes,Thank sushila!

    It's Ok after I corrected this kind "insert into ... " in sp.

     

     

  • I am getting this error when the columns match and i am entering the data direct into the table, any ideas?

  • Ben - when you say "entering data directly" I assume you're using EM - have you tried running the "insert into"..off QA ?!







    **ASCII stupid question, get a stupid ANSI !!!**

Viewing 5 posts - 1 through 5 (of 5 total)

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