Error while Querying : The value of a host variable in the EXECUTE or OPEN statement is too large for its corresponding use

前端 未结 1 1057
一整个雨季
一整个雨季 2021-01-13 13:34

On trying to use a select query statement. The input variable has 8 characters just as expected.

I dont know why this error comes for select query because for a sele

1条回答
  •  北海茫月
    2021-01-13 14:27

    One possibility... This issue can come even in SELECT statement. When the parameter passed into the query is more than the size of its datatype's size, this error will pop-up.

    Example:

    Datatype - CHAR(12)
    Search Param: "123456789012345"
    

    0 讨论(0)
提交回复
热议问题