how live temp table in sql server for send records step by step ?

  • i want send one record in each step and insert to temp table

    then complete all record move to temp table insert from temp table to master table

    help me?

    parden me

  • Vague question. Language issue I suppose.

    I'm sorry, I guess all you can get is a vague answer:

    CREATE TABLE #tempTable (

    id int NOT NULL identity(1,1),

    num int NOT NULL

    )

    INSERT INTO #tempTable (num) VALUES(1)

    --do something else

    INSERT INTO #tempTable (num) VALUES(2)

    --do something else

    INSERT INTO #tempTable (num) VALUES(3)

    INSERT INTO masterTable

    SELECT *

    FROM #tempTable

    Does this help?

    Can you describe your problem in more detail?

    -- Gianluca Sartori

  • thank you

    i must send 500 record to server then

    insert into master table

    i do not insert my records directly to master table

    first insert to string gride in my application then must move to server then inserted

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply