Posts by W.S. Silva • 5 points
2 posts
-
0
votes1
answer858
viewsQ: Convert to decimal without adding zeros - SQL Server
I am converting a number from varchar to decimal. This number already has the boxes after the comma, and when I convert it adds 2 more zeros. Example: 12.345,67 ---> 1234567,00 The code I’m using…
-
0
votes2
answers1867
viewsQ: View with double SELECT from the same table
I need to build a VIEW with three fields, but one depends on the other to be calculated (two of them are from the same table on different lines need "link them"), how do I aggregate these fields in…