Home All Groups Group Topic Archive Search About
Author
27 Sep 2006 8:36 PM
bill_atwork
Question, I just came from an ms sql 2000 enviroment to the new 2005
sql server management studio. In 2000 enterprise manager, if I wanted
to update some data quickly, I could expand the database tree on the
left side of the app... right click on any table and select "Open as
Query" type in my sql statement and then I could freely edit the
returned results. When I try this in 2005, the nearest I can find by
right clicking a table is "Script table as..." and then choose "Select
to". I am not able to edit the results in this manner. I used to use
this process all day long on 2000 enterprise manager and now I am at a
complete loss!

I know just enough about sql server to get my asp apps to run. Can
someone tell me how best to acheive what I need to do in 2005 and
provide a little step by step?

Thanks in advance.

Author
28 Sep 2006 6:51 AM
Dejan Sarka
Bill,

When you right-click on a table, the third option in the pop-up menu is Open
Table. When you open the table, you can edit the data in SSMS.

--
Dejan Sarka, SQL Server MVP
Mentor, www.SolidQualityLearning.com
Anything written in this message represents solely the point of view of the
sender.
This message does not imply endorsement from Solid Quality Learning, and it
does not represent the point of view of Solid Quality Learning or any other
person, company or institution mentioned in this message

Show quote
"bill_atwork" <bill_atwork2***@yahoo.com> wrote in message
news:1159389393.253901.266410@d34g2000cwd.googlegroups.com...
> Question, I just came from an ms sql 2000 enviroment to the new 2005
> sql server management studio. In 2000 enterprise manager, if I wanted
> to update some data quickly, I could expand the database tree on the
> left side of the app... right click on any table and select "Open as
> Query" type in my sql statement and then I could freely edit the
> returned results. When I try this in 2005, the nearest I can find by
> right clicking a table is "Script table as..." and then choose "Select
> to". I am not able to edit the results in this manner. I used to use
> this process all day long on 2000 enterprise manager and now I am at a
> complete loss!
>
> I know just enough about sql server to get my asp apps to run. Can
> someone tell me how best to acheive what I need to do in 2005 and
> provide a little step by step?
>
> Thanks in advance.
>
Author
28 Sep 2006 2:20 PM
bill_atwork
Yes I noticed that, but if I were looking for one specific record in a
table holding millions of records it is so much easier to just pull a
query for example (Select * from mytable where email =
someSpecificEmaillAddr***@email.com) and then update any field needing
to be updated.

Do they (microsoft) actually expect us to hunt through millions of
records?

There must be another way.


Dejan Sarka wrote:
Show quote
> Bill,
>
> When you right-click on a table, the third option in the pop-up menu is Open
> Table. When you open the table, you can edit the data in SSMS.
>
> --
> Dejan Sarka, SQL Server MVP
> Mentor, www.SolidQualityLearning.com
> Anything written in this message represents solely the point of view of the
> sender.
> This message does not imply endorsement from Solid Quality Learning, and it
> does not represent the point of view of Solid Quality Learning or any other
> person, company or institution mentioned in this message
>
> "bill_atwork" <bill_atwork2***@yahoo.com> wrote in message
> news:1159389393.253901.266410@d34g2000cwd.googlegroups.com...
> > Question, I just came from an ms sql 2000 enviroment to the new 2005
> > sql server management studio. In 2000 enterprise manager, if I wanted
> > to update some data quickly, I could expand the database tree on the
> > left side of the app... right click on any table and select "Open as
> > Query" type in my sql statement and then I could freely edit the
> > returned results. When I try this in 2005, the nearest I can find by
> > right clicking a table is "Script table as..." and then choose "Select
> > to". I am not able to edit the results in this manner. I used to use
> > this process all day long on 2000 enterprise manager and now I am at a
> > complete loss!
> >
> > I know just enough about sql server to get my asp apps to run. Can
> > someone tell me how best to acheive what I need to do in 2005 and
> > provide a little step by step?
> >
> > Thanks in advance.
> >
Author
28 Sep 2006 2:44 PM
Robert Klemme
On 28.09.2006 16:20, bill_atwork wrote:
> Yes I noticed that, but if I were looking for one specific record in a
> table holding millions of records it is so much easier to just pull a
> query for example (Select * from mytable where email =
> someSpecificEmaillAddr***@email.com) and then update any field needing
> to be updated.
>
> Do they (microsoft) actually expect us to hunt through millions of
> records?
>
> There must be another way.

Well, if you know what you want to change you can use "script as update"...

    robert
Author
28 Sep 2006 3:29 PM
Rick Byham, MS
Try this:
1) Right-click a table, and then click Open Table. Pick a small table, so
you have a quick response.
2) Right-click the open table (the empty gray box in the upper left corner
is a good spot), point to Pane, and then click SQL.
At this point the query opens and you can add a WHERE clause to restrict the
output. If you picked some small table in step 1, just replace the table
name with the desired table.

You may also wish to click Diagram and Criteria to have a full query
creation surface.
3) Run this modified query by clicking the ! on the toolbar, or press
Ctrl+R. (No I don't know why they picked Ctrl+R??)
Hope this helps.
--
Rick Byham, MS
This posting is provided "AS IS" with no warranties, and confers no rights.

Show quote
"Robert Klemme" <shortcut***@googlemail.com> wrote in message
news:%237Jtpyw4GHA.696@TK2MSFTNGP06.phx.gbl...
> On 28.09.2006 16:20, bill_atwork wrote:
>> Yes I noticed that, but if I were looking for one specific record in a
>> table holding millions of records it is so much easier to just pull a
>> query for example (Select * from mytable where email =
>> someSpecificEmaillAddr***@email.com) and then update any field needing
>> to be updated.
>>
>> Do they (microsoft) actually expect us to hunt through millions of
>> records?
>>
>> There must be another way.
>
> Well, if you know what you want to change you can use "script as
> update"...
>
> robert
Author
29 Sep 2006 2:03 AM
Ed Murphy
Rick Byham, MS wrote:

> 3) Run this modified query by clicking the ! on the toolbar, or press
> Ctrl+R. (No I don't know why they picked Ctrl+R??)

Because of the R in "run", I would assume.
Author
28 Sep 2006 3:31 PM
Arnie Rowland
I guess that the easiest way to explain it is that Enterprise Mangler
included what amounted to some user/client interfaces (e.g., Query Designer)
that have not been exposed in SSMS.

In my opinion, that makes SSMS a better product.

--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc

Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous


Show quote
"bill_atwork" <bill_atwork2***@yahoo.com> wrote in message
news:1159453209.572650.186510@k70g2000cwa.googlegroups.com...
> Yes I noticed that, but if I were looking for one specific record in a
> table holding millions of records it is so much easier to just pull a
> query for example (Select * from mytable where email =
> someSpecificEmaillAddr***@email.com) and then update any field needing
> to be updated.
>
> Do they (microsoft) actually expect us to hunt through millions of
> records?
>
> There must be another way.
>
>
> Dejan Sarka wrote:
>> Bill,
>>
>> When you right-click on a table, the third option in the pop-up menu is
>> Open
>> Table. When you open the table, you can edit the data in SSMS.
>>
>> --
>> Dejan Sarka, SQL Server MVP
>> Mentor, www.SolidQualityLearning.com
>> Anything written in this message represents solely the point of view of
>> the
>> sender.
>> This message does not imply endorsement from Solid Quality Learning, and
>> it
>> does not represent the point of view of Solid Quality Learning or any
>> other
>> person, company or institution mentioned in this message
>>
>> "bill_atwork" <bill_atwork2***@yahoo.com> wrote in message
>> news:1159389393.253901.266410@d34g2000cwd.googlegroups.com...
>> > Question, I just came from an ms sql 2000 enviroment to the new 2005
>> > sql server management studio. In 2000 enterprise manager, if I wanted
>> > to update some data quickly, I could expand the database tree on the
>> > left side of the app... right click on any table and select "Open as
>> > Query" type in my sql statement and then I could freely edit the
>> > returned results. When I try this in 2005, the nearest I can find by
>> > right clicking a table is "Script table as..." and then choose "Select
>> > to". I am not able to edit the results in this manner. I used to use
>> > this process all day long on 2000 enterprise manager and now I am at a
>> > complete loss!
>> >
>> > I know just enough about sql server to get my asp apps to run. Can
>> > someone tell me how best to acheive what I need to do in 2005 and
>> > provide a little step by step?
>> >
>> > Thanks in advance.
>> >
>
Author
28 Sep 2006 4:17 PM
bill_atwork
Yes I had seen that but didn't know how to filter through millions of
records to find that one which needed to be edited. But I did a little
more research and in that "Open table" view what I needed was the Ctrl
+ 1,  Ctrl + 2,  Ctrl + 3. Those panes give me everything I need.

Thanks Dejan


Dejan Sarka wrote:
Show quote
> Bill,
>
> When you right-click on a table, the third option in the pop-up menu is Open
> Table. When you open the table, you can edit the data in SSMS.
>
> --
> Dejan Sarka, SQL Server MVP
> Mentor, www.SolidQualityLearning.com
> Anything written in this message represents solely the point of view of the
> sender.
> This message does not imply endorsement from Solid Quality Learning, and it
> does not represent the point of view of Solid Quality Learning or any other
> person, company or institution mentioned in this message
>
> "bill_atwork" <bill_atwork2***@yahoo.com> wrote in message
> news:1159389393.253901.266410@d34g2000cwd.googlegroups.com...
> > Question, I just came from an ms sql 2000 enviroment to the new 2005
> > sql server management studio. In 2000 enterprise manager, if I wanted
> > to update some data quickly, I could expand the database tree on the
> > left side of the app... right click on any table and select "Open as
> > Query" type in my sql statement and then I could freely edit the
> > returned results. When I try this in 2005, the nearest I can find by
> > right clicking a table is "Script table as..." and then choose "Select
> > to". I am not able to edit the results in this manner. I used to use
> > this process all day long on 2000 enterprise manager and now I am at a
> > complete loss!
> >
> > I know just enough about sql server to get my asp apps to run. Can
> > someone tell me how best to acheive what I need to do in 2005 and
> > provide a little step by step?
> >
> > Thanks in advance.
> >

AddThis Social Bookmark Button