1. Trang chủ
  2. » Công Nghệ Thông Tin

Giáo trình SQL bài 2

15 277 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 15
Dung lượng 494,79 KB

Nội dung

Lab 01 a SQL Server 2008 Outlines SQL Server 2008 Install guide Using T-SQL Faculty of Science and Technology Database Fundamentals SQL Server 2005 Microsoft SQL Server 2005 extends the performance, reliability, availability, programmability ease-of-use of SQL Server 2000 includes several new features that make it an excellent database platform for : large-scale online transactional processing (OLTP) data warehousing e-commerce applications Faculty of Science and Technology Database Fundamentals Faculty of Science and Technology Database Fundamentals Prerequires Software NET Framework 3.5 MSXML Faculty of Science and Technology Database Fundamentals Installation Reading: how-to-install-sql-server-2008-a-step-by-stepguide.pdf Faculty of Science and Technology Database Fundamentals Veryfy the installation Click Start Run Cmd Type the following command and press ENTER: NET START MSSQLSERVER ↵ Faculty of Science and Technology Database Fundamentals Enter the following command to connect to MSSQLSERVER using the SQLCMD utility Enter the following Transact-SQL commands to retrieve the server name: SELECT @@SERVERNAME GO Faculty of Science and Technology Database Fundamentals Confirm that the server name is returned, and then enter the following command to exit the SQLCMD utility: Exit Faculty of Science and Technology Database Fundamentals SQL Server Management Studio Start Programs SQL Server 2008 Server Management Studio SQL Enter Password (If exists ) click Connect Faculty of Science and Technology Database Fundamentals 10 SQL Server Management Studio (2) Faculty of Science and Technology Database Fundamentals 11 Using T-SQL File New Or click Query with Current Connection SQL Edit toolbar Faculty of Science and Technology Database Fundamentals 12 SQL Editor Toolbar (1) Connect Opens the Connect to Server dialog box Use this dialog box to establish a connection to a server Disconnect Disconnects the current Query Editor from the server Change Connection Opens the Connect to Server dialog box Use this dialog box to establish a connection to a different server New Query with Current Connection Opens a new Query Editor window and uses the connection information from the current Query Editor window Available Databases Change the connection to a different database on the same server Faculty of Science and Technology Database Fundamentals 13 SQL Editor Toolbar (2) Execute Executes the selected code or, if no code is selected, executes all the code in the Query Editor Debug Enables the Transact-SQL debugger This debugger supports debugging actions such as setting breakpoints, watching variables, and stepping through code Cancel Executing Query Sends a cancellation request to the server Some queries cannot be canceled immediately, but must wait for a suitable cancellation condition When transactions are canceled, delays might occur while transactions are rolled back Parse Check the syntax of the selected code If no code is selected, checks the syntax of the all code in the Query Editor window Faculty of Science and Technology Database Fundamentals 14 [...].. .SQL Server Management Studio (2) Faculty of Science and Technology Database Fundamentals 11 Using T -SQL File New Or click Query with Current Connection SQL Edit toolbar Faculty of Science and Technology Database Fundamentals 12 SQL Editor Toolbar (1) Connect Opens the Connect to Server dialog box Use this dialog box... Change the connection to a different database on the same server Faculty of Science and Technology Database Fundamentals 13 SQL Editor Toolbar (2) Execute Executes the selected code or, if no code is selected, executes all the code in the Query Editor Debug Enables the Transact -SQL debugger This debugger supports debugging actions such as setting breakpoints, watching variables, and stepping through ...Outlines SQL Server 20 08 Install guide Using T -SQL Faculty of Science and Technology Database Fundamentals SQL Server 20 05 Microsoft SQL Server 20 05 extends the performance,... command to exit the SQLCMD utility: Exit Faculty of Science and Technology Database Fundamentals SQL Server Management Studio Start Programs SQL Server 20 08 Server Management Studio SQL Enter Password... START MSSQLSERVER ↵ Faculty of Science and Technology Database Fundamentals Enter the following command to connect to MSSQLSERVER using the SQLCMD utility Enter the following Transact -SQL commands

Ngày đăng: 03/12/2015, 03:50

TÀI LIỆU CÙNG NGƯỜI DÙNG

  • Đang cập nhật ...

TÀI LIỆU LIÊN QUAN