Viewing 15 posts - 16,921 through 16,935 (of 59,067 total)
GilaMonster (8/26/2016)
Because, even if we had infinite precision calculations, when displaying the data back to users, we're not going to be...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 26, 2016 at 8:13 am
J2B (8/26/2016)
Its outputting as:
"dbname_DD MMM YYYY.bak"
But I would like:
"dbname_DDMMMYYYY.bak"
Heres my T-SQL...
USE dbname
DECLARE @dbname varchar(200)
SELECT @dbname='filepath\dbname_' + REPLACE(convert(varchar(20),GetDate(),106),':','-') + '.bak'
BACKUP...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 26, 2016 at 8:09 am
sharonsql2013 (8/25/2016)
How can I rename 31 as week 1 , 32 as week2 , 33 as...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 26, 2016 at 1:09 am
SQL Galaxy (8/26/2016)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 26, 2016 at 1:08 am
The Dixie Flatline (8/25/2016)
I'm wondering why you store staffed time in seconds. How much do you pay per second? 😛
Been there and done that. It's...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 26, 2016 at 12:51 am
Matt Miller (#4) (8/25/2016)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 26, 2016 at 12:47 am
Grant Fritchey (6/9/2015)
There are places where partitioning can, and does, improve performance.
Apologies for the year late response and I hate to be contrary but everywhere I've seen someone make...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 26, 2016 at 12:26 am
waxingsatirical (8/25/2016)
I don't know what unnecessary work later is incurred by using floats, but I know of...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 25, 2016 at 11:19 pm
The Dixie Flatline (8/25/2016)
Sorry, but functions can't call procedures. They can only call other functions. Period.
Any bets on that? 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
August 25, 2016 at 8:31 pm
Michael L John (8/25/2016)
Ray K (8/24/2016)
Ed Wagner (8/23/2016)
Ray K (8/23/2016)
Woo-hoo! Just found out that I'm speaking at SQL Saturday #545 in Pittsburgh!
Congratulations, Ray. I hope to see you...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 25, 2016 at 8:09 am
From the Article:
The bar may be raising in terms of skills needed from database IT pros
Heh... they can start by learning how to get the current date and time using...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 25, 2016 at 8:08 am
waxingsatirical (8/25/2016)
Luis Cazares (6/3/2016)
using float is just lazy programming.and by 'lazy' you mean??? Not doing unnecessary work?
No. More like not wanting to be bothered with best practice details,...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 25, 2016 at 7:49 am
Wryan138 (6/3/2016)
Ron,If they really must have their floating point columns you might want to try:
Str(ThatFloatField, 5, 2) -- nnn.nn
It will round the result (not truncate).
Wayne
That would slow things down...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 25, 2016 at 7:47 am
paulo.margarido (8/24/2016)
i know my first aproach its uggly, and oi wanted to learn something more, and i do
Very cool. The first step is to stop saying things like...
i have...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2016 at 8:49 pm
@greg Larsen,
Your the one that got paid some decent money for posting this series. How about you answer some of the questions for a change!
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2016 at 8:34 pm
Viewing 15 posts - 16,921 through 16,935 (of 59,067 total)