[SQL] Concatenazione campi

abbiamo una tabella con una colonna città e vogliamo costruire un variabile stringa con tutte le città separate da ","

declare @str varchar(2000)

select @str = isnull(@str + ',' + citta,citta)
from percorso

select @str

posted @ martedì 30 ottobre 2007 05:46

Print

Comments on this entry:

# re: [SQL] Concatenazione campi

Left by MarcoMangia at 30/10/2007 06:05
Gravatar
terribilmente terribile

# re: [SQL] Concatenazione campi

Left by he at 13/11/2014 17:56
Gravatar
latest competitive data check your credit score economy policy adapt credit report scores important rolling out 179
Comments have been closed on this topic.
«aprile»
domlunmarmergiovensab
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910