I would like to add a computed column to a table.
Error with where, I also tried it as a Select and get a message saying that sub-query not allowed in this context.
Thanks
John Fuhrman
Code:
Alter Table Mailroom.tblTrackingTable
Add
[TrackingNumberPrefix] AS (upper(substring([BoxNumber],(1),(2)))) Where (upper(substring([BoxNumber] = '1Z')
Error with where, I also tried it as a Select and get a message saying that sub-query not allowed in this context.
Thanks
John Fuhrman