Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

how to write query

$
0
0
HelloI have to generate a report in which amount should be 13 digits.e.g 2000- convert it into paisa 200000 then 13 digit amount is 0000000200000but I want it to do in SQl query..Select (amount*100) from table then need to add 0s as per count 13-len(amount*100) before the amountplease guide me..

Viewing all articles
Browse latest Browse all 3145

Trending Articles