... administrator can configure anIP
address.
Step 2: Configure TCP /IP to use a static IPaddress
Right-click My Network Places, and then click Properties. This will display the Network
and Dial-Up Connections ... physical and logical
adapters in the computer.
3. Record the current TCP /IP configuration settings for your local area connection in the
following table:
Current IPAddress Configuration
IP address: ... network with the same IPaddress is detected. Be
careful when manually entering IP configuration settings, especially numeric addresses.
The most frequent cause of TCP /IP connection problems...
... on
the subject
First of all, you must decide wether you want to start here, and go to better things,
or just want to get anip and winuke for the rest of your life(we will kinda stick with ... these newbies ask how do I obtain anip adress. I see it all the time. In Yahoo
chat rooms,(there is usually some lamer named X_hackerMaStEr_X asking how to
get anip for his winuke-but I'm ...
If you want to go on to better things, I suggest that you read up on the working of
tcp /ip, the stacks, ect. But for now we will concentrate on the ppl who want to use
their winuke, land, teardrop,...
... VLANs for better network
management. VLANs include “Accounting”, “Marketing”, “Engineering”, and “Internet” for the users
and “default” used for the native VLAN network management. Inter-VLAN ... Information:
Interface IPAddress VLAN
PortChannel 1.1 10.1.1.1/24 Native 1
PortChannel 1.2 10.1.2.1/24 2
PortChannel 1.10 10.1.10.1/24 10
PortChannel 1.20 10.1.20.1/24 20
PortChannel 1.30 10.1.30.1/24 ... dynamic addressing (DHCP) for VLAN clients. Dynamic addressing will
allow DHCP client enabled devices to automatically acquire anIPaddress from the network
specifically for the VLAN they are connected...
... string to the constructor
SqlConnection mySqlConnection =
Using a SqlConnection Object to Connect to a SQLServer Database
You create a SqlConnection object using the SqlConnection() constructor. ... server= localhost;database=Northwind;uid=sa;
mySqlConnection.ConnectionTimeout = 15
mySqlConnection.Database = Northwind
mySqlConnection.DataSource = localhost
mySqlConnection.PacketSize = 8192
mySqlConnection.ServerVersion ... mySqlConnection.ServerVersion);
Console.WriteLine("mySqlConnection.State = "+
mySqlConnection.State);
Console.WriteLine("mySqlConnection.WorkstationId = "+
mySqlConnection.WorkstationId);...
... event of the mySqlConnection object:
// open mySqlConnection
mySqlConnection.Open();
// create a SqlCommand object
SqlCommand mySqlCommand = mySqlConnection.CreateCommand();
// run ... using the StateChangeHandler() method
mySqlConnection.StateChange +=
new StateChangeEventHandler(StateChangeHandler);
// open mySqlConnection, causing the State to change from Closed ... pool, and this retrieval is very fast.
Getting the State of a Connection Object
mySqlConnection.StateChange +=
new StateChangeEventHandler(StateChangeHandler);
Whenever the StateChange event...
... Postgre SQL
I. Giới thiệu chung về SQL 1
II. Giới thiệu chung SQLServer 2
Phần 2 SQL Server.
I. SQLserver 2000 3
II. Transact SQL 6
III. Cơ sở dữ liệu trên SQLServer 8
IV. Sao lưu và phục hồi ... class :]
33
MS SQLServer vµ Postgre SQL
Phần 2 SQL Server.
I. SQLserver 2000.
1. Khái niệm.
SQL server là một hệ thống quản lý cơ sở dữ liệu ( RDBMS – Relational Database
Management System ... "chết", kết thúc script khi một
lỗi xuất hiện đột ngột. Thuộc tính PrintError là được mặc định hoạt động và hiện văn
41
MS SQLServer vµ Postgre SQL
45
MS SQLServer vµ Postgre SQL
- SQL Profiler:...
...
+ Registry SQL Server:
Đăng ký các nhóm (group) để truy nhập vào Microsoft SQLServer
+ Edittion SQLServer Registration: Cấu hình của Microsoft SQLServer
+ SQLServer Query Analyzer:
... bạn thiết lập các ứng dụng trên SQl Server, Transact SQl là giao
diện quan trọng nhất giữa SQLServer database và ứng dụng, khi đang sử
dụng chơng trình Transact SQL có hai khả năng thuộc tính ... NT Server.
+ NW lind: Cho phép Microsoft SQLServer giao tiếp với mạng NetWare
Server.
+ IPX/SPX/(TCP /IP) /Sockects: Cho phép SQL giao tiếp sử dụng Windows
socket nh phơng pháp IPC qua TCP /IP. ...
... dữ
liệu.
7
Cài đặt SQLServer 2005 Express Edition: Microsoft SQLServer 2005 Express Edition là
phiên bản miễn phí, dễ sử dụng và “nhẹ” của Microsoft SQLServer 2005. Microsoft SQL
Server 2005 Express ... Language (SQL) 20
2.1 SQL là ngôn ngữ của cơ sở dữ liệu quan hệ 20
2.2 Vai trò của SQL 20
2.3 Giới thiệu sơ lược về Transact SQL (T -SQL) 21
2.3.1 Ngôn ngữ định nghĩa dữ liệu ( Data Definition Language ... Express: SQLServer Management Studio
Express cung cấp giao diện để người dùng dễ dàng tương tác với các thành phần của Microsoft
SQL Server 2005 Express Edition. Trước khi cài đặt SQLServer Management...
... N'CB%')
GROUP BY MaDonVi) AS CanBo ON Nam.MaDonVi = CanBo.MaDonVi AND Nu.MaDonVi =
CanBo.MaDonVi AND
Truong.MaDonVi = CanBo.MaDonVi AND Pho.MaDonVi = CanBo.MaDonVi INNER JOIN
(SELECT MaDonVi, ... PERCENT MaCB, COUNT(MaCB) AS SoLanLuanChuyen
FROM dbo.QTCongTac AS QTCongTac_1
GROUP BY MaCB
ORDER BY SoLanLuanChuyen DESC) AS B ON A.SoLanLuanChuyen =
B.SoLanLuanChuyen))
8. Bài 8
SELECT ChuyenDen.TongCBChuyenDen, ...
dbo.DM_LoaiPhieuXuatNhap.TenLoai, dbo.DM_NhanVien.TenNhanVien
FROM dbo.DM_HoaDon INNER JOIN
dbo.DM_LoaiPhieuXuatNhap ON dbo.DM_HoaDon.MaLoai = dbo.DM_LoaiPhieuXuatNhap.MaLoai INNER JOIN
dbo.DM_NhanVien...
... dưới.
Hệ quản trị cơ sở dữ liệu SQL Server
I. Lời nói đầu
Microsoft SQL Servẻ là một hệ quản trị cơ sở dữ liệu quan hệ (Relational database
managemet system – RDBMS), nó cung cấp ... WHERE
Operator Description
= Ngang bằng
<> (!=) Không ngang bằng (khác)
> Lớn hơn
< Bé hơn
>=
Lớn hơn hoặc bằng
<= Bé hơn hoặc bằng
BETWEEN Ở giữa (BETWEEN [value1] AND [value2])
LIKE ... “Tove” và chính xác sống ở Thành phố
(City) “Sandnes” chúng ta sẽ dùng câu lệnh AND
Câu lệnh: SELECT *FROM Persons WHERE FirstName = ‘Tove’ AND City =
‘Sandnes’
Kết quả hiển thị như sau:
Khi chúng...