SQL Server 2000 INSERT Help   Independent houses near kukatpally | Apartments in Pragathi Nagar | AndhraVaani.com | Log Out | Topics | Search
Register | Edit Profile

Bewarse TalkArchives - 2007Cine Talk - Reviews, Gossips, Insider Info etc.Archive through May 08, 2007SQL Server 2000 INSERT Help Previous Next

Author Message
Top of pagePrevious messageNext messageBottom of pageLink to this message

Basky_indya
Pilla Bewarse
Username: Basky_indya

Post Number: 230
Registered: 03-2006
Posted From: 70.124.74.195

Rating:N/A
Votes: 0(Vote!)

Posted on Tuesday, May 01, 2007 - 4:26 pm:Edit PostDelete PostView Post/Check IP

NKS .net project ekkada chesthunnav.
nenu kooda asp.net project kosam searching. bengh meeda unna. recntly came from india
R'SEEMA RUSTHUM,NIZAM DADA,ANDHRA GOODA, TOTAL GAA EEEE STATE ROWDY NI
Top of pagePrevious messageNext messageBottom of pageLink to this message

Nks
Pilla Bewarse
Username: Nks

Post Number: 107
Registered: 08-2004
Posted From: 38.101.49.150

Rating:N/A
Votes: 0(Vote!)

Posted on Monday, April 30, 2007 - 2:24 pm:Edit PostDelete PostView Post/Check IP

kaadhu .NET 1st project
Top of pagePrevious messageNext messageBottom of pageLink to this message

Nayakudu
Celebrity Bewarse
Username: Nayakudu

Post Number: 7986
Registered: 05-2005
Posted From: 129.188.69.129

Rating:N/A
Votes: 0(Vote!)

Posted on Monday, April 30, 2007 - 2:21 pm:Edit PostDelete PostView Post/Check IP

Nks neevu QA analyst vaa
Top of pagePrevious messageNext messageBottom of pageLink to this message

Nayakudu
Celebrity Bewarse
Username: Nayakudu

Post Number: 7985
Registered: 05-2005
Posted From: 129.188.69.129

Rating:N/A
Votes: 0(Vote!)

Posted on Monday, April 30, 2007 - 2:20 pm:Edit PostDelete PostView Post/Check IP


Top of pagePrevious messageNext messageBottom of pageLink to this message

Nks
Pilla Bewarse
Username: Nks

Post Number: 106
Registered: 08-2004
Posted From: 38.101.49.150

Rating:N/A
Votes: 0(Vote!)

Posted on Monday, April 30, 2007 - 2:20 pm:Edit PostDelete PostView Post/Check IP

thanks nayakudu mama
Top of pagePrevious messageNext messageBottom of pageLink to this message

Nayakudu
Celebrity Bewarse
Username: Nayakudu

Post Number: 7984
Registered: 05-2005
Posted From: 129.188.69.129

Rating:N/A
Votes: 0(Vote!)

Posted on Monday, April 30, 2007 - 2:18 pm:Edit PostDelete PostView Post/Check IP

update table
set name2 = name

ayipothundi
Top of pagePrevious messageNext messageBottom of pageLink to this message

Nayakudu
Celebrity Bewarse
Username: Nayakudu

Post Number: 7983
Registered: 05-2005
Posted From: 129.188.69.129

Rating:N/A
Votes: 0(Vote!)

Posted on Monday, April 30, 2007 - 2:17 pm:Edit PostDelete PostView Post/Check IP

babu update use cheyyu INSERT ela chesthavu sami... already row vunte danni insert chesthava.. update cheyyu
Top of pagePrevious messageNext messageBottom of pageLink to this message

Nks
Pilla Bewarse
Username: Nks

Post Number: 105
Registered: 08-2004
Posted From: 38.101.49.150

Rating:
Votes: 2(Vote!)

Posted on Monday, April 30, 2007 - 2:10 pm:Edit PostDelete PostView Post/Check IP

hi,
I have table with name column.
Now I added one more column to that table. and want to insert the values in the name column into the new column. How do i do that one?

ex:
Initial table
SNO Name
1 C
2 C++
3 Java
4 VB
5 C#
6 VB.NET
7 PHP


Now I added one more new column say name2 and the values should be exactly same as Name and in the same order like below.

SNO Name Name2
1 C C
2 C++ C++
3 Java Java
4 VB VB
5 C# C#
6 VB.NET VB.NET
7 PHP PHP



I can write 7 SQL statement insert record into Name2 column. But in the actual scenerio I have like 1000+ records so i cant write that many SQL statements to insert the values in the new column. So is there any simple way to do this one?

I tried like

Insert into tablename (name2) values (select name from tablename)

But it didnt work. i guess i need to use cursor for this.

evarikanna thelusthe kastha help cheyandi annalu.
thanks a lot