Viewing 15 posts - 8,746 through 8,760 (of 59,099 total)
Hi All,
Select count(*) from table1 is taking around 5 mins.
table is having 4035938 rows.
can anyone suggest what may cause row count to slow and how it can be optimized...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 1, 2019 at 12:35 am
According to the following link...
https://docs.microsoft.com/en-us/windows/win32/winhttp/error-messages
... the WinHttp error of 12007 means that "The server name cannot be resolved.". Does the server or user actually have privs to where the...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 1, 2019 at 12:32 am
My take on this would be to find and fix the code that's making this mess and then make the ORDER TYPE column NOT NULL. Actually, the best thing to...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 1, 2019 at 12:21 am
Ah... I understand, now. I'll be back.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 31, 2019 at 8:14 pm
Ah... almost forgot...
The word "Data" is a bit misleading and can be used in many ways based on the esoteric subject. It's a bit like using the word "flower", which...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 31, 2019 at 7:59 pm
Thanks Jeff and Matt for replies and link
But it still doesnt ans my query.If Index are on disk physical structure as last link says so then why does various...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 31, 2019 at 7:28 pm
Great article, Steve. And, yes, I agree... the basics will never go away and there will never be enough people that know them. Heh... as I've stated in the past,...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 31, 2019 at 3:35 am
We are planing to upgrade SQL Server from 2014 to SQL 2017, So based on current utilization of SQL Server the CPU usage is never exceeded more than 5...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 31, 2019 at 3:28 am
You should ask Ola. 😉 He wrote it.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 31, 2019 at 3:23 am
What is the "Buddy Program"? Sharing a hotel room?
--Jeff Moden
Change is inevitable... Change for the better is not.
August 31, 2019 at 3:22 am
Hello
I'm working on programm for presence control
e.g
ID - CheckIn - CheckOut
1 29/08/2019 10:00 -- 29/08/2019 14:00
2 29/08/2019 22:00 -- 30/08/2019 06:00
3 30/08/2019 10:00 -- 30/08/2019 14:00
If i do a query...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 31, 2019 at 3:21 am
Really good article that covered a whole lot. The high point is how managers want everything but don't want to pay anything. I also believe that capital expenditures shouldn't be...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 31, 2019 at 3:16 am
Did you know that a table must have a key by definition? It is not an option!
Actually, it IS an option. HEAPs work just fine for things like Audit...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 31, 2019 at 2:51 am
>> I want to have a sum of the item count reset to 0 when the sum >= 6. <<
Did you know that a table must have a key...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 31, 2019 at 2:32 am
my guess is that your table should look something like this:
CREATE TABLE Personnel
(employee_id CHAR(5) NOT NULL PRIMARY KEY,
employee_type CHAR(1) NOT NULL
CHECK (employee_type IN (???),,
employee_name VARCHAR(30) NOT NULL);...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 31, 2019 at 2:24 am
Viewing 15 posts - 8,746 through 8,760 (of 59,099 total)