- 浏览: 2162801 次
- 性别:
- 来自: 上海
文章分类
- 全部博客 (1878)
- [网站分类]ASP.NET (141)
- [网站分类]C# (80)
- [随笔分类]NET知识库 (80)
- [随笔分类]摘抄文字[非技术] (3)
- [随笔分类]养生保健 (4)
- [网站分类]读书区 (16)
- [随笔分类]赚钱 (7)
- [网站分类].NET新手区 (233)
- [随笔分类]网站 (75)
- [网站分类]企业信息化其他 (4)
- [网站分类]首页候选区 (34)
- [网站分类]转载区 (12)
- [网站分类]SQL Server (16)
- [网站分类]程序人生 (7)
- [网站分类]WinForm (2)
- [随笔分类]错误集 (12)
- [网站分类]JavaScript (3)
- [随笔分类]小说九鼎记 (69)
- [随笔分类]技术文章 (15)
- [网站分类]求职面试 (3)
- [网站分类]其他技术区 (6)
- [网站分类]非技术区 (10)
- [发布至博客园首页] (5)
- [网站分类]jQuery (6)
- [网站分类].NET精华区 (6)
- [网站分类]Html/Css (10)
- [随笔分类]加速及SEO (10)
- [网站分类]Google开发 (4)
- [随笔分类]旅游备注 (2)
- [网站分类]架构设计 (3)
- [网站分类]Linux (23)
- [随笔分类]重要注册 (3)
- [随笔分类]Linux+PHP (10)
- [网站分类]PHP (11)
- [网站分类]VS2010 (2)
- [网站分类]CLR (1)
- [网站分类]C++ (1)
- [网站分类]ASP.NET MVC (2)
- [网站分类]项目与团队管理 (1)
- [随笔分类]个人总结 (1)
- [随笔分类]问题集 (3)
- [网站分类]代码与软件发布 (1)
- [网站分类]Android开发 (1)
- [网站分类]MySQL (1)
- [网站分类]开源研究 (6)
- ddd (0)
- 好久没写blog了 (0)
- sqlserver (2)
最新评论
-
JamesLiuX:
博主,能组个队么,我是Freelancer新手。
Freelancer.com(原GAF – GetAFreelancer)帐户里的钱如何取出? -
yw10260609:
我认为在混淆前,最好把相关代码备份一下比较好,不然项目完成后, ...
DotFuscator 小记 -
日月葬花魂:
大哥 能 加我个QQ 交流一下嘛 ?51264722 我Q ...
web应用程序和Web网站区别 -
iaimg:
我想问下嵌入delphi写的程序总是出现窗体后面感觉有个主窗体 ...
C#自定义控件:WinForm将其它应用程序窗体嵌入自己内部 -
iaimg:
代码地址下不了啊!
C#自定义控件:WinForm将其它应用程序窗体嵌入自己内部
Publishing a Database Using the Publishing a Database Using the
- 博客分类:
- [网站分类]SQL Server
This tutorial shows you how to publish a database using the Database Publishing Wizard (DPW).
To Publish Your Database Using the DPW
- Launch the Database Publishing Wizard Client. If the welcome screen displays, check the Do not show this starting page again box.
- Click Next.
- On the Select Source Server screen, enter the connection information for your local SQL server.
Note: This is NOT the same information as that used for your hosted server. If you are publishing from an instance of SQL server running on your desktop or local network, you use the Specify server information section. If you are publishing from a remote database, connect via a connection string. For specific connection information, contact the database server owner.
- Once you have entered the connection details, click Next. This step brings up the Select Database screen, displaying a list of all databases available on your local server.
Note: If you do not see the database you want to publish, press Back to return to the Select Source Server page and then return to this page without changing connection details. If this step does not work, contact the server owner for support.
- Select the database you want to publish. If your database contains prohibited objects, such as full text catalogs and assemblies, or you do not want to publish all objects, uncheck the Script all objects in the selected database.
- Press Next.
- If you are not publishing all objects, the Choose Objects Type appears.
- Select the Object types to be published. You will be able to pick specific objects of each type on later screens.
- Click Next. This step brings up the Choose screen for each object type selected (for example, Tables and Views). If you wish to publish all objects of a given type, click Select All.
- Once you have selected all objects to be published, press Next to advance. Repeat this step until you reach the Select an Output Location screen.
If You Are Not Publishing All Objects
- The Select an Output Location screen appears.
- Select the Publish to Shared hosting provider option. Select the appropriate Provider and Target Database from the drop down lists.
- If you have not yet configured a connection or need to make a new connection, press More. The Hosting Providers dialog displays.
If You Have Not Configured a Connection
- Press New. The Provider Configuration dialog displays.
- Enter the following values:
- Name:
- Enter any name to represent the connection to the hosted service. You will enter names for specific databases later.
- Web Service Address:
- Enter the URL for the publishing service. The URL can be found in the database information section of your hosting control panel.
Note: The service requires a secure (HTTPS) connection to protect data. If you attempt to connect using a non-secure connection, the connection will fail and you will be prompted to use a secure connection.
- User name:
- Enter your FTP account user name.
- Password:
- Enter your FTP account password.
Note: Checking “Save Password” causes the application to store your password locally. If this is a public or shared machine, this may not be a secure choice.
- To enter a database, press New. This displays the Database dialog.
- Enter the appropriate configuration values. The configuration values can be found in the database information section of your hosting control panel.
- Server Name:
- Enter the full path to the database server.
- Database Name:
- Enter the name of your hosted database.
Note: The database must be owned by the FTP account entered in the provider configuration. If you have multiple hosting accounts, be sure to use the correct credentials when configuring the Publishing Wizard.
- User Name:
- Enter your database user name. This is the same user name used to access the SQL Web Manager.
- Password:
- Enter your database password. This is the same password used to access your SQL Web Manager.
Note: Checking Save Password causes the application to store your password locally. If this is a public or shared machine, this may not be a secure choice.
- Click OK to complete the database set-up. Repeat this step for each database you want to configure. If you have multiple databases owned by a single hosting account, they can all be entered under a single hosting provider entry.
- When you have completed entering databases, click OK on the Provider Configuration dialog to return to the Hosting Providers list. You can test your connection settings by pressing Test. This feature validates the connection to the web service but does not test connectivity to the database itself.
- Click OK to return to the Select an Output Location dialog. If the appropriate provider and database are not selected, select them in the drop down lists.
- Click Next to advance to the Select Publishing Options screen. Before this page is displayed, the service validates the configuration settings by connecting to the publishing service and the target database. If a connection cannot be established, an error message displays and the application remains on the Select an Output Location screen.
- The Select Publishing Options page is pre-populated with the appropriate default values. In most cases, these do not need to be modified.
- Drop existing objects in script:
- If True, the wizard checks if a published object exists in the database and, if found, drops the existing version before publishing.
Note: Any data contained within dropped objects will be lost.
- If False, the wizard does not drop existing objects before inserting or modifying their structure. If an object of the type and name specified already exists, the wizard proceeds directly to data insertion. If the object does not exist, it will be created.
Note: If the target database contains an object of the same name and type but with a different structure (for example, a table with a different number of columns), a publishing error may occur. Certain conditions may not report an error (for example, the database being published contains a table with fewer columns than the existing table). In such cases, the published database will not exactly match the local database.
- Publish using transaction:
- If True, the database is published as a single transaction. If an error occurs, all changes are rolled back.
- If False, published changes are committed as they are published. If an error occurs, the database may be left in a partially published state.
- Schema qualify:
- If True, objects are fully schema qualified in the script.
- If False, only the object name is used. It is recommended this option be True.
- Script for target database:
- Specifies the version of the target database. This must match the server version or publish will fail. The wizard sets this value to the correct version.
- Types of data to publish:
- This section specifies what type of information to publish.
- Schema only publishes the structure of objects.
- Data only populates tables.
- Schema and data publishes the structure of objects and populates tables.
- Click Next to advance. This step brings up the Review Summary page, which displays the selected options and configuration. This is the last chance to review before publishing begins.
- Click Finish to begin publishing.
The Database Publishing Progress screen tracks the progress of the publish. Based on the options selected, the wizard displays some combination of the following steps:
<script language="JavaScript" src="http://book.book560.com/ads/ads728x15.js" type="text/javascript"></script>
Gathering List of Objects to script: The wizard is communicating with your local SQL Server and determining what objects must be scripted, including any objects you selected and their dependencies. Connecting to web service: The Wizard is connecting to the web service and establishing a publishing session. Scripting objects: The Wizard is performing preliminary scripting of the objects to be published. Processing: The wizard is completing local scripting of an object and transmitting it to the Web service. The Web service is executing the script against your hosted database server. The status message updates based on the specific object being published at a given instance. The amount of time to publish a database varies based on complexity of the database, number of objects, and the amount of data in tables. Most databases complete publishing in under 30 minutes.
It is possible to abort processing at any point by pressing Stop. If an error occurs, a red link to more details is provided in the Message column. If publishing is aborted or an error occurs, you can use Back to move back through the screens and modify settings.
If publishing succeeds, press Close to close the application. Your database is now transferred to the hosting server and ready for use.
发表评论
-
实战手记:让百万级数据瞬间导入SQL Server
2010-06-16 10:50 1546实战手记:让百万级数据瞬间导入SQL Server 想必每 ... -
Sql Server 2005 row_number()分页性能测试
2009-12-27 11:13 1463现在分页方法大多集中在select top/not ... -
sql 大集合
2010-01-13 09:15 786--语 句 ... -
SQL Server
2010-01-13 11:14 954SQL Server ODBC Standard Secu ... -
如何在win2003下安装sql2008[多次安装sql2008失败者必看]
2010-01-19 09:25 11371. 安装win2003,升级全部补丁。2. 这个很重要,然 ... -
SQL Server 2005 Service Broker 初探 [摘抄]
2010-01-22 11:28 960<!----><!--Content typ ... -
Publishing a Database Using the Publishing a Database Using the
2010-03-22 09:17 865This tutorial shows you how to ... -
如何在win2003下安装sql2008[多次安装sql2008失败者必看]
2010-01-19 09:25 19361. 安装win2003,升级全部补丁。2. 这个很重要,然 ... -
SQL Server 2005 Service Broker 初探 [摘抄]
2010-01-22 11:28 663<!----><!--Content typ ... -
sql 大集合
2010-01-13 09:15 751--语 句 ... -
SQL Server
2010-01-13 11:14 1153SQL Server ODBC Standard Secu ... -
如何在win2003下安装sql2008[多次安装sql2008失败者必看]
2010-01-19 09:25 12041. 安装win2003,升级全部补丁。2. 这个很重要,然 ... -
SQL Server 2005 Service Broker 初探 [摘抄]
2010-01-22 11:28 958<!----><!--Content typ ... -
sql 大集合
2010-01-13 09:15 903--语 句 ... -
Sql Server 2005 row_number()分页性能测试
2009-12-27 11:13 1141现在分页方法大多集中在select top/not ...
相关推荐
Chapter 4 - Publishing MySQL Data on the Web Chapter 5 - Relational Database Design Chapter 6 - A Content Management System Chapter 7 - Content Formatting and Submission Chapter 8 - MySQL ...
A project model for the FreeBSD Project Niklas Saers Copyright © 2002-2005 Niklas Saers [ Split HTML / Single HTML ] Table of Contents Foreword 1 Overview 2 Definitions 2.1. Activity 2.2. Process ...
Publishing a Web Site 802 Windows Installer 804 Summary 809 Exercises 810 Part IV: Data Access 812 Chapter 24: File System Data 814 Streams 815 The Classes for Input and Output ...
Chapter 2, Getting Started with Neo4j, introduces the specific Neo4j implementation of a graph database and looks at key concepts and characteristics. Chapter 3, Modeling Data for Neo4j, covers the ...
Build hybrid apps using the Razor Template Engine and create Razor Models that communicate with a SQLite database Use location based features within your app to display the user's current location ...
Armed with the knowledge of Java EE 8, you will go over what it's like to build an end-to-end application, configure database connection for JPA, and build scalable microservices using RESTful APIs ...
Using the Camera via 3rd-Party Apps Working Directly with the Camera Media Routes Supporting External Displays Google Cast and Chromecast The “Ten-Foot UI” Putting the TVs All Together: Decktastic ...
Several technologies will be covered while building the backend, including MongoDB, which is a non-relational database. We will be using Swift 4 throughout the book and will cover new features ...
With GCP, it is easy to perform your business as usual using IaaS, PaaS, and container services backed with strongly supported networking, database offerings, and storage. GCP provides some unique ...
SQLite By Chris Newman Publisher : Sams Publishing Pub Date : November 09, 2004 ISBN : 0-672-32685-X Pages : 336 <br>SQLite is a small, fast, embeddable database. What makes it...
Using this option employers can post job opportunities in the database. These opportunities can be searched by the job seekers. Search Resumes Employers can search available resume database through ...
The book will have discussion on topics such as features of MySQL 8, best practices for using MySQL 8, and NoSQL APIs provided by MySQL 8, and will also have a use case on using MySQL 8 for managing ...
translating your web applications to multiple languages, and using the Elasticsearch search server with Django to create a high performing e-commerce web site. The seventh chapter includes a surprise...