Re: Re:Newbe question
From: Wayne Gore (wayne.gore_at_spray.se)
Date: 04/30/03
- Next message: Ulf: "Openrowset Jet OLEDB"
- Previous message: Vinodk: "Re: connect using named pipes / tcpip"
- In reply to: Vishal Parkar: "Re:Newbe question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 30 Apr 2003 16:17:48 +0200
Perfect.
Just what I was looking for.
Thank you.
"Vishal Parkar" <vgparkar@hotmail.com> wrote in message
news:080901c30f1a$5dbcb380$a101280a@phx.gbl...
> basically you'll have to fire an update query to achieve
> desired result set
>
> eg
> update table set col3=col2
>
> --above update will copy content of the column col2 to col3
> --now to empty column col2 you'll have to fire following
> --update statement
>
> update table set col2=null
>
>
> --Vishal
>
> >-----Original Message-----
> >Hi
> >
> >I have a table with 3 columns.
> >The first column is an ID column with identity on (seed
> 1).
> >The second column contains data that I want to move to
> the third column.
> >The data that is moved should be in the same row as
> before.
> >When the data has been moved then the second column
> should not contain any
> >data at all (but still exist).
> >
> >Any ideas?
> >
> >Regards
> >Rickard
> >
> >
> >.
> >
- Next message: Ulf: "Openrowset Jet OLEDB"
- Previous message: Vinodk: "Re: connect using named pipes / tcpip"
- In reply to: Vishal Parkar: "Re:Newbe question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|