SQL Server 2000 Exercise 1: Advanced Query
... Constraint to the DateProcessed column so that the date is within ‘1 970 -01-01’ – ‘2005-01-01’ and try to insert invalid data to see if SQL rejects. d. Apply Unique Constraint to the CustomerName column ... column of Customers 9. Back up database and Restore to somewhere else (on a different server or on the same server but with different database name) (use EP or QA) 10. Truncate and Drop the ProcessedOrders ... QA) 6. Delete a record from ProcessedOrders where the date processed is ‘2002-10-04’. (use QA) 7. Using Union to merge the two data set from Orders and ProcessedOrders into one data set. (use...
Ngày tải lên: 31/08/2012, 16:33
... qltv_sach.matacgia=deleted.matacgia Tải xuống tệp đính kèm gốc Tên đề tài: Xây dựng cơ sở dữ liệu chạy trên máy chủ SQL Sever 2000 cho thư viện sách, báo, tạp chí. Bài làm: Cơ sở dữ liệu được ứng dụng trong rất nhiều ... trị cơ sở dữ liệu khác nhau, mỗi hệ quản trị CSDL có một đặc điểm khác nhau (orale, Ms SQL Sever, My SQL, …), tùi theo từng nhu cầu công việc mà các nhà sử dụng, sử dụng các cơ sở dữ liệu khác ... ‘db_owner’,’qltv_root’ Ta có thể tạo quyền bằng chế độ 1 người dùng, ta có thể dùng quyền Administrator đăng nhập vào windows để đăng nhập vào CSDL, vì người này là người cài ra hệ quản trị CSDL thì người đó sẽ có...
Ngày tải lên: 23/11/2012, 11:34
03 MS SQL SERVER 2000
... lên SQL Server 2000 thì những cải tiến chủ yếu là mở rộng các tính năng về Web và làm cho SQL Server 2000 đáng tin cậy hơn. 1.2 Các thành phần quan trọng trong SQL Server 2000 SQL Server 2000 ... QUAN HỆ QUẢN TRỊ CƠ SỞ DỮ LIỆU SQL SERVER 2000 10 1 Chương 1. TỔNG QUAN HỆ QUẢN TRỊ CƠ SỞ DỮ LIỆU SQL SERVER 2000 1.1 Giới thiệu SQL Server 2000 SQL Server 2000 bao gồm một số đặc trưng ... từ -2^63 (-922,3 37, 203,685, 477 .5808) đến 2^63 - 1 (+922,3 37, 203,685, 477 .58 07 2.5.3.2 Smallmoney Là kiểu dữ liệu tiền tệ có miền giá trị từ -214 ,74 8.3648 đến +214 ,74 8.36 47 2.5.4 Approximate...
Ngày tải lên: 12/01/2013, 15:41
cơ sở dự liệu SQL SERVER 2000
... dương) Double 8 byte -1 ,79 769E308 đến -4,94065E-324(giá trị âm) và 4,94065E-324 đến 1 ,79 769E308(giá trị dương) Currency 8 byte -9223 372 03685 477 ,5808 đến9223 372 03685 477 ,58 07 Boolean True/False Date ... -32 ,76 8 đến 3 276 7 Long 4 byte -2,1 47, 483,648 đến 2,1 47, 483,6 47 Single 4 byte -3,402823E38 đến -1,401298E-45(các giá trị âm) và 1,401298E-45 đến 3,402823E38(các giá trị dương) Double 8 byte -1 ,79 769E308 ... bigint(-2^63 đến 2^63 + 1: Kích cỡ lưu trữ là 8 byte), int( -21 474 83648 đến 21 474 836 47: kích cỡ lưu trữ là 4 byte), smallint( 3 276 8 đến 3 276 7: Kích cỡ lưu trữ là 2 byte) 4.6 Dữ liệu thập phân và phân...
Ngày tải lên: 27/04/2013, 08:34
SQL Server 2000 Administration in 15 Minutes a Week: Administration Fundamentals
... install SQL Server 2000 along side 6.5 or 7. 0 - SQL Server 6.5 and 7. 0 can be upgraded directly to SQL Server 2000 - SQL Server 2000 can be installed as the default instance along side SQL Server ... Files\Microsoft SQL Server\ Mssql\Binn \Program Files\Microsoft SQL Server\ MSSQL$InstanceName\Binn Named Instance \Program Files\Microsoft SQL Server\ Mssql\Data \Program Files\Microsoft SQL Server\ MSSQL$InstanceName\Data * ... of SQL Server 6.0 can’t be upgraded directly to SQL Server 2000 you must first upgrade to SQL Server 6.5 or 7. 0. Once the databases have been upgraded you can then upgrade to SQL Server 2000...
Ngày tải lên: 17/10/2013, 09:15
Retrieve XML from SQL Server 2000
... caption How-To 12.4: Retrieving XML from SQL Server 2000. When the page loads, you will see an example of a T -SQL statement that retrieves data from SQL Server 2000 in an XML format. Click on the ... Function BuildCnnStr(ByVal strServer As String, ByVal strDatabase As String) As String 12.4 Retrieve XML from SQL Server 2000 Sometimes I have to pull data from my SQL Server database into an ... with SQL Server 2000? Technique To accomplish this task, you will create a Command object with the Transact -SQL SELECT statement that you want to execute. However, at the end of your SQL statement,...
Ngày tải lên: 17/10/2013, 21:15
Microsoft SQL Server 2000 Data Transformation Services- P6
... Data Movement and Manipulation Tasks P ART III 274 Both SQL Server 7. 0 and SQL Server 2000 files can be used with the Bulk Insert task in SQL Server 2000. You use the two types of format files interchangeably ... this chapter. In the release version of SQL Server 2000, the bcp utility generates a SQL Server 2000 format file, while the Bulk Insert task generates a SQL Server 7. 0 format file. N OTE F IGURE 11.2 You ... sDestinationObjectName .DestinationSQLStatement = sDestinationSQLStatement .SourceSQLStatement = sSourceSQLStatement DTS Connections and the Data Transformation Tasks P ART II 256 L ISTING 10.4 Continued 13 0 672 320118...
Ngày tải lên: 17/10/2013, 23:15
Microsoft SQL Server 2000 Data Transformation Services- P7
... to the SQLStatement property of the Execute SQL task: Option Explicit Function Main Dim pkg, tsk, cus Dim sql Set pkg = DTSGlobalVariables.Parent Set tsk = pkg.Tasks(“DTSTask_DTSExecuteSQLTask_1”) Set ... the Destination Table 7. 0 6 1 SQLCHAR 0 40 “” 2 stor_name 2 SQLCHAR 0 4 “” 1 stor_id 3 SQLCHAR 0 40 “” 3 stor_address 4 SQLCHAR 0 20 “” 4 city 5 SQLCHAR 0 2 “” 5 state 6 SQLCHAR 0 5 “” 6 zip The ... Dynamically Modifying the SQL Statement 300 ã Using the Execute SQL Task to Execute a DTS Package from a Remote Server 301 ãCreating an Execute SQL Task in Visual Basic 306 16 0 672 320118 CH12 11/13/00...
Ngày tải lên: 20/10/2013, 17:15