TAILIEUCHUNG - Microsoft SQL Server 2008 R2 Unleashed- P16

Microsoft SQL Server 2008 R2 Unleashed- P16:SQL Server 2005 provided a number of significant new features and enhancements over what was available in SQL Server 2000. This is not too surprising considering there was a five-year gap between these major SQL Server 2008 is not as much of a quantum leap forward from SQL Server 2005 | 104 CHAPTER 5 SQL Server Command-Line Utilities executable. The location is needed to execute the utility in most cases unless the associated path has been added to the Path environmental variable. TABLE Command-Line Utility Installation Locations Utility Install Location sqlcmd x Program Files Microsoft SQL dta x Program Files Microsoft SQL tablediff x Program Files Microsoft SQL bcp x Program Files Microsoft SQL sqldiag x Program Files Microsoft SQL sqlservr x Program Files Microsoft SQL Server 100 Tools Binn Server 100 Tools Binn Server 100 COM Server 100 Tools Binn Server 100 Tools Binn Server MSSQL Binn NOTE The tablediff utility is installed when SQL Server replication is installed. If you can t find the in the location specified in Table check to see whether the replication was installed. When you are testing many of these utilities it is often easiest to set up a batch file .BAT that contains a command to change the directory to the location shown in Table . After you make this directory change you can enter the command-line utility with the relevant parameters. Finally you should enter a PAUSE command so that you can view the output of the utility in the command prompt window. Following is an example you can use to test the sqlcmd utility which is discussed in more detail later in this chapter CD C Program Files Microsoft SQL Server 100 Tools Binn SQLCMD -S local -E -Q select @@servername pause After you save the commands in a file with a .BAT extension you can simply double-click the file to execute it. This approach is much easier than retyping the commands many times during the testing process. What s New in SQL Server Command-Line Utilities The SQL Server command-line utilities available in SQL Server 2008 are basically the same as those offered with SQL Server 2005. This has some key benefits for those who are familiar with the 2005 utilities. Very little has changed in the syntax and batch files or scripts

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.