Search
 
SCRIPT & CODE EXAMPLE
 

SQL

dollar format in sql server

SELECT FORMAT(1234, 'C') Result;
-- Result : $1,234.00 

SELECT FORMAT(1234, 'C0') Result;
-- Result : $1,234 

SELECT FORMAT(1234, 'C4') Result;
-- Result : $1,234.0000 

SELECT FORMAT(1234, 'C', 'fr-FR') Result;
-- Result: 1 234,00 €
Comment

PREVIOUS NEXT
Code Example
Sql :: is there any limit of using joins in single mysql query ? 
Sql :: copy table structure from postgresql to mysql 
Sql :: error access to system table innodb is rejected 
Sql :: SQL Cut part string 
Sql :: update values in select statement sql 
Sql :: sql case when exists in another table 
Sql :: Invoke-Sqlcmd : Execution Timeout Expired 
Sql :: format datetime mysql 
Sql :: python sqlalchemy get the last row id 
Sql :: insert data 
Sql :: primary key in sql 
Sql :: how to get alternate records from a table in sql 
Sql :: create database ms sql server 
Sql :: count with where 
Sql :: stored procedure vs view 
Sql :: run sql command line download 
Sql :: minus vs except in sql 
Sql :: guid string to binary better 
Csharp :: c# get desktop path 
Csharp :: read text file to string c# 
Csharp :: c# word randomizer 
Csharp :: c# writeline debug 
Csharp :: dictionary namespace c# 
Csharp :: c# if file exists 
Csharp :: wpf bind to self 
Csharp :: unity application quit 
Csharp :: how to change a image with code unity 
Csharp :: unity wait for seconds 
Csharp :: newline in button wpf 
Csharp :: c# loop through array 
ADD CONTENT
Topic
Content
Source link
Name
7+1 =