Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
Hrcko
Starting Member
1 Post |
Posted - 2008-01-29 : 07:00:52
|
| I would like to get a field as 1.000,00.Is that possible?It must be universal, without regional settings. |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2008-01-29 : 07:02:14
|
See CONVERT function in Books Online. E 12°55'05.25"N 56°04'39.16" |
 |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2008-01-29 : 07:04:40
|
[code]DECLARE @Yak MONEYSET @Yak = ABS(CHECKSUM(NEWID())) % 10000000SELECT CONVERT(VARCHAR(20), @Yak, 1)[/code] E 12°55'05.25"N 56°04'39.16" |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2008-01-29 : 08:16:31
|
quote: Originally posted by Hrcko I would like to get a field as 1.000,00.Is that possible?It must be universal, without regional settings.
Where do you want to show formatted money?MadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|