• patel.ritesh.r (9/9/2013)


    Hello,

    Thank you for replying on the post.

    Can you also please help me with the T-SQL script to insert data

    You could use a 'numbers' table to do this (1,2,3,4,5,6,7,8,9,...).

    Join to the numbers table on

    numbers.number <= stagingtable.NumOfRowsToCreate

    And that will give you the required number of rows.

    If you haven't even tried to resolve your issue, please don't expect the hard-working volunteers here to waste their time providing links to answers which you could easily have found yourself.