[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.
«maggio»
domlunmarmergiovensab
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678