Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Padding a string
Message
 
 
À
29/02/2008 10:50:13
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
01297712
Message ID:
01297728
Vues:
19
>>In general, it would be a string you want to pad. In this case, I meant a column named 'col1' in a table.
>
>Thanks, that works.

You're welcome. To clarify further, a pseudo code would be
 RIGHT(REPLICATE('0', <len to pad to>) + <character expression to pad>, <len to pad to>)
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform