Viewing 15 posts - 286 through 300 (of 717 total)
Tom.Thomson (2/22/2011)
February 22, 2011 at 1:53 pm
Tom.Thomson (2/20/2011)
February 22, 2011 at 11:01 am
Thanks for the question, I think it is good to bring attention to this. (I just wish there was a better/easier/more reliable way to get everything lined up through the...
February 22, 2011 at 10:50 am
Tom.Thomson (2/18/2011)
February 18, 2011 at 5:44 pm
SQL Prompt 5.0.1 has problems with CTEs that cause SSMS to be really slow. They say that it will be fixed in 5.1, or you can contact support to get...
February 18, 2011 at 5:36 pm
One of the problems came back to me that occurs when you use a column from a table outside the sub-query without qualifying it, because it is unique now, and...
February 18, 2011 at 5:10 pm
lnoland (2/18/2011)
February 18, 2011 at 5:08 pm
Les,
I see you basically came up with the same solution as mine, but you didn't alias the tblCaseLog table in your NOT EXISTS query, so it has ambiguous columns and...
February 18, 2011 at 4:57 pm
How about something really simple like this:
SELECT
C.CaseID
FROM tblcase C
WHERE
C.closedate = ''
AND c.casetypeid in(100, 101, 102, 131)
AND EXISTS (SELECT NULL FROM tblCaseLog...
February 18, 2011 at 4:49 pm
jberg-604007 (2/18/2011)
Joe,I just don't see how to do the duplication with a value that varies by row.
Did you see the solution that Jeff posted just prior to your...
February 18, 2011 at 4:30 pm
Nice little script, but it will return multiple rows for partitioned tables. Here is an updated version that takes care of that:
SELECT
o.name AS "Table Name",
SUM(i.rowcnt) AS...
February 18, 2011 at 11:00 am
Tom.Thomson (2/18/2011)
dev-638705 (2/18/2011)
Nice question, although RAID5 is a not really a good choice for databases ! (except limited cases with mostly read-only databases).
If your data is sufficiently important to need...
February 18, 2011 at 10:29 am
Thanks for the question! I was surprised to see the number of incorrect answers, I thought this was pretty much common knowledge.
February 18, 2011 at 10:22 am
Viewing 15 posts - 286 through 300 (of 717 total)