Am 30.08.2010 um 16:06 schrieb rubyonrails...@galt.de:

> Falls die Plz ein Textfeld sind (MySql):
> 
> where(["plz LIKE ?", "4%"])

sicher?
da bekomme ich doch alles was irgendwo eine 4 hat..oder?

Gruß



> 
> Am 30.08.2010 um 15:39 schrieb Werner Laude:
> 
>> Hallo
>> Wie bekomme ich ein Abfrage hin die nach Eingabe von z.B  '4' alle plz von
>> 40000 bis 49999 zurückgibt?
>> 
>> Gruß und Danke
>> 
>> 
>> Werner Laude
>> http://www.webagentur-laude.de
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> rubyonrails-ug mailing list
>> rubyonrails-ug@headflash.com
>> http://mailman.headflash.com/listinfo/rubyonrails-ug
>> 
> 
> _______________________________________________
> rubyonrails-ug mailing list
> rubyonrails-ug@headflash.com
> http://mailman.headflash.com/listinfo/rubyonrails-ug
> 

Werner Laude
http://www.webagentur-laude.de





_______________________________________________
rubyonrails-ug mailing list
rubyonrails-ug@headflash.com
http://mailman.headflash.com/listinfo/rubyonrails-ug

Antwort per Email an