Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » Simple SQL question
Re: Simple SQL question [message #31373 is a reply to message #31366] Fri, 25 February 2011 20:00 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
koldo wrote on Fri, 25 February 2011 06:43

Hello all

I wanted to select all registers from columns Name, Surname and Location that contains either text1 or text2.

For example, if the table is:
Name	Surname 	Location
John	Doe		München
Mary 	Poppins		Bruxelles

with text1 = "pin" and text2 = "elle", the second register would be selected.

How could it be done?


http://www.postgresql.org/docs/8.3/static/functions-matching .html

I guess it is even SQL standard.

In SqlExp, use Like.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SQLArray + Like() + Accents problem
Next Topic: Demo Package of FieldOperator usage
Goto Forum:
  


Current Time: Sat Aug 02 22:21:17 CEST 2025

Total time taken to generate the page: 0.09067 seconds