Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase ««12

CONVERT BEHAVIOUR Expand / Collapse
Author
Message
Posted Wednesday, November 7, 2012 1:00 AM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Yesterday @ 9:31 AM
Points: 922, Visits: 2,524
Eugene Elutin (11/6/2012)
My favoured one is:

SELECT $



This also works for £ and € currency symbols. I'm not sure about other currency symbols like Yen, Roubles, etc, as it may depend on the regional settings for the environment or Collation for the DB/Server.


_________________________________________________________________________
SSC Guide to Posting and Best Practices
Post #1381812
Posted Wednesday, November 7, 2012 1:47 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Today @ 7:33 AM
Points: 2,873, Visits: 5,190
Jason-299789 (11/7/2012)
Eugene Elutin (11/6/2012)
My favoured one is:

SELECT $



This also works for £ and € currency symbols. I'm not sure about other currency symbols like Yen, Roubles, etc, as it may depend on the regional settings for the environment or Collation for the DB/Server.


Exactly!

Guess what

     SELECT POWER(£,$)

will return?

Proving (at SQL level) that money has no power!




_____________________________________________
"The only true wisdom is in knowing you know nothing"
"O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!"
(So many miracle inventions provided by MS to us...)

How to post your question to get the best and quick help
Post #1381827
Posted Wednesday, November 7, 2012 2:05 AM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Yesterday @ 9:31 AM
Points: 922, Visits: 2,524
Also disproving that you cant make something out of nothing, as 0^0 = 1,

so if i have no money and I raise it to the power of no money I get 1 money.

I think I've just cracked why the banking system collapsed a couple of years ago.


_________________________________________________________________________
SSC Guide to Posting and Best Practices
Post #1381833
« Prev Topic | Next Topic »

Add to briefcase ««12

Permissions Expand / Collapse