views:

105

answers:

2

I have a database that I am viewing with SQL Server Management Studio 2008.

I right-click on the table and choose edit top 200 rows.

I tab over to my "SerializedXML" varchar(max) field that has 100s of lines of data in it but I am only able to move back and forth in it with my cursor in a tiny one-line textbox.

I remember there being no alternative to this back in SQL Server 2000 Enterprise Manager, but thought it might have changed by now.

Is there any way I can view/edit this field in a mutli-line textbox?

+1  A: 

I don't think it's possible, I looked around for a while and gave up (was storing XML also). Only thing I can suggest is copy-paste between notepad and the cell.

Codesleuth
exactly, I've been copying and pasting like this since 2000. Perhaps this is a "feature" which encourages developers to write applications based on SQL Server so they can edit their data. :-)
Edward Tanguay
+1  A: 

this is already discussed.

http://stackoverflow.com/questions/53026/how-to-easily-edit-sql-xml-column-in-sql-management-studio

As everybody says over there, I will vote to write small tool.

Here is one third party tool

http://www.altova.com/xmlspy/sql-server-xml.html

may be give try to trial version.

Saar