There is a DB created in interbase. There is a table NAZ . In it N_PUNKT - (cities). Tell me what kind of sql code to write to search for N_PUNKT . There you can configure something like a filter? Tell me how this is done?
1 answer
ΠΠΎΠΎΠ±ΡΠ΅ ΡΠΌΠΎΡΡΡ ΠΊΠ°ΠΊΠΎΠΉ ΡΠΈΠΏ Ρ Π²Π°ΡΠ΅Π³ΠΎ ΠΏΠΎΠ»Ρ N_PUNKT SELECT * FROM Naz WHERE N_PUNKT = <SomeValue> ΠΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎ ΡΠ°ΠΊΠΎΠ΅ N_PUNKT BETWEEN <SomeValue1> AND <SomeValue2> ΠΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎ ΡΠ°ΠΊΠΎΠ΅ N_PUNKT LIKE '%<SomeValue>%' - N-PUNKT - varchar kanechno. - Timi
- Unfortunately, filters do not react to either between or like. Only sentences with comparison operators (<, <=, ==), etc. can be placed in the filter. In order to use between or like, you need to change the CommandText accordingly. - BuilderC
|