คู่มือสร้างการเชื่อมต่อ (Connection) ไปยัง SQL Server โดยใช้ SSMS
1. เปิด SSMS
ค้นหา "Microsoft SQL Server Management Studio" ใน Start Menu หรือ Win+S
2. การเชื่อมต่อครั้งแรก (Windows Authentication)
Server name: . (local) → Authentication: Windows Authentication → Connect
3. สร้างการเชื่อมต่อใหม่ (SQL Server Authentication)
- Connect → Database Engine
- Server name: เลือก SQL Server Authentication
- กรอก Login (sa หรือ user ที่สร้างตอนติดตั้ง) และ Password
- ติ๊ก Remember password (ถ้าต้องการ) → Connect
4. องค์ประกอบของ Connection
หลังเชื่อมต่อจะเห็น: Databases, Security, Server Objects, Replication, Management, SQL Server Agent
5. ตรวจสอบเวอร์ชัน
New Query → รัน SELECT @@VERSION → Execute → ดูผลในแท็บ Results