Viewing 15 posts - 8,626 through 8,640 (of 59,091 total)
Here's one simple method provided those are actual NULLs and not just a word of '[NULL]':
SELECT ProcessID
,IsCompleted...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 21, 2019 at 6:56 pm
Oh... almost forget... your question was...
My question is, if all the queries are poorly performing. In that case, where do I start my troubleshooting.
The answer is, the system knows. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 21, 2019 at 5:19 pm
I'd worry about memory but not in the way you distributed it. You have a fair number of fairly large databases. Adding memory is generally the single best hardware improvement...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 21, 2019 at 5:06 pm
My first observation is that there is no index to support this query even if the "table" was in good shape. You could try the following indexes to see if...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 21, 2019 at 4:05 pm
To answer your question, there will be no difference in performance or resource usage. The only difference is that the first rendition could be created as a stored procedure and...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 21, 2019 at 2:49 pm
p.s. You might want to check out the OBJECT_NAME(object_id [, database_id]) and OBJECT_SCHEMA_NAME(object_id [, database_id]) functions. They can greatly reduce the number of joins you have to do for things...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 20, 2019 at 2:23 am
If there is an index behind the stats, then stats_id is the same thing as the index_id in sys.indexes. Do an outer join to sys.stats from sys.indexes to make that...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 20, 2019 at 2:10 am
Looks like the OP has left the building.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 20, 2019 at 1:50 am
So were you able to remove the file group after that?
--Jeff Moden
Change is inevitable... Change for the better is not.
September 18, 2019 at 2:47 pm
I'll echo ZZartin's questions and ask one more... how big is this clustered index in rows, columns, and GB occupied?
--Jeff Moden
Change is inevitable... Change for the better is not.
September 18, 2019 at 2:23 pm
To be honest, you should already have a script that does this because you should be testing your backups on a regular basis.
There are a lot of scripts out there...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 18, 2019 at 1:22 pm
Bulk Insert uses the privs of the login using it. You have to make sure the login being used as the privs in the source directory.
Hehe - until...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 18, 2019 at 1:01 pm
hjp wrote:You can never prove something true!
Now there's an interesting hypothesis... I wonder how one would prove that. 😀
Along the same lines as "a car can't fly". Of...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 18, 2019 at 12:55 pm
You can never prove something true!
Now there's an interesting hypothesis... I wonder how one would prove that. 😀
I do get the spirit of that statement, though.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 18, 2019 at 4:35 am
I have tried mapped drives and the full unc path. Life continues to be unkind. I am considering trying BCP after my root canal without nova Caine.
Bulk Insert uses...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 18, 2019 at 3:56 am
Viewing 15 posts - 8,626 through 8,640 (of 59,091 total)