Viewing 15 posts - 5,896 through 5,910 (of 59,089 total)
Hi all. I have already read about SQL Server Profiler. But I can't understand what means "Writes" there. For example, I have a query that has 13500 Reads and...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 14, 2020 at 11:39 pm
My boss manually deleted the backlog in chunks on Friday and things appear to have been fine over the weekend. I'll know a bit more definitely when the reports...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 14, 2020 at 11:29 pm
You have some values that have leading zeros. Must the leading zeros be preserved? If so, then not all of the columns are actually INTs as you said. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 14, 2020 at 11:08 pm
I was too enthousiastic. What I did was I only took the 7 character long records (WHERE LEN(column1)=7) and then applied the LEFT functions as indicatde above....
--Jeff Moden
Change is inevitable... Change for the better is not.
December 14, 2020 at 11:03 pm
ScottPletcher wrote:This has less overhead...
Just curious, Scott... how are you measuring "overhead" for this?
Actually, for this one, I just looked at the query plans. The other code is...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 14, 2020 at 10:54 pm
Are you terminating the preceding statement with a semicolon?
You can start statements that begin with "WITH" with a semicolon:
;WITH ret AS(
Now, there's an interview...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 14, 2020 at 10:45 pm
You have some values that have leading zeros. Must the leading zeros be preserved? If so, then not all of the columns are actually INTs as you said. Let me...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 14, 2020 at 10:31 pm
I am using SQL Server 2008 R2 version. Is there any method to store decimal value in SQL without extra trailing zeros(like Float data type format). I have created...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 14, 2020 at 10:12 pm
I was too enthousiastic. What I did was I only took the 7 character long records (WHERE LEN(column1)=7) and then applied the LEFT functions as indicatde above. But, apparently,...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 14, 2020 at 10:09 pm
@ Jeff Moden,
It concerns the hierchy as described in https://en.wikipedia.org/wiki/Anatomical_Therapeutic_Chemical_Classification_System
Now, this said, what I want to achieve is to have a Dimension which contains all hierarchies, and a...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 14, 2020 at 10:07 pm
I guess I'm an odd ol' duck. I don't need or even want F2F interaction with humans unless it's on a pool table in my favorite bar and that's not...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 14, 2020 at 9:53 pm
This has less overhead...
Just curious, Scott... how are you measuring "overhead" for this?
--Jeff Moden
Change is inevitable... Change for the better is not.
December 14, 2020 at 4:45 pm
SELECT * FROM [Staging].[3NF_ATCCOLLECTION] ATC WHERE ATC.[ATC_KEY] LIKE '[a-z]' OR ATC.[ATC_KEY] LIKE '[a-z][0-9][0-9]' OR ATC.[ATC_KEY] LIKE '[a-z][0-9][0-9][a-z]' OR ATC.[ATC_KEY] LIKE '[a-z][0-9][0-9][a-z][a-z]' OR ATC.[ATC_KEY] LIKE '[a-z][0-9][0-9][a-z][a-z][0-9][0-9]' ORDER BY ATC.[ATC_KEY]
This results...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 14, 2020 at 3:56 am
abridged version of what I need
I'd recommend sharing what the unabridged version is because it will be in even more of a need of speed and a While loop...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 13, 2020 at 5:39 am
The standard pattern uses 0 as the base, not 1 or -1 or some other "cute" trick.
No sir... There are a couple of "standards". The...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 13, 2020 at 5:01 am
Viewing 15 posts - 5,896 through 5,910 (of 59,089 total)