Viewing 15 posts - 2,656 through 2,670 (of 49,571 total)
SQLTestUser (8/11/2016)
SELECT UserID, Hours = SUM(DATEDIFF(MINUTE, '0:00:00', LogDatetime))
It's because of the '0:00:00' you have in the datediff. With no date specified, that becomes 1900-01-01 00:00:00.000, which is probably not...
August 11, 2016 at 12:40 pm
Brandie Tarvin (8/11/2016)
August 11, 2016 at 12:36 pm
Grant Fritchey (8/11/2016)
That guy is really lazy and has not written a book on 2016.
I'll file a complaint with his boss. 😉
August 11, 2016 at 12:30 pm
ThomasRushton (8/11/2016)
Have you tried dropping & recreating the index on that view?
as in, drop the spacial index and recreate it.
August 11, 2016 at 12:28 pm
TomThomson (8/10/2016)
GilaMonster (8/10/2016)
First time in years that I'm flying somewhere just for a vacation, no conferences involved. Scotland, to save anyone from wondering.
Any particular place in Scotland? I'm...
August 11, 2016 at 12:25 pm
First time in years that I'm flying somewhere just for a vacation, no conferences involved. Scotland, to save anyone from wondering.
Someone please keep an eye on the corruption forums, I've...
August 10, 2016 at 10:00 am
You can try that, but I'm not sure it'll fix everything.
Unable to read and latch page (1:5609991) with latch type SH. 23(failed to retrieve text for this error. Reason: 15105)...
August 10, 2016 at 2:01 am
If you're absolutely certain that table_xxxx has no important data, then you can run CheckDB with the repair_allow_data_loss option and it will fix the damage.
August 10, 2016 at 1:42 am
joe 92217 (8/9/2016)
August 10, 2016 at 1:40 am
Please run the following and post the full output
DBCC CheckDB('<database name>') WITH NO_INFOMSGS, ALL_ERRORMSGS
August 9, 2016 at 4:35 pm
You really don't need to use such a large font...
SQL ignores trailing spaces when comparing strings. If it didn't, you'd never be able to compare a char(10) to any other...
August 9, 2016 at 4:29 pm
Erik de Jonge (8/9/2016)When we tested it on our dev system there were performance increases across the board.
Yup, not a surprise there, You do need some index/stats maintenance. Without...
August 9, 2016 at 4:18 pm
I wouldn't recommend running that during peak time. To be honest, I wouldn't recommend running that specific stored proc either, there are better ways to update stats (the explicit UPDATE...
August 9, 2016 at 3:59 pm
SQLRNNR (8/9/2016)
Restart dev edition in minimal configuration and add your personal account as a sysadmin that way.http://www.practicalsqldba.com/2012/08/sql-server-lost-all-administrator.html
Minimum config isn't necessary. SQL just has to be started in single user mode.
August 9, 2016 at 12:20 pm
6 year old thread, and a completely irrelevant reply to boot.
August 9, 2016 at 9:33 am
Viewing 15 posts - 2,656 through 2,670 (of 49,571 total)