• why to do so many homework.........(creating tamp table take value in it then copy)

    you simply select @variablename (As previously I have given )

    and then take it to text editor.........