0

I am using SQLManager Lite for firebird and it was impossible so far to write a query which would do an operation on char/varchar columns. Character set is win1252.

A query like

select * from Person where name = 'John' 

won't return any results despite the fact that the record exists in the database. A similar query on a numerical column works just fine. AM I am missing anything here?

Also, this query runs fine from my application. The only issue is that I would like to be able to run it within SQLManager Lite too. As a side note, values for char and varchar columns are not displayed properly within the same SQLManager Lite.

a_horse_with_no_name
  • 497,550
  • 91
  • 775
  • 843
Dan
  • 77
  • 6

1 Answers1

2

change to like

select * from Person where name like 'John'
dataol
  • 959
  • 3
  • 19
  • 42