Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Computed Column Formula
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01186698
Message ID:
01186792
Views:
17
I guess all who suggested not to use the computed column were right.

After I added the computed column with the following formula:
case when ([lMvNeeded] = 1) then ([iMvQuantity] + [iMvAdditional]) else [iMvAdditional] end
all stored procedures that queries this table returns the following error message:
Server: Msg 8101, Level 16, State 1, Procedure webforms_ipo_Section013Select, Line 63
An explicit value for the identity column in table 'ipo_reagent' can only be specified when a column list is used and IDENTITY_INSERT is ON.
As soon as I remove the computed column SP completes OK.

Any idea why computed column is causing that behavior ?

Thanks again.
Daniel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform