Viewing 15 posts - 14,956 through 14,970 (of 22,211 total)
It really depends on what the error is. Not all errors cause a loss of connection, so you'll still see the RPC or Batch completion event.
Profiler isn't necessarily the place...
May 20, 2010 at 10:51 am
You can make the data file any size you want, but then it will consist mostly of free space. Right click the database and check the properties. That's an easy...
May 20, 2010 at 8:54 am
NOLOCK is what is known as dirty reads. It prevents shared locks from being placed on data. This can speed up access. BUT, it also means that you can get...
May 20, 2010 at 8:52 am
If the calculation is really simple, say adding two columns, then no, storing it doesn't really make sense, but if the calculation is complicated, then it makes more sense to...
May 20, 2010 at 8:48 am
rafael_si (5/20/2010)
May 20, 2010 at 7:50 am
mtassin (5/20/2010)
Grant Fritchey (5/20/2010)
I'm sorry to disagree with you here, but dynamic queries do get cached. And if you build them using the parameterized approach, they can get reused too....
May 20, 2010 at 7:34 am
It depends on the query and your goal. SCHEMA_BINDING and indexed views are different critters. An indexed view is, effectively, a second table because the query that defines it is...
May 20, 2010 at 7:31 am
I guess I'm still confused by what you're trying to do. In SQL Server 7,2000,2005,2008, (and I'd say 6.5, but I don't remember it that well) if you are trying...
May 20, 2010 at 7:26 am
When I run this:
SELECT * FROM dbo.a;
exec sp_rename 'A' , 'C';
exec sp_rename 'B' , 'A';
exec sp_rename 'C' , 'B';
It works fine, with no blocking.
Are there multiple connections running this at...
May 20, 2010 at 6:55 am
I may be wrong here, but this:
ISNULL(pe.Col3, pe.Col4)
is going to cause scans, either table or index, and you won't get seeks. Functions on columns like this render them non-sargeable (search...
May 20, 2010 at 6:49 am
You should not be using ROWLOCK like that. There is no way to make a single row read only within the structure of the table. You have to make it...
May 20, 2010 at 6:47 am
May 20, 2010 at 6:44 am
You're trying to join on NULL. You can't. NULL does not equal NULL.
May 20, 2010 at 6:41 am
What's the purpose of the trace? Do you just want to see that they started? Then I'd use the RPC or Batch Start event. If you're trying to see specifically...
May 20, 2010 at 6:39 am
I got an error trying to read the plan. You might recheck the posting.
May 20, 2010 at 6:37 am
Viewing 15 posts - 14,956 through 14,970 (of 22,211 total)