-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: MaheshVemula598
Message 2 in Discussion
Hi<o:p></o:p>
<o:p> </o:p>
As u can not do string manipulations on
xml data type declare a variable of varchar<o:p></o:p>
Once u complete the manipulations assign
that varchar variable to xml data type and then insert in to table<o:p></o:p>
<o:p> </o:p>
<o:p> </o:p>
declare @xml xml<o:p></o:p>
declare @xmlstr varchar(1000)<o:p></o:p>
<o:p> </o:p>
SET @xmlstr =
'<Log1><ChangedColumn>ChangedData</ChangedColumn></Log1>'<o:p></o:p>
SET @xmlstr = @xmlstr +
'<Log1><ChangedColumn>ChangedData</ChangedColumn></Log1>'<o:p></o:p>
SET @xml = @xmlstr<o:p></o:p>
INSERT INTO EmpLog(TableName,data,modifieddatetime)
<o:p></o:p>
VALUES('emp',@xml, getdate())<o:p></o:p>
<o:p> </o:p>
I hope it will work, let me know if
itÂ’s not working<o:p></o:p>
<o:p> </o:p>
<o:p> </o:p>
Thanks<o:p></o:p>
Mahesh Vemula<o:p></o:p>
<o:p> </o:p>
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you
received this message by mistake, please click the "Remove" link below. On the
pre-addressed e-mail message that opens, simply click "Send". Your e-mail
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]