Viewing 15 posts - 871 through 885 (of 8,731 total)
Simple queries run lot of time in millions record table table have around...
October 27, 2017 at 10:18 am
October 26, 2017 at 10:50 am
October 26, 2017 at 10:33 am
I'd extend that one step further, given that the original query had VARCHAR(10) instead...
October 26, 2017 at 9:03 am
I think that I can convert this into an inline table-valued function. That would at least allow parallelism and won't be called one row at a time.
I just need...
October 26, 2017 at 8:43 am
Avoid showing the results in the grid and just show them on text. That might help to reduce memory consumption by SSMS.
October 25, 2017 at 9:29 am
October 24, 2017 at 12:30 pm
Is it basically the same behavior shown here?
https://www.brentozar.com/archive/2017/09/ghosts-temp-tables-past/
October 24, 2017 at 11:34 am
For a dynamic approach, check the following article:
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - SQLServerCentral
October 24, 2017 at 8:41 am
For that, you need to unpivot your values and pivot them again.
I'm not using PIVOT and UNPIVOT operators, although , you could use them. I prefer the alternatives that...
October 24, 2017 at 7:04 am
You can get information about temp tables' scope in here:
https://docs.microsoft.com/en-us/sql/t-sql/statements/create-table-transact-sql#temporary-tables
October 23, 2017 at 1:02 pm
You seem to be relatively new to the forums, but you should take into account that it's a good courtesy to post your sample data in a consumable format. I'll...
October 23, 2017 at 7:18 am
October 20, 2017 at 12:25 pm
Viewing 15 posts - 871 through 885 (of 8,731 total)