Viewing 15 posts - 16 through 30 (of 240 total)
Assuming you run your query in SSMS, go to the Query menu and activate "Include Actual Execution Plan" item. Then run your query. Upon completion you'll see a new tab...
August 19, 2019 at 7:07 pm
Is there an index on Title column? If not, create one and see if it helps. You may want to add OrderDateUtc to index too.
August 19, 2019 at 5:27 pm
There was similar question recently, take a look:
https://www.sqlservercentral.com/forums/topic/job-duration-much-longer-than-step-durations
August 16, 2019 at 2:43 pm
What is PI() ? I don't see it in the list of math functions. I'm on 2008 thou, maybe it was added in 2016.
August 9, 2019 at 2:49 pm
I think it's creating internal database snapshot to run checks against.
August 1, 2019 at 9:10 pm
Duplicate post. See replies here:
https://www.sqlservercentral.com/forums/topic/efficient-way-to-split-a-string-2
August 1, 2019 at 6:48 pm
Perhaps Microsoft guy meant reverting source database to the state it was when snapshot was taken? That's possible.
--To Revert a Database to a Database Snapshot:
RESTORE DATABASE {...
July 30, 2019 at 8:51 pm
Great points guys, Thank You!
July 25, 2019 at 9:51 pm
Look into STRING_SPLIT() function:
https://docs.microsoft.com/en-us/sql/t-sql/functions/string-split-transact-sql?view=sql-server-2017
July 25, 2019 at 5:45 pm
What's the purpose of the DMA to simply change the compatibility level?
I think OP wants to make sure there won't be any incompatible code when level is changed.
July 25, 2019 at 5:36 pm
The date does change or am I missing something?
DECLARE @Date DATETIME = '2019-07-19 22:42:45.880'
SELECT DATEADD(hh, 2, @Date)
Result:
2019-07-20 00:42:45.880
July 19, 2019 at 9:16 pm
Why not simply use NEWID() function? Or you want date and time to be a part of the generated random number? I guess sample of the desired output will be...
July 19, 2019 at 9:02 pm
Did you try to run DBCC FREEPROCCACHE before shrinking?
Also, check this: https://sqlsunday.com/2013/08/11/shrinking-tempdb-without-restarting-sql-server/
July 19, 2019 at 3:36 pm
Also, this post may be helpful:
https://www.sqlconsulting.com/archives/big-performance-problems-with-the-cardinality-estimator/
I'm preparing to do similar thing, so just curious, did you run Data Migration Assistant before you did migration? And if so, did it...
July 18, 2019 at 8:49 pm
If you present your data in more easily consumable way, more people will be willing to help.
CREATE TABLE #UserA(
[User_name] VARCHAR(20),
User_country CHAR(2),
...
July 18, 2019 at 8:27 pm
Viewing 15 posts - 16 through 30 (of 240 total)