Forum Replies Created

Viewing 15 posts - 31 through 45 (of 85 total)

  • RE: update still difficult??

    Yes it did... Thanks Again Lynn 🙂

  • RE: update still difficult??

    Lynn 🙂

    Haha I confused you with my bad english....or may i did not understand this statement

    set identity_insert dbo.FamGroup_Lookup off;

    go

    But when I used your query on my database,...

  • RE: update still difficult??

    Thanks to every one who has been trying to help me...

    Lynn, I have to update the column with the primary key not with the identity key...

    here is the solution...I just...

  • RE: update still difficult??

    well on a sample table yes it works... On my actual production table it wont the errors that i have been showing you are from my production table

  • RE: update still difficult??

    UPDATE employees

    SET ID= EXTENDEDID

    WHERE ID<> EXTENDEDID

    Same Error

    Msg 512, Level 16, State 1, Procedure trig_AfterFamGroupInsert, Line 10

    Subquery returned more than 1 value. This is not permitted when...

  • RE: update still difficult??

    Infact the same error for all of them like i mentioned before...

    This is the statement

    update employees set ID = EXTENDEDID

    I get

    Msg 512, Level 16, State 1, Procedure trig_AfterFamGroupInsert, Line 10

    Subquery...

  • RE: update still difficult??

    @ above all

    Well, its just an example... My work place might have had really bad designers when they started designing the database... That Primary key column(ID) is not used in...

  • RE: need assistance with query

    use select statement followed by order by columnname DESC

  • RE: 70-461

    I am planning to take this exam too.. Katie and Emil's website is giving me pretty good approach.. Thanks

  • RE: looping through databases

    Donno How I missed this simple detail... Thanks a ton.. u saved my day

  • RE: looping through databases

    Thanks for the reply

    my requirement is using a while loop because there are some 300 lines of code is involved after selecting each dbname in the while loop..

    I wonder if...

  • RE: Question on Replication..

    Eugene Elutin (3/4/2013)


    ...But in order to do replication the subscriber should be able to connect to the publisher??? I am confused. Can I set up replication between two disconnected servers.???

    I...

  • RE: dynamic sql- insert (error)

    This is my Answer....

    Lynn Pettis (2/26/2013)


    Also, if you are attempting to populate columns of existing rows of data, INSERT is not what you want, you want UPDATE.

    Looking at your dynamic...

  • RE: dynamic sql- insert (error)

    I want to delete this post...It a mistake..Donno how to do it... SO writing somehting

  • RE: dynamic sql- insert (error)

    SOurce table

    CREATE TABLE [dbo].[PSBackupStatistics](

    [POLID] [int] NOT NULL,

    [DateModified] [smalldatetime] NULL,

    [FileSizeinKB] [bigint] NULL,

    [Location] [nvarchar](255) NULL,

    [Parish] [nvarchar](255) NULL,

    [Diocese] [nvarchar](255) NULL

    ) ON [PRIMARY]

    GO

    Destination Table

    CREATE TABLE [dbo].[Organization](

    [OrganizationID] [int] NOT NULL,

    [DioceseID] [int] NULL,

    [ParishID] [int] NOT NULL,

    [Diocese]...

Viewing 15 posts - 31 through 45 (of 85 total)