Viewing 15 posts - 4,711 through 4,725 (of 8,753 total)
Sometimes one wonders what drives the responds when one points out that the posted solutions are not optimal.
😎
August 14, 2015 at 11:58 am
drew.allen (8/14/2015)
Eirikur Eiriksson (8/14/2015)
The text() is faster than without it, here are results from two versions of non-traversing XQueries from my previous post, one with and on without the text().
First,...
August 14, 2015 at 11:55 am
Chris.Hubbard4U (8/14/2015)
Eirikur Eiriksson (8/14/2015)
Chris.Hubbard4U (8/14/2015)
I have a database In Recovery.Where do I check the completion status of the recovery?
Quick thought, query sys.dm_exec_requests and check for command='RECOVERY'
😎
I queried that table but...
August 14, 2015 at 11:45 am
SQLRNNR (8/14/2015)
Eirikur Eiriksson (8/14/2015)
SQLRNNR (8/14/2015)
chinchillaEndangered
tasty treat
Fast food
August 14, 2015 at 11:05 am
Quick alteration to Lynn's good solution, handles values both higher and lower than the target value
😎
USE tempdb;
GO
SET NOCOUNT ON;
IF OBJECT_ID(N'dbo.TBL_TEST_SET_20150814001') IS NOT NULL DROP TABLE dbo.TBL_TEST_SET_20150814001;
CREATE TABLE dbo.TBL_TEST_SET_20150814001
(
...
August 14, 2015 at 10:57 am
Alvin Ramard (8/14/2015)
Lynn Pettis (8/14/2015)
declare @TestTable table(
EEID int,
Name varchar(64),
AnnualizingFactor int,
PercentFullTime decimal(3,2));
insert into...
August 14, 2015 at 10:53 am
Further on Chris's reply, this is a high level representation of what goes on behind the scene when a query is executed, it can be good, bad or ugly but...
August 14, 2015 at 10:31 am
Chris.Hubbard4U (8/14/2015)
I have a database In Recovery.Where do I check the completion status of the recovery?
Quick thought, query sys.dm_exec_requests and check for command='RECOVERY'
😎
August 14, 2015 at 10:26 am
Luis Cazares (8/14/2015)
Ed Wagner (8/14/2015)
crookj (8/14/2015)
BL0B_EATER (8/14/2015)
Ed Wagner (8/14/2015)
SQLRNNR (8/13/2015)
Ed Wagner (8/13/2015)
DonlSimpson (8/12/2015)
SQLRNNR (8/12/2015)
Luis Cazares (8/12/2015)
WayneS (8/12/2015)
Ed Wagner (8/12/2015)
Ed Wagner (8/12/2015)
SQLRNNR (8/12/2015)
whereisSQL? (8/12/2015)
Ed Wagner (8/12/2015)
Eirikur Eiriksson (8/12/2015)
Ed Wagner (8/12/2015)
Steve Jones...
August 14, 2015 at 10:22 am
kevin.ellis86 (8/14/2015)
August 14, 2015 at 9:39 am
drew.allen (8/14/2015)
Alan.B (8/13/2015)
drew.allen (8/13/2015)
Alan.B (8/13/2015)
August 14, 2015 at 8:06 am
odeddror (8/14/2015)
row count is sometime can be misleading (nulls, 0's or ' ' spaces)
Your sproc...
August 14, 2015 at 6:59 am
pietlinden (8/12/2015)
(See, told ya Eirikur could do it... even if I can't remember how to spell his name!)
He he, if I had a penny for every mis-spelling of my name...
August 14, 2015 at 3:24 am
Here is a simple profiling procedure I've used for years, nothing fancy but often quite helpful.
😎
NOTE: By the nature of the profiling, it can and will place considerable stress on...
August 14, 2015 at 2:54 am
Viewing 15 posts - 4,711 through 4,725 (of 8,753 total)