Forum Replies Created

Viewing 15 posts - 19,051 through 19,065 (of 26,490 total)

  • RE: Calculate differences

    Or you could use the attached code (couldn't post it directly, again).

  • RE: temp table syntax

    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...

  • RE: Pause between record updates

    Why?

  • RE: temp table syntax

    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...

  • RE: Using INNER and OUTER joing withou non-ANSI joins: need help!

    Sample Data? Expected Results?

  • RE: temp table syntax

    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...

  • RE: Are the posted questions getting worse?

    Looks like he's been on. Changed his name to Express12. Like that will keep him off peoples radar! 😉

  • RE: Optimizing a NOT IN (...)

    virgilrucsandescu (8/24/2009)


    Hi,

    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...

  • RE: Using INNER and OUTER joing withou non-ANSI joins: need help!

    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...

  • RE: Are the posted questions getting worse?

    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. ...

  • RE: SQL 205 Views

    Views are extremely useful. What it means is that instead of doing

    SELECT

    Col1,

    Col2

    FROM

    dbo.MyView;

    where the returned result...

  • RE: SQL 205 Views

    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...

  • RE: Grant Access to a View without access to the Tables?

    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. ...

  • RE: SQL 205 Views

    jdhouse (8/24/2009)


    ALTER VIEW [dbo].[vFrmMainCboMessageItem]

    AS

    SELECT TOP (100) PERCENT itemId, messageTypeId, sequence, description, required

    FROM dbo.messageItem

    WHERE (messageTypeId...

  • RE: Grant Access to a View without access to the Tables?

    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...

Viewing 15 posts - 19,051 through 19,065 (of 26,490 total)