Viewing 15 posts - 6,151 through 6,165 (of 7,164 total)
hxkresl (6/9/2011)
cte.three, please give me the main points about using ctes rather than cursors.
In general it's not about always using a CTE over CURSOR...the main point to take away is...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 9, 2011 at 2:27 pm
Jim Murphy (6/9/2011)
GilaMonster (6/9/2011)
SQLRNNR (6/9/2011)
Steve Jones - SSC Editor (6/9/2011)
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 9, 2011 at 1:38 pm
Ninja's_RGR'us (6/9/2011)
How can you defrag a heap that has no required order?
Tangent to the OP but since you asked: ALTER TABLE...REBUILD or you can add a CI and then immediately...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 9, 2011 at 10:58 am
Since it is a heap, and you were deleting from it every 5 minutes (and I assume something else was inserting into it just as often) it could have been...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 9, 2011 at 10:46 am
James A. Lawrence (6/9/2011)
I actually was able to find yet one more way to get this to work!
select distinct
t1.A_PREFIX,...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 9, 2011 at 10:30 am
hxkresl (6/9/2011)
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 9, 2011 at 10:17 am
@Offices.nodes('/Offices/OfficeID', '/Offices/OfficeID/PracticeID')
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 9, 2011 at 10:06 am
kiruthika.naren (6/8/2011)
2. How to get the base XSD for all the 3 files.
If these files are sent for a business purpose it would be best to ask the source for...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 9, 2011 at 9:50 am
That will still require another access to the base table. There is a way to do it without touching the table again, and we know the query he shared is...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 9, 2011 at 9:12 am
BOL says you can partition a heap...not that anyone would, would they? Uggh.
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 9, 2011 at 9:07 am
Profiler will generate a lot more data than you need. You could load your trace files into a table as needed and delete what you do not need however that's...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 9, 2011 at 8:56 am
I am confident the original query could be fixed but here is the cte with the query you just provided. The downside is that it only handles default constraints. It...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 9, 2011 at 8:44 am
Oh, it's a command line tool 😀
It's a good one to keep in your toolkit for troubleshooting these kinds of issues. Sometimes the network folks unintentionally get involved and break...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 9, 2011 at 7:37 am
:w00t: I'll add it to the list of things to try as a last resort when I see these issues come up...and they do come up regularly. Thanks for posting...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 9, 2011 at 7:34 am
kurtyue (6/9/2011)
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 9, 2011 at 7:28 am
Viewing 15 posts - 6,151 through 6,165 (of 7,164 total)