" /> Mot de passe <br /><input type="password" name="passwd" id="passwd" class="inputbox" size="18" alt="password" />
Accueil Format SQL ()
PDF

FORMAT ()

Синтаксис SQL FORMAT ()

SELECT FORMAT(column_name,le format) D ' nom_table

ParamètreDescriptif
column_name
le format

Exemple SQL FORMAT ()

Prod_idProductNameUnitéUnitéPrice
1 Jarlsberg 1000 g 10.45
2 Mascarpone 1000 g 32.56
3 Gorgonzola 1000 g 15.67

1
2
SELECT ProductName, UnitéPrice, FORMAT(Maintenant(),'AAAA-MM-JJ') que PerDate
D ' Produits

Résultat Requête:

ProductNameUnitéPricePerDate
Jarlsberg 10.45 10/07/2008
Mascarpone 32.56 10/07/2008
Gorgonzola 15.67 10/07/2008

Autorisation

Nice, l'Ajax Sondage

Lequel de mes extensions est le meilleur?

Statistiques

Publicité