{"provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/todays_mitsui/","url":"https://blog.mudatobunka.org/entry/2026/04/20/100000","blog_url":"https://blog.mudatobunka.org/","categories":["SQL","\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","\u30dd\u30a8\u30e0"],"height":"190","title":"BigQuery\u306eCAST\u3068SAFE_CAST\u306f\u540d\u524d\u304c\u9006\u3058\u3083\u306a\u3044\u304b\uff1f","version":"1.0","author_name":"todays_mitsui","published":"2026-04-20 10:00:00","width":"100%","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.mudatobunka.org%2Fentry%2F2026%2F04%2F20%2F100000\" title=\"BigQuery\u306eCAST\u3068SAFE_CAST\u306f\u540d\u524d\u304c\u9006\u3058\u3083\u306a\u3044\u304b\uff1f - \u7121\u99c4\u3068\u6587\u5316\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","description":"\u3075\u305f\u3064\u306e\u30ad\u30e3\u30b9\u30c8 BigQuery \u306b\u306f\u5024\u3092\u30ad\u30e3\u30b9\u30c8\u3059\u308b\u95a2\u6570\u3068\u3057\u3066 CAST() \u3068 SAFE_CAST() \u306e\u4e8c\u3064\u304c\u3042\u308b\u3002 \u3053\u306e\u3088\u3046\u306b\u52d5\u4f5c\u3059\u308b\u3002 SELECT CAST('0xDEADBEEF' AS INT64) AS number; /*------------* | number | +------------+ | 3735928559 | *------------*/ SELECT SAFE_CAST('0xDEADBEEF' AS INT64) AS number; /*------------* | number | +------------+ | 3735928559 |\u2026","provider_name":"Hatena Blog","blog_title":"\u7121\u99c4\u3068\u6587\u5316"}