Viewing 15 posts - 9,886 through 9,900 (of 14,953 total)
Dave Hoogendoorn (4/20/2009)
Regarding the validity of the test;I agree. However. Before the issues started, the queries were much, much faster then those 2...
April 20, 2009 at 2:15 pm
If you don't use the "constraint" keyword, that command works.
create table #T (ID int);
alter table #T add primary key (ID);
Just tested that and it worked.
April 20, 2009 at 1:13 pm
You need to use the nodes function before the value function. Try this, see if you can what you want from there:
select x.y.query('.').value('.[1]','int')
from @depxml.nodes('(DEPARTMENT/EMPLOYEES/EMPID)') x(y)
Look up the nodes function...
April 20, 2009 at 1:09 pm
Dave Hoogendoorn (4/20/2009)
April 20, 2009 at 1:03 pm
Optimization based on assumptions and guesses is far too common.
One dev I worked with thought that table variables were THE way to optimize stored procs. Took a proc that...
April 20, 2009 at 1:01 pm
UniqueIdentifier will work for that. Those are GUIDs.
April 20, 2009 at 12:57 pm
Matt Whitfield (4/20/2009)
GSquared (4/20/2009)
I'm sorry that you don't know how to code well in SQL. I recommend, however, that instead of justifying it as "I just get the job...
April 20, 2009 at 12:50 pm
Tempdb has an initial size of 48 Gig on a drive that only has 50 Gig of available space? If I'm misreading that, that's one thing, but if I'm...
April 20, 2009 at 11:56 am
Not sure what your "rowcounts after 2 minutes" is supposed to measure. What are you using to measure performance and what metrics are you keeping?
One possibility for reduced performance...
April 20, 2009 at 11:54 am
davidandrews13 (4/20/2009)
Carolyn Richardson (4/20/2009)
It's 3pm on a Friday, your production OLTP environment is down, every hour down costs the company one million dollars. People are phoning constantly, folks are rushing...
April 20, 2009 at 9:57 am
Even if applications are rewritten, the amount and type of activity in the table will probably not change much, since users will be doing the same things with the new...
April 20, 2009 at 9:47 am
I'd use a trace to find the most common actions taken on that table, selects, updates, inserts and/or deletes, in the production database.
That'll tell you straight away whether there are...
April 20, 2009 at 9:32 am
It's a good question and definitely needs to be considered. Not just scripts, but the forum posts are IP as well. SSC needs to have rights on those,...
April 20, 2009 at 9:00 am
GilaMonster (4/20/2009)
GSquared (4/20/2009)
"the server room has smoke coming out of it and the halon alarm just went off to warn people to get out of there"
Now that's one I haven't...
April 20, 2009 at 8:34 am
Nicholas Cain (4/20/2009)
April 20, 2009 at 8:27 am
Viewing 15 posts - 9,886 through 9,900 (of 14,953 total)