I have a table that has a field called "Discount". The data type of this field is a "real" in SQL 2000. The box at the end is checked to Allow Nulls and the length shows 4, which can't be changed.
When I enter a new row, the Discount is Null. If I set the value, save the row, then come back to the row and delete the value by hightlighting it and pressing the delete key, then try to save it again, I get the following error:
SQL Server Enterprise Manager reports:
"The value you entered is not consistent with the data type or length of the column."
I would think that it would allow nulls since it's checked. I'm not entering a space in it, as the cursor as as far as it can go to the left in column when I move off the record to try and save it. I just click on another column to save the current row.
I don't have any constraints on the table either and the row is not a Primary Key.
Any ideas?
Snaggs
tribesaddict@swbell.net
Life can only be understood backwards; but it must be lived forwards.
When I enter a new row, the Discount is Null. If I set the value, save the row, then come back to the row and delete the value by hightlighting it and pressing the delete key, then try to save it again, I get the following error:
SQL Server Enterprise Manager reports:
"The value you entered is not consistent with the data type or length of the column."
I would think that it would allow nulls since it's checked. I'm not entering a space in it, as the cursor as as far as it can go to the left in column when I move off the record to try and save it. I just click on another column to save the current row.
I don't have any constraints on the table either and the row is not a Primary Key.
Any ideas?
Snaggs
tribesaddict@swbell.net
Life can only be understood backwards; but it must be lived forwards.