Viewing 15 posts - 961 through 975 (of 5,843 total)
joe-584802 (6/14/2016)
CREATE FUNCTION [dbo].[GetHarvestYear] (@InputDate datetime)
RETURNS int
AS
BEGIN...
June 14, 2016 at 1:15 pm
But do NOT DO THIS AS A SCALAR UDF IN SQL SERVER!!! They are HORRIBLY BAD!!!!!!!!!
If you cannot simply inline the code into your TSQL (best), then do this...
June 14, 2016 at 11:10 am
Luis Cazares (6/14/2016)
UNION will need to add a sort which is expensive.
If your queries have adequate indexes, I'd...
June 14, 2016 at 9:48 am
AFAIK you will need to write your own file processor either in TSQL or externally with the scripting language of your choice. I would do it with the latter.
June 14, 2016 at 8:13 am
What you are missing is that you should never, EVER use maintenance plans!! 🙂
Ola.Hallengren.com. Every single client I ever visit starts using the awesomeness found there.
June 13, 2016 at 11:23 am
Glenn Berry SQL Diagnostic Scripts has some good stuff. IIRC the SQL Server Internals books may have a useful section too.
I think there was a tool someone wrote to show...
June 13, 2016 at 10:05 am
gxdatareal (6/13/2016)
I Have a serious problem
I am trying to run an sql query (uodate)
UPDATE DBO. GENERIC
SET TITLE= B.TITLE
FROM DBO. GENERIC AS A with (nolock)
INNER JOIN DBO. DISTINCT AS...
June 13, 2016 at 7:13 am
tomd-982312 (6/9/2016)
Luis Cazares (6/8/2016)
You're doing ETL work, use the ETL...
June 9, 2016 at 7:51 am
Mick Opalak (6/8/2016)
Memory = 2TBFill Factor = 75 because our system (OLTP) is so active (3500 transactions at any given time) that indices get highly fragmented (like over 90%) daily.
1)...
June 8, 2016 at 3:40 pm
Mick Opalak (6/8/2016)
June 8, 2016 at 3:06 pm
I have done what you did (in doing no index mx and allowing the system to come to something approaching a "steady state fill factor" with just a couple of...
June 8, 2016 at 9:18 am
Jonathan Kehayias did a benchmark that showed that SSDs were actually slower at random IO than sequential. But the difference is pretty small.
But there are other reasons to be...
June 8, 2016 at 7:08 am
tomd-982312 (6/8/2016)
I'm just trying to find simple code that reads sequentially row by row from table. It's...
June 8, 2016 at 7:04 am
1) Did you do what I said about sp_whoisactive??
2) How much memory do you have on this sql server? IIRC XML can be a MASSIVE consumer of memory and if...
June 8, 2016 at 7:00 am
crcoracle (6/7/2016)
May be the picture is confusing. The "mirror" is made by SQL Server AG (not by the SAN)
As far as I know, I'm using 3 nodes, but there is...
June 7, 2016 at 2:14 pm
Viewing 15 posts - 961 through 975 (of 5,843 total)