sql - How do I change the default SELECT TOP 1000 query to use * instead of each field? -
in ssms 2008 r2, have default select top 1000 , edit top 200 queries right click menu. i've seen can change # of rows returns in options.
what i'm after is, can tell select * instead of expanding , including every field?
it's not performance issue or anything, annoyance when querying tables more 5 fields, i'd select *.
for example, if have table following fields:
- firstname
- lastname
- birthday
- city
- state
- zip
when right click on persons table , choose "select top 1000 rows" menu, i'd query run
select top 1000 * people and not
select top 1000 firstname, lastname, birthday, city, state, zip people edit suspect there isn't answer this, thought i'd see if figured out.
i don't believe there way of customising native ssms functionality. can use ssms tools pack addin "custom scripts" type of thing.

(though honest selecting columns , typing * might quick navigating menu)

Comments
Post a Comment