Viewing 15 posts - 1,291 through 1,305 (of 7,191 total)
What is your question? Remember we can't see your screen and we don't know anything about your data. We'll need the actual execution plan as a minimum here to help...
August 22, 2017 at 2:33 am
That's not the full output of that query. And did you run it while the index creation statement was running?
John
August 22, 2017 at 2:09 am
It does appear I do not have permissions to create a view. So your saying the...
August 22, 2017 at 2:04 am
What is the wait type for the SPID that's attempting to create the index?
John
August 21, 2017 at 9:58 am
I meant do you even have permission to create one? If you do, you'd do it something like this:
ALTER TABLE Table3
ADD DescColour AS (
CASE
August 21, 2017 at 9:53 am
It's likely to be a table scan caused by the non-sargable LIKE operators that are causing you pain, by forcing a scan of the whole table. I imagine that if...
August 21, 2017 at 9:34 am
WHERE ORDERS.Status IN ('New','Open')
AND ((FSLog.IDNum IN (16,19,116,136,225) AND FSLog.CompletedDate IS NULL)
OR ((FSLog.IDNum IN (345) AND FSLog.CompletedDate IS NULL) OR (FSLog.IDNum IN(333) AND FSLog.CompletedDate IS NOT NULL)))
August 21, 2017 at 7:15 am
Santhosh
Have you tried looking in the sysdtslog90 table? It's a while since I used it, but I think it's in msdb.
John
August 21, 2017 at 4:52 am
You're welcome. I see what Thom was saying now. My solution concatenates the values into a single column. Your expected results contain six columns. But if your happy with what...
August 18, 2017 at 12:56 pm
WITH Partitioned AS (
SELECT
(ROW_NUMBER() OVER (ORDER BY Id) - 1) / 6 AS PNo
, Id
FROM @TestData
)
SELECT DISTINCT
STUFF((
SELECT ', ' ...
August 18, 2017 at 9:55 am
What happens if there are more than three groups? Do you need to add more and more columns if there are?
Is this for a report? I would recommend...
August 18, 2017 at 4:35 am
August 18, 2017 at 3:53 am
Does t2 have the same structure as test_tbl? If so, why are you trying to insert the value "99.999" into a varchar(5) column. And why is the column varchar at...
August 17, 2017 at 4:42 am
So you only want to look in columns called MEMBER_FIRST_NAME? Or do you want to look in all columns? If it's just the one column name, query INFORMATION_SCHEMA.COLUMNS to find out...
August 16, 2017 at 7:50 am
August 16, 2017 at 5:28 am
Viewing 15 posts - 1,291 through 1,305 (of 7,191 total)