{"id":3677,"date":"2012-04-17T10:19:29","date_gmt":"2012-04-17T03:19:29","guid":{"rendered":"http:\/\/www.arit.rmutp.ac.th\/kms\/?p=3677"},"modified":"2013-09-20T15:33:33","modified_gmt":"2013-09-20T08:33:33","slug":"sql-server-2008-%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b9%80%e0%b8%9e%e0%b8%b4%e0%b9%88%e0%b8%a1%e0%b8%82%e0%b9%89%e0%b8%ad%e0%b8%a1%e0%b8%b9%e0%b8%a5%e0%b8%a5%e0%b8%87%e0%b9%83%e0%b8%99%e0%b8%95%e0%b8%b2","status":"publish","type":"post","link":"https:\/\/arit.rmutp.ac.th\/kms\/sql-server-2008-%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b9%80%e0%b8%9e%e0%b8%b4%e0%b9%88%e0%b8%a1%e0%b8%82%e0%b9%89%e0%b8%ad%e0%b8%a1%e0%b8%b9%e0%b8%a5%e0%b8%a5%e0%b8%87%e0%b9%83%e0%b8%99%e0%b8%95%e0%b8%b2\/","title":{"rendered":"SQL Server 2008 : \u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07 INSERT INTO"},"content":{"rendered":"<p style=\"text-align: center\"><!--more--><\/p>\n<p style=\"text-align: center\"><a href=\"http:\/\/www.arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-1-01.jpg\"><img fetchpriority=\"high\" decoding=\"async\" alt=\"\" src=\"http:\/\/www.arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-1-01.jpg\" width=\"528\" height=\"192\" \/><\/a><\/p>\n<p style=\"text-align: left\">\n<p style=\"text-align: left\">\n<p><strong>INSERT INTO<\/strong> \u0e40\u0e1b\u0e47\u0e19\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e43\u0e2a\u0e48\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e25\u0e07\u0e43\u0e19\u0e15\u0e32\u0e23\u0e32\u0e07 \u0e21\u0e35\u0e23\u0e39\u0e1b\u0e41\u0e1a\u0e1a\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e14\u0e31\u0e07\u0e19\u0e35\u0e49<\/p>\n<blockquote>\n<p style=\"text-align: left;padding-left: 30px\"><strong>INSERT INTO <span style=\"color: #ff0000\">\u0e0a\u0e37\u0e48\u0e2d\u0e15\u0e32\u0e23\u0e32\u0e07<\/span><\/strong><\/p>\n<p style=\"text-align: left;padding-left: 30px\"><strong>(<span style=\"color: #ff0000\">\u0e0a\u0e37\u0e48\u0e2d\u0e04\u0e2d\u0e25\u0e31\u0e21\u0e19\u0e4c 1,\u0e0a\u0e37\u0e48\u0e2d\u0e04\u0e2d\u0e25\u0e31\u0e21\u0e19\u0e4c 2,\u0e0a\u0e37\u0e48\u0e2d\u0e04\u0e2d\u0e25\u0e31\u0e21\u0e19\u0e4c 3&#8230;<\/span>)<\/strong><\/p>\n<p style=\"text-align: left;padding-left: 30px\"><strong>VALUES (<span style=\"color: #ff0000\">Value1,Value2,Value3&#8230;<\/span>)<\/strong><\/p>\n<\/blockquote>\n<p style=\"text-align: left\">\n<p style=\"text-align: left\"><strong>\u0e27\u0e34\u0e18\u0e35\u0e43\u0e2a\u0e48\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e25\u0e07\u0e43\u0e19\u0e15\u0e32\u0e23\u0e32\u0e07 (INSERT)<\/strong><\/p>\n<p style=\"text-align: left\">1. \u0e04\u0e25\u0e34\u0e01\u0e17\u0e35\u0e48\u0e1b\u0e38\u0e48\u0e21 New Query \u0e14\u0e49\u0e32\u0e19\u0e1a\u0e19 \u0e08\u0e30\u0e44\u0e14\u0e49\u0e2b\u0e19\u0e49\u0e32\u0e15\u0e48\u0e32\u0e07 SQLQuery \u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07 INSERT INTO \u0e25\u0e07\u0e44\u0e1b \u0e43\u0e19\u0e23\u0e30\u0e2b\u0e27\u0e48\u0e32\u0e07\u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e40\u0e23\u0e32\u0e2d\u0e32\u0e08\u0e44\u0e21\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e17\u0e31\u0e49\u0e07\u0e04\u0e33 \u0e40\u0e1e\u0e23\u0e32\u0e30 SQL Server \u0e08\u0e30\u0e04\u0e32\u0e14\u0e40\u0e14\u0e32\u0e27\u0e48\u0e32\u0e40\u0e23\u0e32\u0e08\u0e30\u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e2d\u0e30\u0e44\u0e23 \u0e41\u0e25\u0e30\u0e02\u0e36\u0e49\u0e19\u0e15\u0e31\u0e27\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e21\u0e32\u0e43\u0e2b\u0e49 \u0e17\u0e33\u0e43\u0e2b\u0e49\u0e2a\u0e30\u0e14\u0e27\u0e01\u0e21\u0e32\u0e01\u0e02\u0e36\u0e49\u0e19<\/p>\n<p style=\"text-align: center\"><a href=\"http:\/\/www.arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-3-INSERT-INTO-01.jpg\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-3704\" alt=\"\" src=\"http:\/\/www.arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-3-INSERT-INTO-01.jpg\" width=\"607\" height=\"345\" srcset=\"https:\/\/arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-3-INSERT-INTO-01.jpg 843w, https:\/\/arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-3-INSERT-INTO-01-300x170.jpg 300w, https:\/\/arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-3-INSERT-INTO-01-195x110.jpg 195w\" sizes=\"(max-width: 607px) 100vw, 607px\" \/><\/a>3. \u0e16\u0e49\u0e32\u0e25\u0e37\u0e21\u0e27\u0e48\u0e32\u0e43\u0e19\u0e15\u0e32\u0e23\u0e32\u0e07 \u0e21\u0e35\u0e04\u0e2d\u0e25\u0e31\u0e21\u0e19\u0e4c\u0e2d\u0e30\u0e44\u0e23\u0e1a\u0e49\u0e32\u0e07 \u0e01\u0e47\u0e43\u0e2b\u0e49\u0e04\u0e25\u0e34\u0e01\u0e02\u0e27\u0e32\u0e17\u0e35\u0e48\u0e15\u0e32\u0e23\u0e32\u0e07\u0e41\u0e25\u0e49\u0e27\u0e40\u0e25\u0e37\u0e2d\u0e01 Design \u0e08\u0e30\u0e41\u0e2a\u0e14\u0e07\u0e23\u0e32\u0e22\u0e25\u0e30\u0e40\u0e2d\u0e35\u0e22\u0e14\u0e02\u0e2d\u0e07\u0e15\u0e32\u0e23\u0e32\u0e07<\/p>\n<p style=\"text-align: center\"><a href=\"http:\/\/www.arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-3-INSERT-INTO-02.jpg\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-3705\" alt=\"\" src=\"http:\/\/www.arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-3-INSERT-INTO-02.jpg\" width=\"607\" height=\"345\" srcset=\"https:\/\/arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-3-INSERT-INTO-02.jpg 843w, https:\/\/arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-3-INSERT-INTO-02-300x170.jpg 300w, https:\/\/arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-3-INSERT-INTO-02-195x110.jpg 195w\" sizes=\"(max-width: 607px) 100vw, 607px\" \/><\/a>4. \u0e25\u0e32\u0e01\u0e40\u0e21\u0e32\u0e2a\u0e4c\u0e04\u0e25\u0e38\u0e21\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e17\u0e31\u0e49\u0e07\u0e2b\u0e21\u0e14 \u0e41\u0e25\u0e49\u0e27\u0e04\u0e25\u0e34\u0e01\u0e1b\u0e38\u0e48\u0e21 Execute \u0e14\u0e49\u0e32\u0e19\u0e1a\u0e19 \u0e40\u0e21\u0e37\u0e48\u0e2d SQL Server \u0e17\u0e33\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e40\u0e2a\u0e23\u0e47\u0e08\u0e41\u0e25\u0e49\u0e27 \u0e08\u0e30\u0e21\u0e35 Messages \u0e1a\u0e2d\u0e01\u0e17\u0e35\u0e48\u0e14\u0e49\u0e32\u0e19\u0e25\u0e48\u0e32\u0e07 \u0e16\u0e49\u0e32\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e43\u0e2a\u0e48\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e2d\u0e35\u0e01 \u0e01\u0e47\u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e40\u0e14\u0e34\u0e21\u0e2d\u0e35\u0e01\u0e04\u0e23\u0e31\u0e49\u0e07 \u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19\u0e40\u0e1e\u0e35\u0e22\u0e07\u0e04\u0e48\u0e32 VALUES<\/p>\n<p style=\"text-align: center\"><a href=\"http:\/\/www.arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-3-INSERT-INTO-03.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3706\" alt=\"\" src=\"http:\/\/www.arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-3-INSERT-INTO-03.jpg\" width=\"607\" height=\"346\" srcset=\"https:\/\/arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-3-INSERT-INTO-03.jpg 843w, https:\/\/arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-3-INSERT-INTO-03-300x170.jpg 300w, https:\/\/arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-3-INSERT-INTO-03-195x110.jpg 195w\" sizes=\"(max-width: 607px) 100vw, 607px\" \/><\/a>5. \u0e16\u0e49\u0e32\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e14\u0e39\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e17\u0e35\u0e48\u0e40\u0e23\u0e32\u0e43\u0e2a\u0e48\u0e40\u0e02\u0e49\u0e32\u0e44\u0e1b \u0e43\u0e2b\u0e49\u0e04\u0e25\u0e34\u0e01\u0e02\u0e27\u0e32\u0e17\u0e35\u0e48\u0e15\u0e32\u0e23\u0e32\u0e07 \u0e41\u0e25\u0e49\u0e27\u0e40\u0e25\u0e37\u0e2d\u0e01 Select Top 1000 Rows\u00a0 \u0e40\u0e1b\u0e47\u0e19\u0e2d\u0e31\u0e19\u0e08\u0e1a\u0e02\u0e31\u0e49\u0e19\u0e15\u0e2d\u0e19\u0e01\u0e32\u0e23\u0e43\u0e2a\u0e48\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25<\/p>\n<p style=\"text-align: center\"><a href=\"http:\/\/www.arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-3-INSERT-INTO-05.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3708\" alt=\"\" src=\"http:\/\/www.arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-3-INSERT-INTO-05.jpg\" width=\"607\" height=\"344\" srcset=\"https:\/\/arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-3-INSERT-INTO-05.jpg 842w, https:\/\/arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-3-INSERT-INTO-05-300x170.jpg 300w, https:\/\/arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-3-INSERT-INTO-05-195x110.jpg 195w\" sizes=\"(max-width: 607px) 100vw, 607px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":3582,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[3],"tags":[],"class_list":["post-3677","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-3"],"rttpg_featured_image_url":{"full":["https:\/\/arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-1-01.jpg",660,240,false],"landscape":["https:\/\/arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-1-01.jpg",660,240,false],"portraits":["https:\/\/arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-1-01.jpg",660,240,false],"thumbnail":["https:\/\/arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-1-01-150x150.jpg",150,150,true],"medium":["https:\/\/arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-1-01-300x109.jpg",300,109,true],"large":["https:\/\/arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-1-01.jpg",660,240,false],"folio":["https:\/\/arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-1-01.jpg",600,218,false],"1536x1536":["https:\/\/arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-1-01.jpg",660,240,false],"2048x2048":["https:\/\/arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-1-01.jpg",660,240,false],"sow-carousel-default":["https:\/\/arit.rmutp.ac.th\/kms\/wp-content\/uploads\/2012\/04\/SQL-Server-2008-1-01.jpg",272,99,false]},"rttpg_author":{"display_name":"admin","author_link":"https:\/\/arit.rmutp.ac.th\/kms\/author\/admin\/"},"rttpg_comment":0,"rttpg_category":"<a href=\"https:\/\/arit.rmutp.ac.th\/kms\/category\/%e0%b8%84%e0%b8%a5%e0%b8%b1%e0%b8%87%e0%b8%84%e0%b8%a7%e0%b8%b2%e0%b8%a1%e0%b8%a3%e0%b8%b9%e0%b9%89-%e0%b8%a3%e0%b8%b0%e0%b8%9a%e0%b8%9a%e0%b8%aa%e0%b8%b2%e0%b8%a3%e0%b8%aa\/\" rel=\"category tag\">\u0e04\u0e25\u0e31\u0e07\u0e04\u0e27\u0e32\u0e21\u0e23\u0e39\u0e49 \u0e23\u0e30\u0e1a\u0e1a\u0e2a\u0e32\u0e23\u0e2a\u0e19\u0e40\u0e17\u0e28<\/a>","rttpg_excerpt":null,"_links":{"self":[{"href":"https:\/\/arit.rmutp.ac.th\/kms\/wp-json\/wp\/v2\/posts\/3677","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arit.rmutp.ac.th\/kms\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/arit.rmutp.ac.th\/kms\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/arit.rmutp.ac.th\/kms\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/arit.rmutp.ac.th\/kms\/wp-json\/wp\/v2\/comments?post=3677"}],"version-history":[{"count":25,"href":"https:\/\/arit.rmutp.ac.th\/kms\/wp-json\/wp\/v2\/posts\/3677\/revisions"}],"predecessor-version":[{"id":5678,"href":"https:\/\/arit.rmutp.ac.th\/kms\/wp-json\/wp\/v2\/posts\/3677\/revisions\/5678"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/arit.rmutp.ac.th\/kms\/wp-json\/wp\/v2\/media\/3582"}],"wp:attachment":[{"href":"https:\/\/arit.rmutp.ac.th\/kms\/wp-json\/wp\/v2\/media?parent=3677"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arit.rmutp.ac.th\/kms\/wp-json\/wp\/v2\/categories?post=3677"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arit.rmutp.ac.th\/kms\/wp-json\/wp\/v2\/tags?post=3677"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}