Viewing 15 posts - 19,051 through 19,065 (of 26,490 total)
Or you could use the attached code (couldn't post it directly, again).
August 24, 2009 at 1:41 pm
Yes, you are permitted to yell. I'm glad we were able to help you find the problem. Sometimes it just takes another set of eyes. Typical Forest...
August 24, 2009 at 1:27 pm
Again, look at the error message. It is not complaining about the temporary table:
Msg 4701, Level 16, State 1, Procedure SP_REFRESH_CHEMPAX_COSTS, Line 30
Cannot find the object "CHEMPAX_COSTS" because it...
August 24, 2009 at 1:06 pm
Sample Data? Expected Results?
August 24, 2009 at 12:59 pm
I don't think the problem is your temporary table, look at your error message again:
Msg 4701, Level 16, State 1, Procedure SP_REFRESH_CHEMPAX_COSTS, Line 30
Cannot find the object "CHEMPAX_COSTS" because it...
August 24, 2009 at 12:56 pm
Looks like he's been on. Changed his name to Express12. Like that will keep him off peoples radar! 😉
August 24, 2009 at 12:46 pm
virgilrucsandescu (8/24/2009)
Is there any other (better) way of optimizing a
SELECT f1 FROM t1 WHERE f1 NOT IN (SELECT f2 FROM t2)
except the classical :
SELECT f1 FROM t1 WHERE NOT...
August 24, 2009 at 12:41 pm
Not sure what yhe problem is. What would help is the DDL for the tables (CREATE TABLE statements), sample data for the tables, and expected results based on the...
August 24, 2009 at 12:39 pm
GSquared (8/24/2009)
Lynn Pettis (8/22/2009)
GilaMonster (8/22/2009)
Lynn Pettis (8/22/2009)
Lynn tries to work with everyone. 😉Aren't there a few that have made even your personal black-list?
You are right, to a point. ...
August 24, 2009 at 12:36 pm
Views are extremely useful. What it means is that instead of doing
SELECT
Col1,
Col2
FROM
dbo.MyView;
where the returned result...
August 24, 2009 at 12:24 pm
Additional Info from BOL (Books Online) with regard to CREATE VIEW:
Note:
The ORDER BY clause is used only to determine the rows that are returned by the TOP clause...
August 24, 2009 at 11:28 am
Cross database queries, you will need to grant them access to underlying tables in the other database.
I don't think granting just public access to the other database will work. ...
August 24, 2009 at 11:25 am
jdhouse (8/24/2009)
AS
SELECT TOP (100) PERCENT itemId, messageTypeId, sequence, description, required
FROM dbo.messageItem
WHERE (messageTypeId...
August 24, 2009 at 11:22 am
Bob Hovious (8/24/2009)
In a word: Yes.
Be sure to test. I vaguely remember running into this and going across databases I had to grant access to the tables in...
August 24, 2009 at 11:15 am
Viewing 15 posts - 19,051 through 19,065 (of 26,490 total)