Viewing 15 posts - 1,786 through 1,800 (of 4,820 total)
March 1, 2018 at 9:05 am
I have just had a go at testing the above script you kindly provided....
March 1, 2018 at 8:50 am
Found some interesting statements here:
https://technet.microsoft.com/en-us/library/ms178086(v=sql.105).aspx
March 1, 2018 at 8:41 am
Have to wonder if there might not be a DENY in place somewhere with respect to SHOWPLAN permissions, such that anything less than a reversal of the DENY would allow...
March 1, 2018 at 8:17 am
Try this on for size:DECLARE @startdate AS datetime = '01 Oct 2017',
@enddate AS datetime = '02 Oct 2017';
SELECT DISTINCT
co.BTEmail AS Email,
co.BTFirstName AS FirstName,
co.BTLastName AS...
February 28, 2018 at 3:01 pm
Msg 262, Level 14, State...
February 28, 2018 at 2:42 pm
I noticed that your query does not identify the data type of the @Grouping variable. You are testing it for equality with a character string, so if it's a bit...
February 28, 2018 at 2:37 pm
Try this on for size:DECLARE @table AS TABLE (
ID int,
empnum int,
email varchar(100),
fName varchar(100),
lName varchar(100)
);
INSERT @table (ID, empnum, email, fName, lName)
VALUES (1, 123,...
February 28, 2018 at 2:24 pm
After I ran a query in SSMS, I can't find the execution plan in the...
February 28, 2018 at 2:10 pm
Seems yours code is ok .
SELECT *
FROM (
SELECT ROW_NUMBER()
OVER(PARTITION BY name
ORDER BY name DESC)...
February 28, 2018 at 2:04 pm
February 28, 2018 at 2:02 pm
February 28, 2018 at 12:05 pm
February 28, 2018 at 11:50 am
I am thinking it is all related and you (the forum) is helping me...
February 28, 2018 at 11:47 am
February 28, 2018 at 11:22 am
Viewing 15 posts - 1,786 through 1,800 (of 4,820 total)