Viewing 15 posts - 766 through 780 (of 3,348 total)
Grumpy DBA (2/26/2016)
February 26, 2016 at 7:38 am
pwalter83 (2/26/2016)
In the report I have created, there is an option for the user to enter optional free text for searching. The problem is the report displays matching rows for...
February 26, 2016 at 6:14 am
benjamin.reyes (2/22/2016)
PASS SummitSeattle, October 25-28, 2016
Probably the best event you can choose. Lots of sessions going on at the same time, (almost) all from high quality speakers. Covers a broad...
February 26, 2016 at 6:09 am
I realize that this is technically not an answer to your question, but that's because I think Service Broker is not the right tool for your problem.
If inserting data into...
February 26, 2016 at 5:30 am
Hi Bantrim,
Thanks for posting the simplified table structure - details like that can be invaluable in understanding a problem.
In this case, we may need more details - more on that...
February 26, 2016 at 5:18 am
Jeff Moden (2/19/2016)
February 19, 2016 at 1:10 pm
ScottPletcher (2/19/2016)
Sometimes too much emphasis is placed on avoiding some mild fragmentation at the cost of large numbers of added covering indexes which actually cost much more overall overhead.
In this...
February 19, 2016 at 10:02 am
Loner (2/19/2016)
Here is the actual execution plan with option recompile.Thanks
Hi Loner,
I do see that the recompile hint worked. The estimated rowcount for the cnsmr_accnt_ar_log table has gone down to 56,827...
February 19, 2016 at 9:59 am
ScottPletcher (2/19/2016)
Log tables are almost always best clustered on a datetime, and virtually never on an identity value.
When it's an insert datetime, I think that this guess would be right...
February 19, 2016 at 9:47 am
ScottPletcher (2/19/2016)
You should cluster this table on upsrt_dttm instead.
How can you possibly determine that this should be a good clustering key based on seeing only one single query that uses...
February 19, 2016 at 9:19 am
And here is another great resource for free learning: http://www.sqlsaturday.com/%5B/url%5D
February 19, 2016 at 9:15 am
LittleTony (2/19/2016)
Probably is not the best approch 😉
It's definitely not the best approach.
If you must do this, then use the system tables (sys.tables, sys.columns, etc) to generate CREATE TABLE scripts...
February 19, 2016 at 9:11 am
GilaMonster (2/19/2016)
"An explicit value for identity column in table dbo.N8_SPEC_STAT_DELETED can only be specified when a column list is used and IDENTITY_INSERT is...
February 19, 2016 at 9:09 am
If the columns required change when the data changes, then you need what is called a "dynamic crosstab". Google for it. Personally, I hate them - they require dynamic SQL...
February 19, 2016 at 9:03 am
Thanks for posting the execution plans, table, and query. That makes it a lot easier.
However, I must unfortunately nag you a bit more - the plans you posted are estimated...
February 19, 2016 at 8:58 am
Viewing 15 posts - 766 through 780 (of 3,348 total)