วิธีใช้งาน Microsoft SQL Server 2008 R2 ผ่าน T-SQL
วิธีใช้งาน Microsoft SQL Server 2008 R2 ผ่าน T-SQL

วิธีใช้งาน Microsoft SQL Server 2008 R2 ผ่าน T-SQL
1.กด Windows Key + R > พิมพ์ cmd > Run as administrator
2.พิมพ์ SQLCMD > กด Enter > พิมพ์ 1> :connect SERVERA\SQLEXPRESS -U sa -P password
ใช้ User เป็น sa
ใช้ Password เป็น "เราตั้งเอง"
3.ทดสอบ คำสั่ง SQL
select * from sys.database
go
What's Your Reaction?






