Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2008
»
T-SQL (SS2K8)
»
CONVERT BEHAVIOUR
13 posts, Page 2 of 2
««
1
2
CONVERT BEHAVIOUR
Rate Topic
Display Mode
Topic Options
Author
Message
Jason-299789
Jason-299789
Posted Wednesday, November 07, 2012 1:00 AM
SSC Eights!
Group: General Forum Members
Last Login: Yesterday @ 3:38 AM
Points: 803,
Visits: 2,123
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
Eugene Elutin
Eugene Elutin
Posted Wednesday, November 07, 2012 1:47 AM
SSCrazy
Group: General Forum Members
Last Login: Today @ 9:48 AM
Points: 2,534,
Visits: 4,351
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
Jason-299789
Jason-299789
Posted Wednesday, November 07, 2012 2:05 AM
SSC Eights!
Group: General Forum Members
Last Login: Yesterday @ 3:38 AM
Points: 803,
Visits: 2,123
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 »
13 posts, Page 2 of 2
««
1
2
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.