Re: Change Column Position
- From: Muhammad Bilal <MuhammadBilal@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 16 Jun 2009 12:26:01 -0700
Thankxx for the reply.
Data is exported to a text file from client and then imported into the sql
server from text file through a third party application made in vb6. The
columns position in the text file creates problem while importing. So it is
possible to change the columns positions in the table???
Regards,
Muhammad Bilal
"Rick Sawtell" wrote:
.
"Muhammad Bilal" <MuhammadBilal@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7EAA3D3B-AAEA-4920-9310-0CEDAD0DEECE@xxxxxxxxxxxxxxxx
Hi.
How to change the position of the column in a table in SQl Server 2000.
Regards,
Muhammad Bilal
In your SELECT or INSERT or UPDATE statement, simply put the column in the
place that you wish it to be. The column order in the table is most likely
NOT the way SQL Server will store the data internally, so moving a column
around really has no validity.
Rick Sawtell
MCT, MCSD, MCDBA, MCITPro
- Follow-Ups:
- Re: Change Column Position
- From: John Bell
- Re: Change Column Position
- From: Aaron Bertrand [SQL Server MVP]
- Re: Change Column Position
- References:
- Change Column Position
- From: Muhammad Bilal
- Re: Change Column Position
- From: Rick Sawtell
- Change Column Position
- Prev by Date: Re: Change Column Position
- Next by Date: SQL Help
- Previous by thread: Re: Change Column Position
- Next by thread: Re: Change Column Position
- Index(es):
Relevant Pages
|