Viewing 15 posts - 1,141 through 1,155 (of 3,507 total)
You realize that you have to rebuild your indexes when you do that, right? Only use SHRINKDB if you need to get back space you're not going to use for...
December 28, 2018 at 11:30 am
Got consumable data? (CREATE TABLE/INSERT scripts)??? Surely you've figured out how to do that by now. Unless you want just guesses instead of tested code.
December 28, 2018 at 10:22 am
Can you post your CREATE TABLE and INSERT scripts so we have a little bit of sample data? Invoices and . InvoiceLineItem structures are pretty standard. If you post the...
December 26, 2018 at 3:48 pm
This might be a helpful read:
https://www.brentozar.com/archive/2013/09/index-maintenance-sql-server-rebuild-reorganize/
December 20, 2018 at 8:33 pm
Do not pass GO. Do not collect $200.
Go directly here and read: http://www.sqlservercentral.com/articles/Best+Practices/61537/
You'll get MUCH better answers if you read the article and follow the instructions when...
December 20, 2018 at 3:07 pm
I guess I'll try to play around with it over Christmas or something... after I rebuild my poor laptop. Thanks!
December 19, 2018 at 3:07 pm
Is it possible to append anything to the Property column without corrupting the report? Right now, it looks like this:
<Properties>
<Language>en-US</Language> <HasUserProfileQueryDependencies>False</HasUserProfileQueryDependencies> <HasUserProfileReportDependencies>False</HasUserProfileReportDependencies> <PageHeight>279.4</PageHeight>
<PageWidth>215.9</PageWidth>
...
December 18, 2018 at 11:09 pm
December 17, 2018 at 7:57 pm
Sounds like you want use EXISTS, but it's hard to tell without some sample data (CREATE TABLE/INSERT scripts) and an expected output.
December 17, 2018 at 2:37 pm
So index the Year and Month columns, and then read up on INCLUDE ?
December 17, 2018 at 12:03 am
you need to use a filter like this to be able to use your index:
WHERE [DateField] BETWEEN '01-Jan-2017' AND '31-Dec-2017'
Try indexing your date column and then...
December 16, 2018 at 10:23 pm
There are a bunch of stored procedures that are executed against your tables, right? Maybe use Querystore or something to figure out which queries are being executed most frequently. Look...
December 16, 2018 at 9:30 pm
Look at the columns you filter and join on. Try indexing those and compare the statistics of your queries before and after...
December 16, 2018 at 9:27 pm
try
- indexing the fields you're filtering on.
- limiting the columns returned
- add RAM, like to 32GB. 8GB for SQL Server is just painful.
December 16, 2018 at 5:12 pm
Others may disagree, but I don't know why you would store an instance of a non-event. It's going to make your fact table much larger than it could be. And...
December 15, 2018 at 1:49 pm
Viewing 15 posts - 1,141 through 1,155 (of 3,507 total)