Viewing 15 posts - 496 through 510 (of 49,571 total)
Steve, something changed in the notification emails?
I don't think I shout be getting users' emails instead of username.
January 4, 2018 at 1:22 pm
If there's a second file in primary, new pages should be allocated with proportional fill, meaning the full file gets no pages and the empty gets all new pages. you...
January 4, 2018 at 1:06 pm
DDL triggers are AFTER triggers, meaning they fire within the transaction *after* the changes have been made. So at that point, there is no record in sys.databases for the DB...
January 4, 2018 at 1:10 am
January 3, 2018 at 1:05 pm
One option:
Instead of DISTINCT
GROUP BY <primary key> and then decide what you want to do with each of the other columns (MIN, MAX or other aggregation)
January 3, 2018 at 12:57 pm
Google search for "DReplay Extended Events" First result:
https://borishristov.com/blog/t-sql-tuesday-67-extended-events-and-distributed-replay/
January 3, 2018 at 12:04 pm
That shouldn't even compile, because this does not exist as a table: [EDIImpTbl_ComputerInventory].[Service Tag]
January 3, 2018 at 11:53 am
JOIN #Temp ON ...
Then you can reference it further down. Same as any other table.
You can't say
FROM Customers inner join OrderDetails on Customers.ID = Orders.CustomerID, same...
January 3, 2018 at 11:31 am
There is a way to convert an extended events output to trace so that DReplay can read it. Don't have links offhand, google should turn them up.
January 3, 2018 at 11:29 am
sp_statement_completed & sql_statement_completed and look for sp_executesql or EXEC with brackets.
Or the entire batch with sql_batch_completed and RPC completed. Eitherway, a second filter is necessary, and probably better to...
January 3, 2018 at 11:21 am
SELECT 1 means just that. Select the literal value 1. It's used in EXISTS because SQL doesn't care about the columns in an EXISTS. You could replace it with SELECT...
January 3, 2018 at 10:41 am
January 3, 2018 at 7:52 am
What do you mean 'it can't fetch state_desc'?
January 3, 2018 at 7:51 am
Viewing 15 posts - 496 through 510 (of 49,571 total)