Skip to main content

Automating Deployment with SQLCMD

  • Chapter
Introducing SQL Server
  • 2705 Accesses

Abstract

So far, we’ve created nine scripts: one to create the database, and eight more containing tables and foreign key relationships. You don’t want to ask your DBAs to load and execute each script individually. This is where the SQLCMD tool comes in—you can create a simple script that will allow users to execute all of your scripts with a simple press of F5.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Mike McQuillan

About this chapter

Cite this chapter

McQuillan, M. (2015). Automating Deployment with SQLCMD. In: Introducing SQL Server. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1419-0_6

Download citation

Publish with us

Policies and ethics