|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
platform : xp pro / Visual studio 2002 / firebird.net
I want to retrieve all records that name contain a certain string , how should I do it ? ( This is like a search option ) |
|
#2
|
|||
|
|||
|
ok I find my answer : select name from table where name like %bush%
Then , how to add 2 string field in a statement my code 'select (addr1+addr2) as address' , it gives error . |
|
#3
|
|||
|
|||
|
Firebird uses the double pipe for concatenation.
select addr1 || addr2 |
|
#4
|
|||
|
|||
|
Thank you ,it works fine
|
![]() |
| Viewing: Dev Shed Forums > Databases > Firebird SQL Development > sql statement issue |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|