Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2003
    Posts
    6

    Lightbulb Unanswered: very strange problem

    When I run the sql "delete from wap_onlineuser where Userid='1234'" on SQL SERVER Enterprise Manager, it report me the following Error Msg:
    "Insert Error: Column name or number of supplied values does not match table definition"
    Can anybody help me to resolve this problem?

    the table struct is as following:

    Userid varchar(20),
    DevId int(4),
    rowguid uniqueidentifie(16).

  2. #2
    Join Date
    Jan 2003
    Posts
    10

    Re: very strange problem

    Do you have some trigger for delete on your table? Maybe trigger is not good.

  3. #3
    Join Date
    Mar 2003
    Posts
    2

    Re: very strange problem

    Originally posted by jhshen
    When I run the sql "delete from wap_onlineuser where Userid='1234'" on SQL SERVER Enterprise Manager, it report me the following Error Msg:
    "Insert Error: Column name or number of supplied values does not match table definition"
    Can anybody help me to resolve this problem?

    the table struct is as following:

    Userid varchar(20),
    DevId int(4),
    rowguid uniqueidentifie(16).

    Try executing it at SQL Analyzer.

  4. #4
    Join Date
    Mar 2003
    Posts
    6
    I have had the same problem. Just run it from Query Analyzer and it will work.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •