Viewing 15 posts - 6,151 through 6,165 (of 7,168 total)
sqlfriends (6/9/2011)
I know if only client tool like sql management studio is installed, it will not require license.
how can I know if it...
June 9, 2011 at 4:30 pm
Chances are the constraint was created as a named-default in Tab1 and an unnamed-default in Tab2. It may have gone something like this:
CREATE TABLE dbo.Tab1
(
[ToDate] [datetime] NOT NULL
...
June 9, 2011 at 2:38 pm
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...
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)
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...
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...
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,...
June 9, 2011 at 10:30 am
hxkresl (6/9/2011)
June 9, 2011 at 10:17 am
@Offices.nodes('/Offices/OfficeID', '/Offices/OfficeID/PracticeID')
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...
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...
June 9, 2011 at 9:12 am
BOL says you can partition a heap...not that anyone would, would they? Uggh.
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...
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...
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...
June 9, 2011 at 7:37 am
Viewing 15 posts - 6,151 through 6,165 (of 7,168 total)