SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Insert a field
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Joshrinn
Posting Yak Master

118 Posts

Posted - 06/01/2012 :  14:15:26  Show Profile  Reply with Quote
How can I insert one column names date from a different table into my table. The table where the field date is present has 140 columns out of which I just need to insert one column permenantly into my table.

jackv
Flowing Fount of Yak Knowledge

United Kingdom
1765 Posts

Posted - 06/01/2012 :  15:01:57  Show Profile  Visit jackv's Homepage  Reply with Quote
Is there a Key where you can create a JOIN ? and then run an UPDATE statement

Jack Vamvas
--------------------
http://www.sqlserver-dba.com
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
47036 Posts

Posted - 06/01/2012 :  23:42:53  Show Profile  Reply with Quote
quote:
Originally posted by Joshrinn

How can I insert one column names date from a different table into my table. The table where the field date is present has 140 columns out of which I just need to insert one column permenantly into my table.



so do you've other columns also in your table? or is date column only field?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000