Forum Replies Created

Viewing 15 posts - 1,621 through 1,635 (of 2,085 total)

  • RE: Newbie question

    Something like this?

    SELECT Table1ID1.targetInformation AS  target1,Table1ID2.targetInformation AS target2

    FROM Table2 LEFT JOIN Table1 Table1ID1 ON table2.ID1=Table1ID1.ID /*fill with NULL if not present in table1*/

    LEFT JOIN Table1 Table1ID2 ON table2.ID2=Table1ID2.ID

    ORDER BY Table2.ID

  • RE: Linked servers and Network Logins

    At the linked server properties

    you can set how your account will be "transferred" across the network to the linked server.

    Perhaps you can try with using the current login security context...

  • RE: Sql server 2000 Security

    some in the role db_securityadmin can assign execute permission.

  • RE: Connecting from One MS SQL Server 2000 to another MSSQL Server 2000

    Welcome

    the syntax is

    EXECUTE mylinkedserver.myremotedatabase.myremoteobjectowner.USP_MYREMOTESTOREDPROCEDURE @param1=....

  • RE: Help with a Stored Procedure

    CREATE STORED PROCEDURE dbo.USP_CLASSTRACK_PIVOT_QUARTER

    AS

    SET NOCOUNT ON

    SELECT classcode,

        SUM(CASE Quarter WHEN 'winter' THEN Amount ELSE 0 END) AS 'Count Winter',

        SUM(CASE Quarter WHEN 'spring' THEN Amount ELSE 0 END) AS 'Count...

  • Viewing 15 posts - 1,621 through 1,635 (of 2,085 total)