Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / DB Engine / SQL Server / March 2008

Tip: Looking for answers? Try searching our database.

How to copy views between servers?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ad - 14 Mar 2008 07:39 GMT
I want to copy some views (not data) from one server to another.
How can I do that?
ad - 14 Mar 2008 07:45 GMT
Sorry! I am using Sqlserver 2005

"ad" <flying@wfes.tcc.edu.tw> ¼¶¼g©ó¶l¥ó·s»D:ePT0y4ZhIHA.3940@TK2MSFTNGP05.phx.gbl...
>I want to copy some views (not data) from one server to another.
> How can I do that?
John Bell - 14 Mar 2008 09:47 GMT
Hi

Probably the easiest way is to script them and run the scripts. If you are
using version control you could just run the scripts you have already
(assuming they are autonomous).

Alternatively you can use SSIS and a "transfer object" task or SMO.

John

> Sorry! I am using Sqlserver 2005
>
> "ad" <flying@wfes.tcc.edu.tw> ¼¶¼g©ó¶l¥ó·s»D:ePT0y4ZhIHA.3940@TK2MSFTNGP05.phx.gbl...
> >I want to copy some views (not data) from one server to another.
> > How can I do that?
ad - 15 Mar 2008 22:07 GMT
What is SSIS?
How can I do that?

"John Bell" <jbellnewsposts@hotmail.com> ¼¶¼g©ó¶l¥ó·s»D:8C605E23-915D-4E44-9626-1E720FA3BE2F@microsoft.com...
> Hi
>
[quoted text clipped - 12 lines]
>> >I want to copy some views (not data) from one server to another.
>> > How can I do that?
John Bell - 16 Mar 2008 08:15 GMT
Hi

SSIS is SQL Server Integration Services, it is only available on the
Standard and Enterprise Editions and you use SQL Server Business Intelligence
Development Studio (BIDS) to write the packages. You have not said which
version of SQL Server you are using! If you are on Express or Workgroup you
would need to script the procedures or use SMO. If you don't have Books
Online it can be downloaded from
http://www.microsoft.com/downloads/details.aspx?FamilyId=BE6A2C5D-00DF-4220-B133
-29C1E0B6585F&displaylang=en

This has sections on SMO (just look it up in the index!)

John

> What is SSIS?
> How can I do that?
[quoted text clipped - 16 lines]
> >> >I want to copy some views (not data) from one server to another.
> >> > How can I do that?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.