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
Have you tried to convert other table's bigint field into varchar? As for me it makes sense to perform more robust conversion... It shouldn't affect your performance too much if varchar field is indexed.