Viewing 15 posts - 6,436 through 6,450 (of 59,072 total)
Still there is a shorter version:
select *
from leftTable T1
join rightTable T2
on (
T1.C1...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 9, 2020 at 8:47 pm
Hi,
I'm have sysadmin rights but it is not possible for me to delete auto created statisitcs. I receive the message, that the statistic doesn't exits or I do not...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 9, 2020 at 8:44 pm
Just in case you're not been able to find the reference for the formats...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 9, 2020 at 8:39 pm
Heh... to Sergiy's point, I wonder how many supposed "Big Data" problems are actually BIG "poor design", "poor implementation", "poor requirements", and "poor coding" problems. To wit, my definition of...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 9, 2020 at 7:54 pm
Thanks Jeff and Sergiy for all your help.
I have a much better understanding now and have some design ideas: instead of triggers, partitioned views I can use not just...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 9, 2020 at 7:40 pm
It would probably help your cause a bit if you posted what several good and bad rows actually look like.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 9, 2020 at 7:38 pm
Still there is a shorter version:
select *
from leftTable T1
join rightTable T2
on (
T1.C1 = T2.C1...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 9, 2020 at 7:35 pm
(Well, I tend to think that it works better in any version given how much easier Trace is to use, but that is another story.)
It's too bad that...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 9, 2020 at 5:03 pm
Is there a pattern to the actual name of the tables and are all of the tables in the same database?
--Jeff Moden
Change is inevitable... Change for the better is not.
September 9, 2020 at 5:01 pm
Jeff, he has already answered which version he has: SQL Express 2012 SP1. (So, Gaurav, you should apply the latest Service Pack for SQL 2012, which is SP4!)
Thanks, Erland......
--Jeff Moden
Change is inevitable... Change for the better is not.
September 9, 2020 at 4:54 pm
p.s. I you do decide to move the table (whether you turn it into a partitioned view or not), you should keep the original table for a couple of weeks...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 9, 2020 at 1:54 pm
I don't see much advantage to changing ProcessName or Type to a key from a "process table" or "type" table. In the face of the other tables, it's...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 9, 2020 at 1:38 pm
Since you're using a version of SQL Server that's 2012 or above, here's a method that eliminates the need for a self join and the extra reads that go with...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 9, 2020 at 4:23 am
Terry,
If this is truly a log table (the name of it implies that it is) , there are two things that I'd do. As you say, changing the NVARCHARs to...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 9, 2020 at 3:56 am
Thanks for taking the time to post the readily consumable data.
I agree... Sergiy's shortened version doesn't work the same as the code you posted. I've not worked with Boolean Algebra...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 9, 2020 at 2:49 am
Viewing 15 posts - 6,436 through 6,450 (of 59,072 total)