dbTalk Databases Forums  

Re: [BUGS] [postgres] Concat in Postgre

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss Re: [BUGS] [postgres] Concat in Postgre in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
André Laugks
 
Posts: n/a

Default Re: [BUGS] [postgres] Concat in Postgre - 07-28-2005 , 08:35 AM






Hallo!

von Stefan Miefert <postgres (AT) yahoogroups (DOT) de> am 28.07.2005:
Quote:
Wie kann man eine Art Concat in Postgres bewerkstelligen?
SELECT vorname || nachname || strasse || ort AS spalten FROM
tabelle;
-> HansMustermannMusterwegMusterleben

SELECT vorname || ' ' || nachname || ' ' || strasse || ' ' || ort AS spalten FROM
tabelle;
-> Hans Mustermann Musterweg Musterleben


-> RTFM


André Laugks




Wenn Sie Ihr Abonnement fuer diese Gruppe kuendigen moechten, senden
Sie eine E-Mail an:
postgres-unsubscribe (AT) egroups (DOT) de


Yahoo! Groups Links

<*> Besuchen Sie Ihre Group im Web unter:
http://de.groups.yahoo.com/group/postgres/

<*> Um sich von der Group abzumelden, senden Sie eine Mail an:
postgres-unsubscribe (AT) yahoogroups (DOT) de

<*> Mit der Nutzung von Yahoo! Groups akzeptieren Sie unsere:
http://de.docs.yahoo.com/info/utos.html





---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.