Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
General Syntax Question regarding str('')
Message
De
26/02/2003 12:07:44
 
 
À
26/02/2003 09:29:24
Alvin Lourdes
Children and Youth Services Cluster
Toronto, Ontario, Canada
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00758044
Message ID:
00758202
Vues:
26
>Hi,
>
>Is there a way to convert a 0 to an empty string. ie :
>If you see a 0 .. change its value to ''
>
>Thanks for your help,
>
>Alvin

REPLACE
Replaces all occurrences of the second given string expression in the first string expression with a third expression.

Syntax
REPLACE ( 'string_expression1' , 'string_expression2' , 'string_expression3' )

Arguments
'string_expression1'

Is the string expression to be searched. string_expression1 can be of character or binary data.

'string_expression2'

Is the string expression to try to find. string_expression2 can be of character or binary data.

'string_expression3'

Is the replacement string expression string_expression3 can be of character or binary data.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform