Autor Beitrag
Zaubär
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 99



BeitragVerfasst: Do 07.11.02 18:39 
Gibt's für Volltextsuche einen speziellen SQL-Befehl, mit der WHERE Klausel schaff ich's nur soweit, dass mir der entsprechende Eintrag angezeigt wird wenn er exakt mir der Suchanfrage übereinstimmt, das heisst wenn ich nach "bank" suche, wird das Wort "datenbank" nicht angezeigt, was leider nicht ganz mein Wunsch ist.
Wäre sehr froh wenn mir wieder mal jemand weiterhelfen könnte??
ao
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 145

Win XP Prof.
D7 Ent.
BeitragVerfasst: Do 07.11.02 18:44 
Hallo Zaubär,

versuch's mal so:SELECT * FROM tabelle WHERE feld LIKE '%bank'

Gruß
Andreas
LCS
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1305
Erhaltene Danke: 1

WIN 7, WIN 8
Delphi XE5, Delphi XE, Delphi 2007
BeitragVerfasst: Do 07.11.02 18:52 
Hi
Allerdings hast du dann immer noch das Problem mit der Gross- und Kleinschreibung.
Besser wäre so:
ausblenden Quelltext
1:
SELECT * FROM tabelle WHERE Upper(feld) LIKE '%BANK%'					


Gruss Lothar

_________________
Der BH ist für die Brust, der Plan ist für'n Ar...