Viewing 15 posts - 1,111 through 1,125 (of 3,480 total)
the same row?
INSERT INTO MyTable(col1, col2, col3, col4) VALUES (@param1, @param2, @param3, @param4);
January 1, 2019 at 11:44 pm
What's the big deal? Use DATEDIFF() to figure out how old a bill (or whatever) is, and then use CASE to group into bins.
If you do this in SSRS,...
December 31, 2018 at 12:11 am
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
Viewing 15 posts - 1,111 through 1,125 (of 3,480 total)