INSERT INTO DataAttachment (
[UniqueID],
[Cube],
[Entity],
[Parent],
[Cons],
[Scenario],
[Time],
[Account],
[Flow],
[Origin],
[IC],
[UD1],
[UD2],
[UD3],
[UD4],
[UD5],
[UD6],
[UD7],
[UD8],
[Title],
[AttachmentType],
[CreatedUserName],
[CreatedTimestamp],
[LastEditedUserName],
[LastEditedTimestamp],
[Text],
[FileName],
[FileBytes]
)
SELECT
NEWID() AS [UniqueID],
[Cube],
[Entity],
[Parent],
[Cons],
[Scenario],
'2011M2' AS [Time], -- Set Time to whatever period you want
[Account],
[Flow],
[Origin],
[IC],
[UD1],
[UD2],
[UD3],
[UD4],
[UD5],
[UD6],
[UD7],
[UD8],
[Title],
[AttachmentType],
[CreatedUserName],
[CreatedTimestamp],
[LastEditedUserName],
[LastEditedTimestamp],
[Text],
[FileName],
[FileBytes]
FROM
DataAttachment
WHERE
[Time] = '2011M1';