Viewing 7 posts - 1 through 7 (of 7 total)
Thanks for your reply. We have an application created by a third party vendor that has a relationship with a varchar field in a table that we own to a...
July 13, 2010 at 4:01 pm
You can use a derived table. Like this:
SELECT
SUM(DerivedTableName.NumOfOccurences) SumOccurences
, COUNT(DerivedTableName.NumOfOccurences) CountOccurences
FROM
(SELECT somecolumn
COUNT(somecolumn) AS NumOccurrences
FROM sometable
...
July 8, 2010 at 10:41 pm
Have you tried using derived tables in place of temporary tables? I use derived tables in SSRS and they work fine. Also, derived tables have lower overheads in comparison to...
January 9, 2008 at 1:37 pm
Other queries seemed to work ok. I'm not sure of the answers to your other questions. We didn't check those, at least not that I'm aware of. Someone in our...
October 25, 2006 at 7:24 pm
We released all locks, with no success.
October 24, 2006 at 1:38 pm
Thanks for putting some time into this for me, David. We've fixed the table by rebooting the server. We still don't know what went wrong, but fixing it with a...
October 23, 2006 at 5:52 pm
I have select, insert, update, delete and dri(whatever that means) on the table. I'm in the public and db_owner roles.
I get no error messages from trying to delete or truncate...
October 19, 2006 at 6:04 pm
Viewing 7 posts - 1 through 7 (of 7 total)