[Help]Query to Dbo.account/Login

Results 1 to 2 of 2
  1. #1
    Apprentice unnamed123a is offline
    MemberRank
    Jul 2010 Join Date
    18Posts

    [Help]Query to Dbo.account/Login

    I'm in need of a query for those two tables... I wanted to make the Dbo.account column "UserID" the same as the Dbo.Login column "UserID". I wanted the accout to be the same as login. The AID's are following below:

    Could someone please setup this query for me?

    Thanks


  2. #2
    Gunz League owner Hakurah is offline
    MemberRank
    Dec 2006 Join Date
    Rio de JaneiroLocation
    602Posts

    Re: [Help]Query to Dbo.account/Login

    Haven't tested this... Let me know if it works.
    Code:
    USE [GunzDB]
    
    SET ANSI_NULLS ON
    GO
    
    INSERT INTO Login (UserID)
    SELECT DISTINCT UserID FROM Account



Advertisement