Click here to Skip to main content
11,648,094 members (61,421 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: SQL-server-2005
i am making a table in local database of sql 2005. i want to update my server database to add this table to it what i do?
Posted 29-Apr-13 22:20pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

try this

SELECT *
INTO NewTable
FROM TheFirstDB.Schemaname.OldTable


go through the liks in solution 1 of your Question
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

Hi,

You will use Linked Server Concept or SSIS packages.
I will give you the link for Creating Linked Server.
How to create Link Server with MS SQL 2005/2008[^]
SQL Server - Linked Servers[^]

Once you Create the Linked Server, then use Query as follows.
SELECT * INTO <linked_server_name>.<database_name>.<schema_name>.<table_name> FROM <local_table_name></local_table_name></table_name></schema_name></database_name></linked_server_name>

-- For SSIS Packages Pls Check in Googel Smile | :) Smile | :) Smile | :)
Regards,
GVPrabu
  Permalink  
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 jyo.net 500
1 F-ES Sitecore 370
2 DamithSL 300
3 OriginalGriff 277
4 CPallini 250
0 OriginalGriff 1,342
1 jyo.net 994
2 DamithSL 981
3 Sergey Alexandrovich Kryukov 893
4 CPallini 845


Advertise | Privacy | Mobile
Web02 | 2.8.150804.4 | Last Updated 30 Apr 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100