Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

select specified fields then the remainder of table

Status
Not open for further replies.

dillpick6

Programmer
Jun 5, 2003
11
US
I was just wondering if there is a way to do something along the lines of:

SELECT field_1 , * FROM table

which would get field1, then the rest of the table, it is even ok if it got field1 twice. I just having it selecting * now, but I want field1 to be the first one seen. Any leads would be great. Thanks to all!
 
There is o short cuts for this. You need to specify the columns explicitly if you want them in a different order as compared to the order in the table definition.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top