Viewing 15 posts - 181 through 195 (of 1,219 total)
Find an idle, freshly started instance. Run this:
SELECT * FROM sys.dm_tran_version_store
to verify that it is empty. Then do something like this in a database that does not have any form...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
March 3, 2020 at 8:49 pm
The inserted/deleted tables are created from the version store in tempdb.
So that is indeed one more input to the original question. If you are running with any sort of snapshot...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
March 3, 2020 at 3:24 pm
In my case the char(7200) was just a filler to the sake of the test. Let it represent some umpteen other columns. Probably not totalling 7200 bytes, but maybe a...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
March 2, 2020 at 10:30 pm
I should add one more thing. I conducted some tests to back what I said, and they gave me some results that it took some time to digest. But there...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
March 2, 2020 at 10:00 pm
I think you are into over-engineering when you are considering to have a separate table. That would only make sense, if you are considering to track not only last accessed,...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
February 29, 2020 at 8:51 pm
Well, you started three threads, and Lynn replied to them all...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
February 17, 2020 at 9:54 pm
The answer is simple: you are not in Kansas anymore.
LIKE does not support regular expressions of any flavour. It supports % to mean 0 or more of any characters. It...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
February 17, 2020 at 9:49 pm
I can only give a solution to the problem you state, which was for the update of a single value.
Since I don't know how your more than 100 records are...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
January 29, 2020 at 9:44 pm
Sounds like
IF (SELECT COUNT(*)
FROM tbl
WHERE FailedNumber = @FailedNumber
...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
January 29, 2020 at 8:57 pm
While I may point out the obvious, when you run the query with TRY_CAST make sure that you also have the result of your massaging included, so that you can...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
January 23, 2020 at 1:23 pm
Copy the table to an instance of a newer version of SQL Server. Download and install Express Edition if needed. On that version run a query with try_cast, to see...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
January 23, 2020 at 12:51 pm
The first reply is: don't store data like this! Yes, I know you told us that you can't change the model, but pass the bucket: don't store data like this.
Next,...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
January 22, 2020 at 8:04 pm
Great to hear that you were able to work it out!
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
January 3, 2020 at 11:54 am
Not really your everyday scenario, so I don't have a canned answer. 🙂 But use Profiler to spy on SSMS to see what queries it submits. This should give you...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
January 3, 2020 at 8:48 am
This sounds like a problem with SSMS. Which version of SSMS do you have? You can download the most recent version here: https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms. Not that this necessarily helps, as...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
January 2, 2020 at 8:19 pm
Viewing 15 posts - 181 through 195 (of 1,219 total)