Viewing 15 posts - 6,901 through 6,915 (of 8,416 total)
NathanB (9/14/2009)
Top use of ISNULL there, I've not seen that before!
It doesn't perform well usually since use of the function forces an index scan instead of a seek (assuming a...
September 14, 2009 at 4:27 pm
Tony Fountain (9/14/2009)
September 14, 2009 at 4:10 pm
Tony Fountain (9/14/2009)
Can I toss in a silly question here? How does this relate to the excessive PAGEIOLATCH(xxx) waits we are seeing?
Hey Tony,
It's not a silly question.
Without AWE enabled...
September 14, 2009 at 4:06 pm
select WORKERNAME from workers for xml path(''), ROOT('row');
edit: Sorry Lutz - I missed your post :blush:
September 14, 2009 at 3:51 pm
george.hames (9/14/2009)
If you can't think of a case where it is sensible to use SELECT *, then I suspect that your experience is rather narrow.
After EXISTS. That would be...
September 14, 2009 at 3:41 pm
Dude, it's a myth. Metadata is never checked for COUNT(*) or EXISTS(SELECT *...a quick Google will provide you with testimony to that fact from Itsik Ben-Gan, Erland Sommarskog, Joe...
September 14, 2009 at 3:21 pm
Marios Philippopoulos (9/14/2009)
September 14, 2009 at 3:18 pm
Just for the record then:
Laptop - yes, to a first approximation
Desktop - nope
SQL Books - 5
Driver's Licence - 2
Proof of SQL ability - none whatsoever
Paul
September 14, 2009 at 7:07 am
Dave Ballantyne (9/14/2009)
Is there any issue with this thread not showing in the 'Active Threads' menu item ?
It's showing up for me.
But thanks for introducing me to a new site...
September 14, 2009 at 6:57 am
ben.mcintyre (9/14/2009)
A warning: probably not for team environments.
You or the code? :blink:
No, seriously, have you considered using the right-click on object, script as SELECT to...option in Management Studio?
Paul
P.S. Matt...
September 14, 2009 at 6:48 am
Oh no you di'int!!!
I'm off before Celko gets here.
Surrogate keys rock.
😀
September 14, 2009 at 6:28 am
OK. If the two things happened at EXACTLY the same moment (the database was set up so that the INSERT didn't block the SELECT or vice-versa...)
You would get 5...
September 14, 2009 at 6:24 am
What is the result of running SELECT @@VERSION please?
...and I am assuming you have sysadmin permissions to the SQL Server, is that correct?
September 14, 2009 at 6:18 am
We always install client tools and Books Online. I may go in tomorrow and install pubs, Northwind, AdventureWorks, and AdventureWorksDW just to annoy you all.
:laugh:
Paul
September 14, 2009 at 6:14 am
SQL Server protects you against worrying about such considerations.
Internal synchronization mechanisms exist to ensure that the scenario you are worrying about will never occur.
The answer is therefore as Dave B...
September 14, 2009 at 6:05 am
Viewing 15 posts - 6,901 through 6,915 (of 8,416 total)