Viewing 5 posts - 1 through 5 (of 5 total)
Typo in explanation "collaction" instead of "collation".
January 16, 2023 at 7:11 pm
I think the "internal" version of the query in the article. was wrong. It was:
SELECT * FROM dbo.Person
WHERE User_Name() = 'User_CS'
That would return all rows if executed by...
July 14, 2016 at 4:29 pm
I use SSMS for ad-hoc querying and testing various solutions.
But, I maintain databases using SSDT projects. For source control, deployment, comparison, finding references, it's great.
March 27, 2015 at 12:18 pm
I don't think you need the TOP 1 in the existence tests. EXISTS (SELECT...) already has the optimization of stopping after the first row built in.
March 24, 2014 at 10:45 am
If two decimal places are ok, you can just convert the string to money, then back to a string with a style of 1.
SELECT CONVERT(varchar(24),CONVERT(money,'12345678'),1)
returns: 12,345,678.00
If it's important to...
April 28, 2009 at 1:02 am
Viewing 5 posts - 1 through 5 (of 5 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy