Query: select * from event_files, select_options where event_id_code = '' and
event_files.event_file_type = select_options.value
and select_options.option_name = 'event_file_type'
and public_view = '1' order by select_options.sort_order desc, event_file_type desc, content_type, caption ERROR: [FreeTDS][SQL Server]Error converting data type varchar to numeric.