<!DOCTYPE html>
<html lang="vi" xmlns="http://www.w3.org/1999/xhtml" prefix="og: http://ogp.me/ns#">
	<head>
<title>SQL Server là gì?</title>
<meta name="description" content="Tài liệu">
<meta name="keywords" content="tài liệu">
<meta name="news_keywords" content="tài liệu">
<meta name="author" content="Lập Trình 247.Com">
<meta name="copyright" content="Lập Trình 247.Com [vanlonghui@gmail.com]">
<meta name="robots" content="index, archive, follow, noodp">
<meta name="googlebot" content="index,archive,follow,noodp">
<meta name="msnbot" content="all,index,follow">
<meta name="generator" content="NukeViet v4.0">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta property="og:title" content="SQL Server là gì?">
<meta property="og:type" content="website">
<meta property="og:description" content="Tài liệu">
<meta property="og:site_name" content="Lập Trình 247.Com">
<meta property="og:url" content="http://laptrinh247.com/vi/tai-lieu/quan-tri-sql/sql-server-la-gi-2247.html">
<link rel="shortcut icon" href="http://laptrinh247.com/uploads/logo.png">
<link rel="canonical" href="http://laptrinh247.com/vi/tai-lieu/quan-tri-sql/sql-server-la-gi-2247.html">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/" title="Tài liệu" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/bai-tap/" title="Tài liệu - Bài tập" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/co-ban/" title="Tài liệu - Cơ bản" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/do-an/" title="Tài liệu - Đồ án" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/do-an-cs/" title="Tài liệu - Đồ án C&#x23;" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/bao-cao/" title="Tài liệu - Báo cáo" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/phuong-phap-hoc-lap-trinh/" title="Tài liệu - Phương pháp học lập trình" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/lap-trinh-pascal/" title="Tài liệu - Lập trình Pascal" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/lap-trinh-c/" title="Tài liệu - Lập trình C" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/lap-trinh-cpp/" title="Tài liệu - Lập trình C++" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/lap-trinh-cs/" title="Tài liệu - Lập trình C&#x23;" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/lap-trinh-xamarin/" title="Tài liệu - Lập trình Xamarin" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/thiet-ke-he-thong-uml/" title="Tài liệu - Thiết kế hệ thống UML" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/quan-tri-sql/" title="Tài liệu - Quản trị SQL Server" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/bai-tap-thuc-hanh/" title="Tài liệu - Bài tập thực hành" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/huong-dan-thuc-hanh/" title="Tài liệu - Hướng dẫn thực hành" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/de-tai-luyen-tap/" title="Tài liệu - Đề tài luyện tập" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/do-an-tieu-luan/" title="Tài liệu - Đồ án, tiểu luận" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/thu-thuat-hay/" title="Tài liệu - Thủ thuật hay" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/phan-mem-lap-trinh/" title="Tài liệu - Phần mềm lập trình" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/phan-mem-hoc-tap/" title="Tài liệu - Phần mềm học tập" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/ung-dung-van-phong/" title="Tài liệu - Ứng dụng văn phòng" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/phan-mem-he-thong/" title="Tài liệu - Phần mềm hệ thống" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/phan-mem-quan-ly/" title="Tài liệu - Phần mềm quản lý" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/tong-hop/" title="Tài liệu - Tổng hợp" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/phan-mem/" title="Tài liệu - Phần mềm" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/loi-link-tai/" title="Tài liệu - Lỗi link tải" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/tashortlink/" title="Tài liệu - TAShortLink" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/photoshop/" title="Tài liệu - Photoshop" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/phan-mem-photoshop/" title="Tài liệu - Phần mềm Photoshop" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/oracle/" title="Tài liệu - Oracle" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/oracle-ly-thuyet/" title="Tài liệu - Oracle - Lý thuyết" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/oracle-thuc-hanh/" title="Tài liệu - Oracle - Thực hành" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/giao-trinh-oracle/" title="Tài liệu - Giáo trình Oracle" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/de-tai/" title="Tài liệu - Đề tài" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/tham-khao/" title="Tài liệu - Tham khảo" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/de-tai-cpp/" title="Tài liệu - Đề tài C++" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/de-tai-do-an-tieu-luan-uml/" title="Tài liệu - Đề tài, đồ án, tiểu luận UML" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/de-tai-do-an-tieu-luan-oracle/" title="Tài liệu - Đề tài, đồ án, tiểu luận Oracle" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/de-tai-do-an-tieu-luan-java/" title="Tài liệu - Đề tài, đồ án, tiểu luận Java" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/de-tai-do-an-tieu-luan-asp-net/" title="Tài liệu - Đề tài, đồ án, tiểu luận ASP.NET" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/de-tai-do-an-tieu-luan-html/" title="Tài liệu - Đề tài, đồ án, tiểu luận HTML" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/de-tai-do-an-tieu-luan-android/" title="Tài liệu - Đề tài, đồ án, tiểu luận Android" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/de-tai-do-an-tieu-luan-php/" title="Tài liệu - Đề tài, đồ án, tiểu luận PHP" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/de-tai-do-an-tieu-luan-access/" title="Tài liệu - Đề tài, đồ án, tiểu luận Access" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/de-tai-do-an-tieu-luan-sqlserver/" title="Tài liệu - Đề tài, đồ án, tiểu luận SQL Server" type="application/rss+xml">
<link rel="alternate" href="http://laptrinh247.com/vi/tai-lieu/rss/do-an-cs-131/" title="Tài liệu - Đồ án C&#x23;" type="application/rss+xml">
<link rel="preload" as="script" href="http://laptrinh247.com/assets/js/jquery/jquery.min.js">
<link rel="preload" as="script" href="http://laptrinh247.com/assets/js/language/vi.js">
<link rel="preload" as="script" href="http://laptrinh247.com/assets/js/global.js">
<link rel="preload" as="script" href="http://laptrinh247.com/themes/default/js/news.js">
<link rel="preload" as="script" href="http://laptrinh247.com/themes/mobile_default/js/main.js">
<link rel="preload" as="script" href="http://laptrinh247.com/themes/mobile_default/js/bootstrap.min.js">
<link rel="StyleSheet" href="http://laptrinh247.com/assets/css/font-awesome.min.css">
<link rel="StyleSheet" href="http://laptrinh247.com/themes/mobile_default/css/bootstrap.min.css">
<link rel="StyleSheet" href="http://laptrinh247.com/themes/mobile_default/css/style.css">
<link rel="StyleSheet" href="http://laptrinh247.com/themes/mobile_default/css/news.css">
<style>
	body{background: #fff;}
</style>
<script data-show="inline">(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-90703272-2', '.laptrinh247.com');
ga('send', 'pageview');
</script>
</head>
	<body>

<div class="container-simple">
<div id="print">
	<div id="hd_print">
		<h2 class="pull-left">Lập Trình 247.Com</h2>
		<p class="pull-right"><a title="Lập Trình 247.Com" href="http://laptrinh247.com/">http://laptrinh247.com</a></p>
	</div>
	<div class="clear"></div>
	<hr />
	<div id="content">
		<h1>SQL Server là gì?</h1>
		<ul class="list-inline">
			<li>Thứ bảy - 24/08/2019 23:07</li>
			<li class="hidden-print txtrequired"><em class="fa fa-print">&nbsp;</em><a title="In ra" href="javascript:;" onclick="window.print()">In ra</a></li>
			<li class="hidden-print txtrequired"><em class="fa fa-power-off">&nbsp;</em><a title="Đóng cửa sổ này" href="javascript:;" onclick="window.close()">Đóng cửa sổ này</a></li>
		</ul>
		<div class="clear"></div>
		<div id="hometext">
			SQL viết tắt của Structured Query Language (ngôn ngữ hỏi có cấu trúc), công cụ sử dụng để tổ chức, quản lý và truy xuất dữ liệu đuợc lưu trữ trong các cơ sở dữ liệu. SQL là một hệ thống ngôn ngữ bao gồm tập các câu lệnh sử dụng để tương tác với cơ sở dữ liệu quan hệ. SQL Server là một hệ thống quản trị cơ sở dữ liệu quan hệ (Relational Database Management System (RDBMS)) sử dụng Transact-SQL để trao đổi dữ liệu giữa Client computer và SQL Server computer.
		</div>
				<div class="imghome">
			<img alt="SQL Server là gì?" src="http://laptrinh247.com/uploads/tai-lieu/2018_10/mssql.png" width="460" class="img-thumbnail" />
		</div>
		<div class="clear"></div>
		<div id="bodytext" class="clearfix">
			<div style="text-align: justify;"><strong>1. SQL là gì?</strong><br  />
<br  />
<strong>SQL </strong>viết tắt của <strong><em>Structured Query Language</em></strong> (ngôn ngữ hỏi có cấu trúc), công cụ sử dụng để tổ chức, quản lý và truy xuất dữ liệu đuợc lưu trữ trong các cơ sở dữ liệu. SQL là một hệ thống ngôn ngữ bao gồm tập các câu lệnh sử dụng để tương tác với cơ sở dữ liệu quan hệ.<br  />
<br  />
Khác với các ngôn ngữ lập trình quen thuộc như C, C++, Java,... SQL là ngôn ngữ có tính khai báo. Với SQL, người dùng chỉ cần mô tả các yêu cầu cần phải thực hiện trên cơ sở dữ liệu mà không cần phải chỉ ra cách thức thực hiện các yêu cầu như thế nào.<br  />
<br  />
<strong>2. SQL Server là gì?</strong><br  />
<br  />
<strong>SQL Server </strong>là một hệ thống quản trị cơ sở dữ liệu quan hệ (<em>Relational Database Management System</em> (<em><strong>RDBMS</strong></em>)) sử dụng Transact-SQL để trao đổi dữ liệu giữa Client computer và SQL Server computer.&nbsp;<br  />
<br  />
Một RDBMS bao gồm databases, database engine và các ứng dụng dùng để quản lý dữ liệu và các bộ phận khác nhau trong RDBMS.<br  />
<br  />
SQL Server được tối ưu để có thể chạy trên môi trường cơ sở dữ liệu rất lớn (Very Large Database Environment) lên đến Tera-Byte và có thể phục vụ cùng lúc cho hàng ngàn user. SQL Server có thể kết hợp &quot;ăn ý&quot; với các server khác như Microsoft InternetInformation Server (IIS), E-Commerce Server, Proxy Server....<br  />
&nbsp;
<div style="text-align:center"><img alt="SQL Server" height="383" src="http://laptrinh247.com/uploads/tai-lieu/2018_10/mssql.png" width="466" /></div>
<br  />
<br  />
<strong>3. SQL Server có các phiên bản sau:</strong><br  />
<br  />
<strong>- Enterprise:</strong> Chứa đầy đủ các đặc trưng của SQL Server và có thể chạy tốt trên hệ thống lên đến 32 CPUs và 64 GB RAM. Thêm vào đó nó có các dịch vụ giúp cho việc phân tích dữ liệu rất hiệu quả (Analysis Services).<br  />
<br  />
<strong>- Standard: </strong>Rất thích hợp cho các công ty vừa và nhỏ vì giá thành rẻ hơn nhiều so với Enterprise Edition, nhưng lại bị giới hạn một số chức năng cao cấp (advanced features) khác, edition này có thể chạy tốt trên hệ thống lên đến 4 CPU và 2 GB RAM.<br  />
<br  />
<strong>- Personal:</strong> được tối ưu hóa để chạy trên PC nên có thể cài đặt trên hầu hết các phiên bản windows kể cả Windows 98.<br  />
<br  />
<strong>- Developer:</strong> Có đầy đủ các tính năng của Enterprise Edition nhưng được chế tạo đặc biệt như giới hạn số lượng người kết nối vào Server cùng một lúc.... Ðây là edition mà các bạn muốn học SQL Server cần có. Chúng ta sẽ dùng edition này trong suốt khóa học. Edition này có thể cài trên Windows 2000 Professional hay Win NT Workstation.<br  />
<br  />
<strong>- Desktop Engine (MSDE): </strong>Ðây chỉ là một engine chạy trên desktop và không có user interface (giao diện). Thích hợp cho việc triển khai ứng dụng ở máy client. Kích thước database bị giới hạn khoảng 2 GB.<br  />
<br  />
<strong>- Win CE:</strong> Dùng cho các ứng dụng chạy trên Windows CE.<br  />
<br  />
<strong>- Trial: </strong>Có các tính năng của Enterprise Edition, download free, nhưng giới hạn thời gian sử dụng.<br  />
<br  />
<strong>4. Lệnh trong SQL</strong><br  />
<br  />
Các lệnh SQL chuẩn để tương tác với Relational Database là CREATE, SELECT, INSERT, UPDATE, DELETE và DROP. Các lệnh này có thể được phân loại thành các nhóm dựa trên bản chất của chúng.<br  />
<br  />
<strong>4.1. DDL (Data Definition Language) – Ngôn ngữ định nghĩa dữ liệu</strong><br  />
<br  />
Lệnh CREATE: Tạo một bảng, một View của bảng, hoặc đối tượng khác trong Database.<br  />
<br  />
Lệnh ALTER: Sửa đổi một đối tượng Database đang tồn tại (ví dụ như một bảng).<br  />
<br  />
Lệnh DROP: Xóa toàn bộ một bảng, một View của bảng hoặc đối tượng khác trong Database.<br  />
<br  />
<strong>4.2. DML (Data Manipulation Language) – Ngôn ngữ thao tác dữ liệu</strong><br  />
<br  />
Lệnh SELECT: Lấy các bản ghi cụ thể từ một hoặc nhiều bảng.<br  />
<br  />
Lệnh INSERT: Tạo một bản ghi.<br  />
<br  />
Lệnh UPDATE: Sửa đổi các bản ghi.<br  />
<br  />
Lệnh DELETE: Xóa các bản ghi.<br  />
<br  />
<strong>4.3. DCL (Data Control Language) – Ngôn ngữ điều khiển dữ liệu.</strong><br  />
<br  />
Lệnh GRANT: Trao một quyền tới người dùng.<br  />
<br  />
Lệnh REVOKE: Thu hồi quyền đã trao cho người dùng.</div>
		</div>
	</div>
	<div id="footer">
		<div id="url">
			<strong>URL của bản tin này: </strong><a href="http://laptrinh247.com/vi/tai-lieu/quan-tri-sql/sql-server-la-gi-2247.html" title="SQL Server là gì?">http://laptrinh247.com/vi/tai-lieu/quan-tri-sql/sql-server-la-gi-2247.html</a>

		</div>
		<div class="clear"></div>
		<div class="copyright">
			&copy; Lập Trình 247.Com
		</div>
		<div id="contact">
			<a href="mailto:vanlonghui@gmail.com">vanlonghui@gmail.com</a>
		</div>
	</div>
</div>

</div>
        <div id="openidResult" class="nv-alert" style="display:none"></div>
        <div id="openidBt" data-result="" data-redirect=""></div>
<script src="http://laptrinh247.com/assets/js/jquery/jquery.min.js"></script>
<script>var nv_base_siteurl="/",nv_lang_data="vi",nv_lang_interface="vi",nv_name_variable="nv",nv_fc_variable="op",nv_lang_variable="language",nv_module_name="tai-lieu",nv_func_name="savefile",nv_is_user=0, nv_my_ofs=7,nv_my_abbr="ICT",nv_cookie_prefix="nv4c_q54GM",nv_check_pass_mstime=1738000,nv_area_admin=0,nv_safemode=0,theme_responsive=0,nv_is_recaptcha=0;</script>
<script src="http://laptrinh247.com/assets/js/language/vi.js"></script>
<script src="http://laptrinh247.com/assets/js/global.js"></script>
<script src="http://laptrinh247.com/themes/default/js/news.js"></script>
<script src="http://laptrinh247.com/themes/mobile_default/js/main.js"></script>
<script type="text/javascript" src="http://laptrinh247.com/themes/mobile_default/js/bootstrap.min.js"></script>
</body>
</html>