Home All Groups Group Topic Archive Search About

Modify Records In Results Window

Author
7 May 2007 2:26 PM
Robert
Hello,

In earlier versions of SQL, I could use Enterprise Manager to modify or
delete records from the pane that was displayed when I right-clicked a table
and chose "Open Table Return All Rows" or "Open Table Query".  With the new
SQL Server Management Studio Express, I cannot find a way to do this.  Was
this feature changed or is the Express edition allowed to do this?

Thank you,

Author
7 May 2007 10:03 PM
Erland Sommarskog
Robert (Rob***@discussions.microsoft.com) writes:
> In earlier versions of SQL, I could use Enterprise Manager to modify or
> delete records from the pane that was displayed when I right-clicked a
> table and chose "Open Table Return All Rows" or "Open Table Query".
> With the new SQL Server Management Studio Express, I cannot find a way
> to do this.  Was this feature changed or is the Express edition allowed
> to do this?

You can definitely modify rows from Open Table. I think you can delete
as well.

However, it's impedient that the rows are identifyable. That is, the
table needs to have a primary key.

In any case, my strong preference is to use INSERT, UPDATE and DELETE
statements to modify data. Scripts can be reused, and they can also be
added as a lot to support cases.


--
Erland Sommarskog, SQL Server MVP, esq***@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

AddThis Social Bookmark Button