I currently have a table with a column as varchar. This column can hold numbers or text. During certain queries I treat it as a bigint column (I do
varchar
bigint
Try changing your view to this :
SELECT TOP 100 PERCENT ID, Cast(Case When IsNumeric(MyCol) = 1 Then MyCol Else null End AS bigint) AS MyCol FROM MyTable WHERE (IsNumeric(MyCol) = 1)