SQL Server Database Publishing Wizard RC
Microsoft posted the SQL Server Database Publishing Wizard (DBPW) 1.0 Release Candidate bits on December 19, 2006. The Wizard generates a T-SQL script for the specified database that you can upload to a hosting service provider. DBPW was known on the CodePlex site as the SQL Server Hosting Toolkit during its development. According to the documentation, you can use DBPW with SQL Server 2000 or 2005 in the following modes:
- Generate a single SQL script file which can be used to recreate the contents of a database by manually executing the script on a target server.
- Connect to a web service provided by your hoster and directly publish the contents of a source database into a specified hosted target database.
I downloaded and ran DBPW's installer, which adds a Microsoft SQL Server Database Publishing Wizard Start menu folder and Database Publishing Wizard command. I then gave the graphic version of the Wizard (sqlpubwiz.exe) a test drive with a copy of the Northwind sample database running on an SQL Server 2005 Express SP2 Beta test instance under Windows Vista Ultimate. The following screen captures illustrate the initial test's steps: 1. Specify the source server. Don't use 'localhost' because the Wizard runs on a named pipe connection. 2. Select the source database. 3. Specify the output folder and filename.SQL Server Database Publishing Wizard enables the deployment of SQL Server databases into a hosted environment on either a SQL Server 2000 or 2005 server.
It generates a single SQL script file which can be used to recreate a database (both schema and data) in a shared hosting environment where the only connectivity to a server is through a web-based control panel with a script execution window. If supported by the hosting service provider, the Database Publishing Wizard can also directly upload databases to servers located at the shared hosting provider. Optionally, SQL Server Database Publishing Wizard can integrate directly into Visual Studio 2005 and/or Visual Web Developer 2005 allowing easy publishing of databases from within the development environment.
4. Set the publishing options (the blue blotch is a Vista screen capture glitch.)
5. Confirm your publishing spec.
6. Follow the publishing process, which required less than 15 seconds for a small database on a fast machine.
The result was a nicely-commented and formatted 4,605-line, 2.7-MB Northwind.sql T-SQL script. I tested the script by executing it from a local SQL Server Management Studio Express (SSMSX) instance, which took five seconds to complete. A 207,000-line, 67.7-MB script from my Oakmont sample database took about a minute to generate and 0:03:23 to execute locally.
If you just want to generate a script named Northwind.sql in the local folder with Windows integrated security and the default options, here's the syntax:
sqlpubwiz script –d Northwind
DBPW's installer also adds a Publish to Provider context menu choice to Visual Studio 2005 Server Explorer's SQL Server data connections that opens the Wizard's Select an Output Location dialog, skipping the first two steps.
Full documentation for the DBPW is available from the CodePlex sqlhost wiki.
It's too bad that DBPW doesn't include an option to generate T-SQL for SQLServer Compact Edition (SQLce).
Technorati tags: SQL Server Database Publishing Wizard, SQL Server Hosting Toolkit, SQL Server, SQL Server 2000, SQL Server 2005, SQL Server 2005 Express Edition, SQL Server Express, SSX
1 comments:
qcsglll
车库门
卷帘门
伸缩门
翻译公司
道闸
挡车器
伸缩门
货架
货架
货架
货架
货架
电动伸缩门
车库门
自动车库门
防火卷帘门
阳光房
除湿机
抽湿机
比歘情
电动伸缩门
伸缩门
卷帘门
车库门
道闸
挡车器
岗亭
道闸
伸缩门
自动门
车库门
岗亭
日上
日上防盗门
电动伸缩门
卷帘门
伸缩门
自动车库门
车库门
伸缩门
自动门
电动门
伸缩门
卷帘门
车库门
电动伸缩门
道闸
岗亭
自动车库门
电动伸缩门
岗亭
卷帘门
车库门
伸缩门
电动门
自动门
卷帘门
电动门
自动门
卷帘门
道闸
车库门
伸缩门
岗亭
岗亭
岗亭
岗亭
岗亭
岗亭
车库门
道闸
卷帘门
防火卷帘门
电动伸缩门
道闸
防火卷帘门
自动车库门
车库门
伸缩门
电动伸缩门
挡车器
北京SEO
专业SEO
专业SEO
专业SEO
锅炉安装
Oracle数据库容灾复制
Oracle容灾备份
Oracle备份恢复
北京铁艺
bgwldwzjzzxh!!
妇科
六合彩
热门图库
热门图库精
Post a Comment