Morning,
I have a computed column on a SQL2K5 table. The data type is defaulting to int however I would like it to be stored as type bit.
Is there anyway that I can force this to occur?
The code for the column is
Many Thanks,
John
I have a computed column on a SQL2K5 table. The data type is defaulting to int however I would like it to be stored as type bit.
Is there anyway that I can force this to occur?
The code for the column is
Code:
case when [jobcode] like '%SR%' then (1) else (0) end
Many Thanks,
John