DECLARE
@MyXML XML
DECLARE @strMyXML varchar(2000)
DECLARE
@strMyElement varchar(2000)
SET
@MyXML='<ActorIdentity />'
SET
@strMyXML= 'ActorIdentity'
SET
@strMyElement= '<AA>AA</AA>'
SET
@MyXml.modify('insert @strMyElement into(/*[local-name()=sql:variable("@strMyXML")])[1]')
SELECT
@MyXml
any solution how can I get @strMyElement working
Kindest Regards,
Amit Lohia