<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>babydaemons</author_name>
  <author_url>https://blog.hatena.ne.jp/babydaemons/</author_url>
  <blog_title>babydaemons’ blog</blog_title>
  <blog_url>https://babydaemons.hatenablog.com/</blog_url>
  <categories>
    <anon>SQLServer</anon>
  </categories>
  <description>すごいバカちょんですが、こんな感じでできました。 SELECT LEFT(REPLACE(CONVERT(VARCHAR(20), GETDATE(), 120), '-', '/'), 10) 可読性が最悪なので、関数にしておきませう。 CREATE FUNCTION [dbo].[GetFullDateWithSlash](@date DATETIME) RETURNS VARCHAR(10) AS BEGIN RETURN LEFT(REPLACE(CONVERT(VARCHAR(20), @date, 120), '-', '/'), 10) END 大嘘ですｗ http://msdn…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbabydaemons.hatenablog.com%2Fentry%2F20080319%2F1209032347&quot; title=&quot;SQLServerで”YYYY/MM/DD”形式で日付を得る - babydaemons’ blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-03-19 19:19:07</published>
  <title>SQLServerで”YYYY/MM/DD”形式で日付を得る</title>
  <type>rich</type>
  <url>https://babydaemons.hatenablog.com/entry/20080319/1209032347</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
