{"id":2113,"date":"2022-02-16T20:41:28","date_gmt":"2022-02-16T12:41:28","guid":{"rendered":"https:\/\/www.citerp.com.tw\/citwordpress\/?p=2113"},"modified":"2022-12-28T17:35:11","modified_gmt":"2022-12-28T09:35:11","slug":"mssql00005","status":"publish","type":"post","link":"https:\/\/www.citerp.com.tw\/citwordpress\/mssql00005\/","title":{"rendered":"[MS-SQL] \u65e5\u671f\u8655\u7406-\u570b\u66c6\u8f49\u8fb2\u66c6"},"content":{"rendered":"\n<p>\u50b3\u5165\u570b\u66c6\u65e5\u671f\uff0c\u8f49\u51fa\u8fb2\u66c6\u7684\u5b57\u4e32<\/p>\n\n\n\n<p>\u4ee5\u4e0bSQL\u8a9e\u6cd5\u90fd\u5be6\u969b\u5728SQL Server\u4e0a\u904b\u4f5c\u904e\uff0c\u78ba\u8a8d\u7121\u8aa4\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528!<\/p>\n\n\n\n<p>\u7b2c\u4e00\u6b65 \u5efa\u7acb\u57fa\u790e\u5c0d\u7167\u8868<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>--\u5efa\u7acb\u57fa\u790e\u5c0d\u7167\u8868\nif object_id('KK_SolarData') is not null\n    drop table KK_SolarData\ngo\ncreate table KK_SolarData \n( \n  yearid int not null, \n  data char(7) not null, \n  dataint int not null \n)  \n--\u63d2\u5165\u8cc7\u6599 \ninsert into  \nKK_SolarData select 1900,'0x04bd8',19416 union all select 1901,'0x04ae0',19168 \nunion all select 1902,'0x0a570',42352 union all select 1903,'0x054d5',21717 \nunion all select 1904,'0x0d260',53856 union all select 1905,'0x0d950',55632 \nunion all select 1906,'0x16554',91476 union all select 1907,'0x056a0',22176 \nunion all select 1908,'0x09ad0',39632 union all select 1909,'0x055d2',21970 \nunion all select 1910,'0x04ae0',19168 union all select 1911,'0x0a5b6',42422 \nunion all select 1912,'0x0a4d0',42192 union all select 1913,'0x0d250',53840 \nunion all select 1914,'0x1d255',119381 union all select 1915,'0x0b540',46400 \nunion all select 1916,'0x0d6a0',54944 union all select 1917,'0x0ada2',44450 \nunion all select 1918,'0x095b0',38320 union all select 1919,'0x14977',84343 \nunion all select 1920,'0x04970',18800 union all select 1921,'0x0a4b0',42160 \nunion all select 1922,'0x0b4b5',46261 union all select 1923,'0x06a50',27216 \nunion all select 1924,'0x06d40',27968 union all select 1925,'0x1ab54',109396 \nunion all select 1926,'0x02b60',11104 union all select 1927,'0x09570',38256 \nunion all select 1928,'0x052f2',21234 union all select 1929,'0x04970',18800 \nunion all select 1930,'0x06566',25958 union all select 1931,'0x0d4a0',54432 \nunion all select 1932,'0x0ea50',59984 union all select 1933,'0x06e95',28309 \nunion all select 1934,'0x05ad0',23248 union all select 1935,'0x02b60',11104 \nunion all select 1936,'0x186e3',100067 union all select 1937,'0x092e0',37600 \nunion all select 1938,'0x1c8d7',116951 union all select 1939,'0x0c950',51536 \nunion all select 1940,'0x0d4a0',54432 union all select 1941,'0x1d8a6',120998 \nunion all select 1942,'0x0b550',46416 union all select 1943,'0x056a0',22176 \nunion all select 1944,'0x1a5b4',107956 union all select 1945,'0x025d0',9680 \nunion all select 1946,'0x092d0',37584 union all select 1947,'0x0d2b2',53938 \nunion all select 1948,'0x0a950',43344 union all select 1949,'0x0b557',46423 \nunion all select 1950,'0x06ca0',27808 union all select 1951,'0x0b550',46416 \nunion all select 1952,'0x15355',86869 union all select 1953,'0x04da0',19872 \nunion all select 1954,'0x0a5d0',42448 union all select 1955,'0x14573',83315 \nunion all select 1956,'0x052d0',21200 union all select 1957,'0x0a9a8',43432 \nunion all select 1958,'0x0e950',59728 union all select 1959,'0x06aa0',27296 \nunion all select 1960,'0x0aea6',44710 union all select 1961,'0x0ab50',43856 \nunion all select 1962,'0x04b60',19296 union all select 1963,'0x0aae4',43748 \nunion all select 1964,'0x0a570',42352 union all select 1965,'0x05260',21088 \nunion all select 1966,'0x0f263',62051 union all select 1967,'0x0d950',55632 \nunion all select 1968,'0x05b57',23383 union all select 1969,'0x056a0',22176 \nunion all select 1970,'0x096d0',38608 union all select 1971,'0x04dd5',19925 \nunion all select 1972,'0x04ad0',19152 union all select 1973,'0x0a4d0',42192 \nunion all select 1974,'0x0d4d4',54484 union all select 1975,'0x0d250',53840 \nunion all select 1976,'0x0d558',54616 union all select 1977,'0x0b540',46400 \nunion all select 1978,'0x0b5a0',46496 union all select 1979,'0x195a6',103846 \nunion all select 1980,'0x095b0',38320 union all select 1981,'0x049b0',18864 \nunion all select 1982,'0x0a974',43380 union all select 1983,'0x0a4b0',42160 \nunion all select 1984,'0x0b27a',45690 union all select 1985,'0x06a50',27216 \nunion all select 1986,'0x06d40',27968 union all select 1987,'0x0af46',44870 \nunion all select 1988,'0x0ab60',43872 union all select 1989,'0x09570',38256 \nunion all select 1990,'0x04af5',19189 union all select 1991,'0x04970',18800 \nunion all select 1992,'0x064b0',25776 union all select 1993,'0x074a3',29859 \nunion all select 1994,'0x0ea50',59984 union all select 1995,'0x06b58',27480 \nunion all select 1996,'0x055c0',21952 union all select 1997,'0x0ab60',43872 \nunion all select 1998,'0x096d5',38613 union all select 1999,'0x092e0',37600 \nunion all select 2000,'0x0c960',51552 union all select 2001,'0x0d954',55636 \nunion all select 2002,'0x0d4a0',54432 union all select 2003,'0x0da50',55888 \nunion all select 2004,'0x07552',30034 union all select 2005,'0x056a0',22176 \nunion all select 2006,'0x0abb7',43959 union all select 2007,'0x025d0',9680 \nunion all select 2008,'0x092d0',37584 union all select 2009,'0x0cab5',51893 \nunion all select 2010,'0x0a950',43344 union all select 2011,'0x0b4a0',46240 \nunion all select 2012,'0x0baa4',47780 union all select 2013,'0x0ad50',44368 \nunion all select 2014,'0x055d9',21977 union all select 2015,'0x04ba0',19360 \nunion all select 2016,'0x0a5b0',42416 union all select 2017,'0x15176',86390 \nunion all select 2018,'0x052b0',21168 union all select 2019,'0x0a930',43312 \nunion all select 2020,'0x07954',31060 union all select 2021,'0x06aa0',27296 \nunion all select 2022,'0x0ad50',44368 union all select 2023,'0x05b52',23378 \nunion all select 2024,'0x04b60',19296 union all select 2025,'0x0a6e6',42726 \nunion all select 2026,'0x0a4e0',42208 union all select 2027,'0x0d260',53856 \nunion all select 2028,'0x0ea65',60005 union all select 2029,'0x0d530',54576 \nunion all select 2030,'0x05aa0',23200 union all select 2031,'0x076a3',30371 \nunion all select 2032,'0x096d0',38608 union all select 2033,'0x04bd7',19415 \nunion all select 2034,'0x04ad0',19152 union all select 2035,'0x0a4d0',42192 \nunion all select 2036,'0x1d0b6',118966 union all select 2037,'0x0d250',53840 \nunion all select 2038,'0x0d520',54560 union all select 2039,'0x0dd45',56645 \nunion all select 2040,'0x0b5a0',46496 union all select 2041,'0x056d0',22224 \nunion all select 2042,'0x055b2',21938 union all select 2043,'0x049b0',18864 \nunion all select 2044,'0x0a577',42359 union all select 2045,'0x0a4b0',42160 \nunion all select 2046,'0x0aa50',43600 union all select 2047,'0x1b255',111189 \nunion all select 2048,'0x06d20',27936 union all select 2049,'0x0ada0',44448 \nGO<\/code><\/pre>\n\n\n\n<p>\u7b2c\u4e8c\u6b65 \u5efa\u7acb\u8fb2\u66c6\u65e5\u671f\u8f49\u63db\u51fd\u5f0f<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>--\u5efa\u7acb\u8fb2\u66c6\u65e5\u671f\u8f49\u63db\u51fd\u5f0f \nif object_id('KK_funGetLunar') is not null\n    drop function KK_funGetLunar\ngo\ncreate function dbo.KK_funGetLunar(@solarday datetime)     \nreturns nvarchar(30)   \nas     \nbegin     \n  declare @soldata int     \n  declare @offset int     \n  declare @ilunar int     \n  declare @i int      \n  declare @j int      \n  declare @ydays int     \n  declare @mdays int     \n  declare @mleap int \n  declare @mleap1 int   \n  declare @mleapnum int     \n  declare @bleap smallint     \n  declare @temp int     \n  declare @year nvarchar(10)      \n  declare @month nvarchar(10)     \n  declare @day nvarchar(10) \n  declare @chinesenum nvarchar(10)        \n  declare @outputdate nvarchar(30)      \n  set @offset=datediff(day,'1900-01-30',@solarday)     \n  --\u78ba\u5b9a\u8fb2\u66c6\u5e74\u958b\u59cb     \n  set @i=1900     \n  --set @offset=@soldata     \n  while @i&lt;2050 and @offset&gt;0     \n  begin     \n    set @ydays=348     \n    set @mleapnum=0     \n    select @ilunar=dataint from KK_SolarData where yearid=@i     \n    \n    --\u50b3\u56de\u8fb2\u66c6\u5e74\u7684\u7e3d\u5929\u6578     \n    set @j=32768     \n    while @j&gt;8     \n    begin     \n      if @ilunar &amp; @j &gt;0     \n        set @ydays=@ydays+1     \n      set @j=@j\/2     \n    end     \n    --\u50b3\u56de\u8fb2\u66c6\u5e74\u958f\u54ea\u500b\u6708 1-12 , \u6c92\u958f\u50b3\u56de 0     \n    set @mleap = @ilunar &amp; 15     \n    --\u50b3\u56de\u8fb2\u66c6\u5e74\u958f\u6708\u7684\u5929\u6578 ,\u52a0\u5728\u5e74\u7684\u7e3d\u5929\u6578\u4e0a     \n    if @mleap &gt; 0     \n    begin     \n      if @ilunar &amp; 65536 &gt; 0     \n        set @mleapnum=30     \n      else      \n        set @mleapnum=29          \n      set @ydays=@ydays+@mleapnum     \n    end     \n    set @offset=@offset-@ydays     \n    set @i=@i+1     \n  end     \n  if @offset &lt;= 0     \n  begin     \n    set @offset=@offset+@ydays     \n    set @i=@i-1     \n  end     \n  --\u78ba\u5b9a\u8fb2\u66c6\u5e74\u7d50\u675f       \n  set @year=@i     \n  --\u78ba\u5b9a\u8fb2\u66c6\u6708\u958b\u59cb     \n  set @i = 1     \n  select @ilunar=dataint from KK_SolarData where yearid=@year   \n  --\u5224\u65b7\u90a3\u500b\u6708\u662f\u6f64\u6708     \n  set @mleap = @ilunar &amp; 15 \n  set @bleap = 0    \n  while @i &lt; 13 and @offset &gt; 0     \n  begin     \n    --\u5224\u65b7\u6f64\u6708     \n    set @mdays=0     \n    if (@mleap &gt; 0 and @i = (@mleap+1) and @bleap=0)     \n    begin--\u662f\u6f64\u6708     \n      set @i=@i-1     \n      set @bleap=1\n      set @mleap1= @mleap             \n      --\u50b3\u56de\u8fb2\u66c6\u5e74\u958f\u6708\u7684\u5929\u6578     \n      if @ilunar &amp; 65536 &gt; 0     \n        set @mdays = 30     \n      else      \n        set @mdays = 29     \n    end     \n    else     \n    --\u4e0d\u662f\u6f64\u6708     \n    begin     \n      set @j=1     \n      set @temp = 65536      \n      while @j&lt;=@i     \n      begin     \n        set @temp=@temp\/2     \n        set @j=@j+1     \n      end     \n    \n      if @ilunar &amp; @temp &gt; 0     \n        set @mdays = 30     \n      else     \n        set @mdays = 29     \n    end     \n      \n    --\u89e3\u9664\u6f64\u6708   \n    if @bleap=1 and @i= (@mleap+1)   \n      set @bleap=0   \n  \n    set @offset=@offset-@mdays     \n    set @i=@i+1     \n  end     \n    \n  if @offset &lt;= 0     \n  begin     \n    set @offset=@offset+@mdays     \n    set @i=@i-1     \n  end     \n  \n  --\u78ba\u5b9a\u8fb2\u66c6\u6708\u7d50\u675f       \n  set @month=@i   \n    \n  --\u78ba\u5b9a\u8fb2\u66c6\u65e5\u7d50\u675f       \n  set @day=ltrim(@offset)\n  --\u8f38\u51fa\u65e5\u671f\n  set @chinesenum=N'\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d\u5341'  \n  while len(@year)&gt;0\n  select @outputdate=isnull(@outputdate,'')\n         + substring(@chinesenum,left(@year,1)+1,1)\n         , @year=stuff(@year,1,1,'')\n  set @outputdate=@outputdate+N'\u5e74'\n         + case @mleap1 when @month then N'\u6f64' else '' end\n  if cast(@month as int)&lt;10\n    set @outputdate=@outputdate\n         + case @month when 1 then N'\u6b63'\n             else substring(@chinesenum,left(@month,1)+1,1)\n           end\n  else if cast(@month as int)&gt;=10\n    set @outputdate=@outputdate\n         + case @month when '10' then N'\u5341' when 11 then N'\u5341\u4e00'\n           else N'\u5341\u4e8c' end\n  set @outputdate=@outputdate + N'\u6708'\n  if cast(@day as int)&lt;10\n    set @outputdate=@outputdate + N'\u521d'\n         + substring(@chinesenum,left(@day,1)+1,1)\n  else if @day between '10' and '19'\n    set @outputdate=@outputdate\n         + case @day when '10' then N'\u521d\u5341' else N'\u5341'+\n           substring(@chinesenum,right(@day,1)+1,1) end\n  else if @day between '20' and '29'\n    set @outputdate=@outputdate\n         + case @day when '20' then N'\u4e8c\u5341' else N'\u5eff' end\n         + case @day when '20' then N'' else\n           substring(@chinesenum,right(@day,1)+1,1) end\n  else\n    set @outputdate=@outputdate+N'\u4e09\u5341'\n  return @outputdate+'\u65e5'\nend\nGO\n<\/code><\/pre>\n\n\n\n<p>\u7b2c\u4e09\u6b65 \u6210\u679c\u9a57\u6536<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>select getdate() as &#91;\u4eca\u5929\u570b\u66c6], dbo.KK_funGetLunar(getdate()) as &#91;\u4eca\u5929\u8fb2\u66c6]<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>[MS-SQL] \u65e5\u671f\u8655\u7406-\u570b\u66c6\u8f49\u8fb2\u66c6<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"qubely_global_settings":"","qubely_interactions":"","footnotes":""},"categories":[290,22],"tags":[206,23,172],"class_list":["post-2113","post","type-post","status-publish","format-standard","hentry","category-mss_date","category-mssql","tag-date","tag-mssql","tag-172"],"qubely_featured_image_url":null,"qubely_author":{"display_name":"\u5eb7\u6377Qoo","author_link":"https:\/\/www.citerp.com.tw\/citwordpress\/author\/cit001\/"},"qubely_comment":0,"qubely_category":"<a href=\"https:\/\/www.citerp.com.tw\/citwordpress\/category\/mssql\/mss_date\/\" rel=\"category tag\">mss_date<\/a> <a href=\"https:\/\/www.citerp.com.tw\/citwordpress\/category\/mssql\/\" rel=\"category tag\">MSSQL<\/a>","qubely_excerpt":"[MS-SQL] \u65e5\u671f\u8655\u7406-\u570b\u66c6\u8f49\u8fb2\u66c6","yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>[MS-SQL] \u65e5\u671f\u8655\u7406-\u570b\u66c6\u8f49\u8fb2\u66c6 - \u514d\u8cbb\u8cc7\u6e90\u5206\u4eab<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.citerp.com.tw\/citwordpress\/mssql00005\/\" \/>\n<meta property=\"og:locale\" content=\"zh_TW\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[MS-SQL] \u65e5\u671f\u8655\u7406-\u570b\u66c6\u8f49\u8fb2\u66c6 - \u514d\u8cbb\u8cc7\u6e90\u5206\u4eab\" \/>\n<meta property=\"og:description\" content=\"[MS-SQL] \u65e5\u671f\u8655\u7406-\u570b\u66c6\u8f49\u8fb2\u66c6\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.citerp.com.tw\/citwordpress\/mssql00005\/\" \/>\n<meta property=\"og:site_name\" content=\"\u514d\u8cbb\u8cc7\u6e90\u5206\u4eab\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/citerptw\" \/>\n<meta property=\"article:published_time\" content=\"2022-02-16T12:41:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-28T09:35:11+00:00\" \/>\n<meta name=\"author\" content=\"\u5eb7\u6377Qoo\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005:\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u5eb7\u6377Qoo\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9810\u4f30\u95b1\u8b80\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 \u5206\u9418\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/mssql00005\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/mssql00005\/\"},\"author\":{\"name\":\"\u5eb7\u6377Qoo\",\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/#\/schema\/person\/28cfdf2cec7315f2efe90573114fed37\"},\"headline\":\"[MS-SQL] \u65e5\u671f\u8655\u7406-\u570b\u66c6\u8f49\u8fb2\u66c6\",\"datePublished\":\"2022-02-16T12:41:28+00:00\",\"dateModified\":\"2022-12-28T09:35:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/mssql00005\/\"},\"wordCount\":5,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/#organization\"},\"keywords\":[\"date\",\"MSSQL\",\"\u570b\u66c6\u8f49\u8fb2\u66c6\"],\"articleSection\":[\"mss_date\",\"MSSQL\"],\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.citerp.com.tw\/citwordpress\/mssql00005\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/mssql00005\/\",\"url\":\"https:\/\/www.citerp.com.tw\/citwordpress\/mssql00005\/\",\"name\":\"[MS-SQL] \u65e5\u671f\u8655\u7406-\u570b\u66c6\u8f49\u8fb2\u66c6 - \u514d\u8cbb\u8cc7\u6e90\u5206\u4eab\",\"isPartOf\":{\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/#website\"},\"datePublished\":\"2022-02-16T12:41:28+00:00\",\"dateModified\":\"2022-12-28T09:35:11+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/mssql00005\/#breadcrumb\"},\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.citerp.com.tw\/citwordpress\/mssql00005\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/mssql00005\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9801\",\"item\":\"https:\/\/www.citerp.com.tw\/citwordpress\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[MS-SQL] \u65e5\u671f\u8655\u7406-\u570b\u66c6\u8f49\u8fb2\u66c6\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/#website\",\"url\":\"https:\/\/www.citerp.com.tw\/citwordpress\/\",\"name\":\"\u514d\u8cbb\u8cc7\u6e90\u5206\u4eab\",\"description\":\"\u514d\u8cbb\u8cc7\u6e90\u5171\u4eab\",\"publisher\":{\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.citerp.com.tw\/citwordpress\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-TW\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/#organization\",\"name\":\"\u514d\u8cbb\u8cc7\u6e90\u5206\u4eab\",\"url\":\"https:\/\/www.citerp.com.tw\/citwordpress\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.citerp.com.tw\/citwordpress\/wp-content\/uploads\/2022\/06\/find2.png\",\"contentUrl\":\"https:\/\/www.citerp.com.tw\/citwordpress\/wp-content\/uploads\/2022\/06\/find2.png\",\"width\":128,\"height\":128,\"caption\":\"\u514d\u8cbb\u8cc7\u6e90\u5206\u4eab\"},\"image\":{\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/citerptw\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/#\/schema\/person\/28cfdf2cec7315f2efe90573114fed37\",\"name\":\"\u5eb7\u6377Qoo\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/87fa59ff417f35a6d53f05479d9dd918615095cadddb02e447511edc4f8b6302?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/87fa59ff417f35a6d53f05479d9dd918615095cadddb02e447511edc4f8b6302?s=96&d=mm&r=g\",\"caption\":\"\u5eb7\u6377Qoo\"},\"url\":\"https:\/\/www.citerp.com.tw\/citwordpress\/author\/cit001\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[MS-SQL] \u65e5\u671f\u8655\u7406-\u570b\u66c6\u8f49\u8fb2\u66c6 - \u514d\u8cbb\u8cc7\u6e90\u5206\u4eab","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.citerp.com.tw\/citwordpress\/mssql00005\/","og_locale":"zh_TW","og_type":"article","og_title":"[MS-SQL] \u65e5\u671f\u8655\u7406-\u570b\u66c6\u8f49\u8fb2\u66c6 - \u514d\u8cbb\u8cc7\u6e90\u5206\u4eab","og_description":"[MS-SQL] \u65e5\u671f\u8655\u7406-\u570b\u66c6\u8f49\u8fb2\u66c6","og_url":"https:\/\/www.citerp.com.tw\/citwordpress\/mssql00005\/","og_site_name":"\u514d\u8cbb\u8cc7\u6e90\u5206\u4eab","article_publisher":"https:\/\/www.facebook.com\/citerptw","article_published_time":"2022-02-16T12:41:28+00:00","article_modified_time":"2022-12-28T09:35:11+00:00","author":"\u5eb7\u6377Qoo","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005:":"\u5eb7\u6377Qoo","\u9810\u4f30\u95b1\u8b80\u6642\u9593":"8 \u5206\u9418"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.citerp.com.tw\/citwordpress\/mssql00005\/#article","isPartOf":{"@id":"https:\/\/www.citerp.com.tw\/citwordpress\/mssql00005\/"},"author":{"name":"\u5eb7\u6377Qoo","@id":"https:\/\/www.citerp.com.tw\/citwordpress\/#\/schema\/person\/28cfdf2cec7315f2efe90573114fed37"},"headline":"[MS-SQL] \u65e5\u671f\u8655\u7406-\u570b\u66c6\u8f49\u8fb2\u66c6","datePublished":"2022-02-16T12:41:28+00:00","dateModified":"2022-12-28T09:35:11+00:00","mainEntityOfPage":{"@id":"https:\/\/www.citerp.com.tw\/citwordpress\/mssql00005\/"},"wordCount":5,"commentCount":0,"publisher":{"@id":"https:\/\/www.citerp.com.tw\/citwordpress\/#organization"},"keywords":["date","MSSQL","\u570b\u66c6\u8f49\u8fb2\u66c6"],"articleSection":["mss_date","MSSQL"],"inLanguage":"zh-TW","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.citerp.com.tw\/citwordpress\/mssql00005\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.citerp.com.tw\/citwordpress\/mssql00005\/","url":"https:\/\/www.citerp.com.tw\/citwordpress\/mssql00005\/","name":"[MS-SQL] \u65e5\u671f\u8655\u7406-\u570b\u66c6\u8f49\u8fb2\u66c6 - \u514d\u8cbb\u8cc7\u6e90\u5206\u4eab","isPartOf":{"@id":"https:\/\/www.citerp.com.tw\/citwordpress\/#website"},"datePublished":"2022-02-16T12:41:28+00:00","dateModified":"2022-12-28T09:35:11+00:00","breadcrumb":{"@id":"https:\/\/www.citerp.com.tw\/citwordpress\/mssql00005\/#breadcrumb"},"inLanguage":"zh-TW","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.citerp.com.tw\/citwordpress\/mssql00005\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.citerp.com.tw\/citwordpress\/mssql00005\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9801","item":"https:\/\/www.citerp.com.tw\/citwordpress\/"},{"@type":"ListItem","position":2,"name":"[MS-SQL] \u65e5\u671f\u8655\u7406-\u570b\u66c6\u8f49\u8fb2\u66c6"}]},{"@type":"WebSite","@id":"https:\/\/www.citerp.com.tw\/citwordpress\/#website","url":"https:\/\/www.citerp.com.tw\/citwordpress\/","name":"\u514d\u8cbb\u8cc7\u6e90\u5206\u4eab","description":"\u514d\u8cbb\u8cc7\u6e90\u5171\u4eab","publisher":{"@id":"https:\/\/www.citerp.com.tw\/citwordpress\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.citerp.com.tw\/citwordpress\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-TW"},{"@type":"Organization","@id":"https:\/\/www.citerp.com.tw\/citwordpress\/#organization","name":"\u514d\u8cbb\u8cc7\u6e90\u5206\u4eab","url":"https:\/\/www.citerp.com.tw\/citwordpress\/","logo":{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/www.citerp.com.tw\/citwordpress\/#\/schema\/logo\/image\/","url":"https:\/\/www.citerp.com.tw\/citwordpress\/wp-content\/uploads\/2022\/06\/find2.png","contentUrl":"https:\/\/www.citerp.com.tw\/citwordpress\/wp-content\/uploads\/2022\/06\/find2.png","width":128,"height":128,"caption":"\u514d\u8cbb\u8cc7\u6e90\u5206\u4eab"},"image":{"@id":"https:\/\/www.citerp.com.tw\/citwordpress\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/citerptw"]},{"@type":"Person","@id":"https:\/\/www.citerp.com.tw\/citwordpress\/#\/schema\/person\/28cfdf2cec7315f2efe90573114fed37","name":"\u5eb7\u6377Qoo","image":{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/www.citerp.com.tw\/citwordpress\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/87fa59ff417f35a6d53f05479d9dd918615095cadddb02e447511edc4f8b6302?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/87fa59ff417f35a6d53f05479d9dd918615095cadddb02e447511edc4f8b6302?s=96&d=mm&r=g","caption":"\u5eb7\u6377Qoo"},"url":"https:\/\/www.citerp.com.tw\/citwordpress\/author\/cit001\/"}]}},"_links":{"self":[{"href":"https:\/\/www.citerp.com.tw\/citwordpress\/wp-json\/wp\/v2\/posts\/2113","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.citerp.com.tw\/citwordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.citerp.com.tw\/citwordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.citerp.com.tw\/citwordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.citerp.com.tw\/citwordpress\/wp-json\/wp\/v2\/comments?post=2113"}],"version-history":[{"count":0,"href":"https:\/\/www.citerp.com.tw\/citwordpress\/wp-json\/wp\/v2\/posts\/2113\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.citerp.com.tw\/citwordpress\/wp-json\/wp\/v2\/media?parent=2113"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.citerp.com.tw\/citwordpress\/wp-json\/wp\/v2\/categories?post=2113"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.citerp.com.tw\/citwordpress\/wp-json\/wp\/v2\/tags?post=2113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}