Admin Admin
Tổng số bài gửi : 448 Points : 779 Số lần được cảm ơn : 8 Join date : 15/03/2012 Age : 30 Đến từ : Tp HCM
| Tiêu đề: Tài liệu môn học CSDL Sun Sep 23, 2012 6:08 pm | |
|
- [You must be registered and logged in to see this link.]
- [You must be registered and logged in to see this link.]
- [You must be registered and logged in to see this link.]
- [You must be registered and logged in to see this link.]
- [You must be registered and logged in to see this link.]
- [You must be registered and logged in to see this link.] (nếu bạn nào chưa cài SQL Server có thể dùng tạm)
- [You must be registered and logged in to see this link.]
Ngoài ra còn có :
- Những thói quen tốt khi viết câu lệnh T-SQL => [You must be registered and logged in to see this link.]
- Dùng hàm CASE trong SQL Server => [You must be registered and logged in to see this link.]
Mặc định khi gõ Create Database [tên csdl] thì nó sẽ nằm trong thư mục cài SQL Server thông thường là đĩa C:\Program Files/SQL Server\...., cho nên muốn CSDL nằm trên đĩa khác thì gõ lệnh như sau: - Code:
-
CREATE DATABASE [MyDatabase] ON PRIMARY ( NAME =N'MyDatabase',FILENAME=N'E:\MyDatabase.mdf' ) LOG ON ( NAME =N'MyDatabase_log',FILENAME=N'E:\MyDatabase_log.ldf' ) [You must be registered and logged in to see this link.] | |
|