I've got a table in a database (MS SQL Server), with a text field (varchar(1)) that for each record is either "A" or "T".
I have another table, where the same data is a bit column (1 instead of A, 0 instead of T).
Is it possible to somehow, w/in a query, to cast/convert the varchar field to a bit, so I can do a join and compare the data? (And no, I can't permanently convert the column in the first table from varchar to bit
)
I have another table, where the same data is a bit column (1 instead of A, 0 instead of T).
Is it possible to somehow, w/in a query, to cast/convert the varchar field to a bit, so I can do a join and compare the data? (And no, I can't permanently convert the column in the first table from varchar to bit