Viewing 15 posts - 601 through 615 (of 1,491 total)
Further to Grant's post, even some basic monitoring of Latency, Waits and PLE once a month will show the way instances are heading:
http://www.sqlskills.com/blogs/paul/how-to-examine-io-subsystem-latencies-from-within-sql-server/
http://www.sqlskills.com/blogs/paul/wait-statistics-or-please-tell-me-where-it-hurts/
http://blog.sqlauthority.com/2010/12/13/sql-server-what-is-page-life-expectancy-ple-counter/
September 16, 2016 at 6:17 am
Before getting into lots of complicated checks on SQL Server I would check some basics first.
1. Is SQL Server the only program on the server?
2. Have you set the Maximum...
September 16, 2016 at 5:48 am
Thanks for your reply.
It could be the same software as I get those two messages from all 37 instances. Ours seems to run once or twice a week out of...
August 18, 2016 at 6:57 am
Did anyone manage to solve this?
I have a similar problem. Our infrastructure team has an Intrusion Detection System and every time it is run I get alert 020 from all...
August 18, 2016 at 4:14 am
DECLARE @var_time datetime2(1) = '20160414 15:21:39.0';
SELECT @var_time, DATEADD(hour, DATEDIFF(hour, '19000101', @var_time), CAST('19000101' AS datetime2(1)));
June 23, 2016 at 6:17 am
The simplest way would be to add the user to the db_datareader role.
With SQL2012, and above, this can be done with ALTER ROLE but with SQL2008 I think you will...
June 20, 2016 at 7:00 am
Your trigger looks too complex to perform well under load.
In this case it looks as though it can be made set based.
An alternative would be to make the processing asynchronous...
June 20, 2016 at 6:33 am
Part of the problem is the IDENTITY.
Can you switch to using SEQUENCEs with a different range for each server?
June 15, 2016 at 10:50 am
Ouch! I feel your pain.
My experience is that trying to do remote queries within an application causes all sorts of support issues when one server and/or the link either slows...
June 15, 2016 at 10:39 am
The GUID just needs to be unique, why do you want to order by it?
Looking at your last query does:
ORDER BY alber_no, linea_no;
do what you want?
June 15, 2016 at 6:22 am
As Lowell has already mentioned, your question does not make sense. A table being an UNORDERED set is a fundamental part of relational theory.
The only guaranteed way to order a...
June 15, 2016 at 5:40 am
Brandie Tarvin (5/19/2016)
Ken McKelvey (5/18/2016)
tcalloway (5/17/2016)
May 19, 2016 at 6:21 am
tcalloway (5/17/2016)
May 18, 2016 at 2:30 pm
SELECT * FROM TBL_metrics T
PIVOT (MAX(MetricValue) FOR Metric IN ([Torque], [BHP]) ) P
May 7, 2016 at 2:35 pm
or use SELECT INTO:
SELECT <YourCols>
INTO #tbl
FROM <YourTables>
WHERE 1 = 0;
ALTER TABLE #tbl ADD PRIMARY KEY (<YourCol(s)>);
--etc
This has the advantage that datatype changes will also be picked up.
May 5, 2016 at 7:37 am
Viewing 15 posts - 601 through 615 (of 1,491 total)