{"id":14743,"date":"2020-01-28T06:29:14","date_gmt":"2020-01-28T06:29:14","guid":{"rendered":"https:\/\/dbtut.com\/?p=14743"},"modified":"2020-01-28T06:29:15","modified_gmt":"2020-01-28T06:29:15","slug":"cast-and-convert-performance-in-sql-server","status":"publish","type":"post","link":"https:\/\/dbtut.com\/index.php\/2020\/01\/28\/cast-and-convert-performance-in-sql-server\/","title":{"rendered":"Cast and Convert Performance in SQL Server"},"content":{"rendered":"<p>Conversion operations in datetime data types often cause poor performance but they are always the ones that are overlooked. We will examine the Cast and Convert Performance in SQL Server in this article.<\/p>\n<p>Yes, they both do the same job, but as a result of our example, there can be big differences between them according to the query design and the scenario where it is used.<\/p>\n<h4>Convert Syntax<\/h4>\n<pre class=\"lang:default decode:true \">CONVERT ( data_type [ ( length ) ] , expression [ , style ] )<\/pre>\n<h4>Cast Syntax<\/h4>\n<pre class=\"lang:default decode:true \">CAST ( expression AS data_type [ ( length ) ] )<\/pre>\n<p>Now let&#8217;s create a sample table and insert data into that table. (You can perform this process with Query below.)<\/p>\n<pre class=\"lang:default decode:true \">CREATE TABLE DatePerformance\n    (\n      Id INT IDENTITY\n             PRIMARY KEY ,\n      Descriptions CHAR(500) DEFAULT 'Yusuf Kahveci' ,\n      DateColumn DATETIME,\n    );\n\n\nINSERT  INTO DatePerformance\n        ( DateColumn\n        )\n        SELECT  DATEADD(MI, RAND() * 10000, GETDATE())\nGO 100000<\/pre>\n<p>After completing the above process, let&#8217;s create the following Index on the DateColumn column in our table we have created.<\/p>\n<pre class=\"lang:default decode:true \">CREATE INDEX SQLNCIX_DataPerformance_DateColumn \nON DatePerformance \n(\nDateColumn);<\/pre>\n<p>Now we have an environment where we can perform our demo. Now we need to write two separate Queries using the Convert function and the Cast function and examine their values.<\/p>\n<p><strong>Query I:<\/strong><\/p>\n<pre class=\"lang:default decode:true \">-- SESSION I\nSET STATISTICS IO ON;\n\nDECLARE @SqlTr_Date DATETIME = '2016-07-15 16:38:49.490';\n\nSELECT  DateColumn\nFROM    DatePerformance\nWHERE   CONVERT(VARCHAR, DateColumn, 112) = CONVERT(VARCHAR, @SqlTr_Date, 112);\n\nSET STATISTICS IO OFF;<\/pre>\n<p><strong>Query II :<\/strong><\/p>\n<pre class=\"lang:default decode:true \">SET STATISTICS IO ON;\n\nDECLARE @SqlTr_Date DATETIME = '2016-07-15 16:38:49.490';\nSELECT  DateColumn\nFROM    DatePerformance\nWHERE   CAST(DateColumn AS DATE) = CAST(@SqlTr_Date AS DATE);\n\nSET STATISTICS IO OFF;<\/pre>\n<p>When we examine the above Queries, we see the expression &#8220;SET STATISTICS IO ON&#8221;. With this expression we get the IO values \u200b\u200bof our Query. Thus, we will be able to evaluate the Performance by comparing the IO values \u200b\u200bof the two Query.<\/p>\n<p>Also press the &#8220;Actual Execution Plan&#8221; button before pressing the Execute button. Thus, it will prepare the Execution Plan and we can compare Execution Plans.<\/p>\n<p>You can see the statistical value and Execution Plan that created when we Execute Query I.<\/p>\n<p><strong>Q I \u2013 Statistics:<\/strong><\/p>\n<p>(14392 row(s) affected)<\/p>\n<p>Table \u2018DatePerformance\u2019. Scan count 1, logical reads 825, physical reads 0, read-ahead reads 0, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.<\/p>\n<p>(1 row(s) affected)<\/p>\n<p><strong>Q I \u2013 Execution Plan :<\/strong><\/p>\n<p id=\"PkpHMYQ\"><img loading=\"lazy\" decoding=\"async\" width=\"370\" height=\"81\" class=\"size-full wp-image-14744  aligncenter\" src=\"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/01\/img_5e1c70d5e125e.png\" alt=\"\" \/><\/p>\n<p><strong>Q II \u2013 Statistics:<\/strong><\/p>\n<p>(14392 row(s) affected)<\/p>\n<p>Table \u2018DatePerformance\u2019. Scan count 1, logical reads 56, physical reads 0, read-ahead reads 0, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.<\/p>\n<p>(1 row(s) affected)<\/p>\n<p><strong>Q II \u2013 Execution Plan :<\/strong><\/p>\n<p id=\"dpmvTZX\"><img loading=\"lazy\" decoding=\"async\" width=\"582\" height=\"168\" class=\"size-full wp-image-14745  aligncenter\" src=\"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/01\/img_5e1c7106d8978.png\" alt=\"\" \/><\/p>\n<p>As we have seen, we have written two separate queries with the CONVERT and CAST functions and found that there is a serious IO difference and Execution Plan difference in performance evaluation.<\/p>\n<p>We have seen in our article that we need to be careful in our processes such as date formatting. We have also realized that it is very important that we use functions by analyzing Query design.<\/p>\n<p>Good luck with.<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_14743\" class=\"pvc_stats all  \" data-element-id=\"14743\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/dbtut.com\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Conversion operations in datetime data types often cause poor performance but they are always the ones that are overlooked. We will examine the Cast and Convert Performance in SQL Server in this article. Yes, they both do the same job, but as a result of our example, there can be big differences between them according &hellip;<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_14743\" class=\"pvc_stats all  \" data-element-id=\"14743\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/dbtut.com\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":483,"featured_media":14746,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[3],"tags":[7868,7879,7869,7872,7871,7873,7870,7877,7874,7875,7876,7878],"class_list":["post-14743","post","type-post","status-publish","format-standard","has-post-thumbnail","","category-mssql","tag-cast-and-convert-performance","tag-cast-or-convert-performance","tag-cast-vs-convert-performance","tag-cast-vs-convert-performance-ms-sql","tag-cast-vs-convert-performance-mssql","tag-cast-vs-convert-performance-sql","tag-cast-vs-convert-performance-sql-server","tag-cast-vs-convert-sql-server-2008-performance","tag-ms-sql-cast-vs-convert-performance","tag-sql-cast-vs-convert-performance","tag-sql-server-cast-vs-convert-performance","tag-t-sql-cast-vs-convert-performance"],"aioseo_notices":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Cast and Convert Performance in SQL Server - Database Tutorials<\/title>\n<meta name=\"description\" content=\"Cast and Convert Performance in SQL Server\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dbtut.com\/index.php\/2020\/01\/28\/cast-and-convert-performance-in-sql-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Cast and Convert Performance in SQL Server - Database Tutorials\" \/>\n<meta property=\"og:description\" content=\"Cast and Convert Performance in SQL Server\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dbtut.com\/index.php\/2020\/01\/28\/cast-and-convert-performance-in-sql-server\/\" \/>\n<meta property=\"og:site_name\" content=\"Database Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2020-01-28T06:29:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-01-28T06:29:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/01\/Ads\u0131z-13.png\" \/>\n\t<meta property=\"og:image:width\" content=\"526\" \/>\n\t<meta property=\"og:image:height\" content=\"304\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Yusuf KAHVEC\u0130\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Yusuf KAHVEC\u0130\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2020\/01\/28\/cast-and-convert-performance-in-sql-server\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2020\/01\/28\/cast-and-convert-performance-in-sql-server\/\"},\"author\":{\"name\":\"Yusuf KAHVEC\u0130\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/695ad69b2bd896864842ba8772930150\"},\"headline\":\"Cast and Convert Performance in SQL Server\",\"datePublished\":\"2020-01-28T06:29:14+00:00\",\"dateModified\":\"2020-01-28T06:29:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2020\/01\/28\/cast-and-convert-performance-in-sql-server\/\"},\"wordCount\":371,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/dbtut.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2020\/01\/28\/cast-and-convert-performance-in-sql-server\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/01\/Ads\u0131z-13.png\",\"keywords\":[\"cast and convert performance\",\"cast or convert performance\",\"cast vs convert performance\",\"cast vs convert performance ms sql\",\"cast vs convert performance mssql\",\"cast vs convert performance sql\",\"cast vs convert performance sql server\",\"cast vs convert sql server 2008 performance\",\"ms sql cast vs convert performance\",\"sql cast vs convert performance\",\"sql server cast vs convert performance\",\"t-sql cast vs convert performance\"],\"articleSection\":[\"MSSQL\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/dbtut.com\/index.php\/2020\/01\/28\/cast-and-convert-performance-in-sql-server\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2020\/01\/28\/cast-and-convert-performance-in-sql-server\/\",\"url\":\"https:\/\/dbtut.com\/index.php\/2020\/01\/28\/cast-and-convert-performance-in-sql-server\/\",\"name\":\"Cast and Convert Performance in SQL Server - Database Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/dbtut.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2020\/01\/28\/cast-and-convert-performance-in-sql-server\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2020\/01\/28\/cast-and-convert-performance-in-sql-server\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/01\/Ads\u0131z-13.png\",\"datePublished\":\"2020-01-28T06:29:14+00:00\",\"dateModified\":\"2020-01-28T06:29:15+00:00\",\"description\":\"Cast and Convert Performance in SQL Server\",\"breadcrumb\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2020\/01\/28\/cast-and-convert-performance-in-sql-server\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/dbtut.com\/index.php\/2020\/01\/28\/cast-and-convert-performance-in-sql-server\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2020\/01\/28\/cast-and-convert-performance-in-sql-server\/#primaryimage\",\"url\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/01\/Ads\u0131z-13.png\",\"contentUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/01\/Ads\u0131z-13.png\",\"width\":526,\"height\":304},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2020\/01\/28\/cast-and-convert-performance-in-sql-server\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/dbtut.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cast and Convert Performance in SQL Server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dbtut.com\/#website\",\"url\":\"https:\/\/dbtut.com\/\",\"name\":\"Database Tutorials\",\"description\":\"MSSQL, Oracle, PostgreSQL, MySQL, MariaDB, DB2, Sybase, Teradata, Big Data, NOSQL, MongoDB, Couchbase, Cassandra, Windows, Linux\",\"publisher\":{\"@id\":\"https:\/\/dbtut.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dbtut.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/dbtut.com\/#organization\",\"name\":\"dbtut\",\"url\":\"https:\/\/dbtut.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg\",\"contentUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg\",\"width\":223,\"height\":36,\"caption\":\"dbtut\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/695ad69b2bd896864842ba8772930150\",\"name\":\"Yusuf KAHVEC\u0130\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b7b4650ddb695869b13831d79f25c19ee915dc2151a7c8fcdf01538c295eb032?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b7b4650ddb695869b13831d79f25c19ee915dc2151a7c8fcdf01538c295eb032?s=96&d=mm&r=g\",\"caption\":\"Yusuf KAHVEC\u0130\"},\"url\":\"https:\/\/dbtut.com\/index.php\/author\/yusufkahveci\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Cast and Convert Performance in SQL Server - Database Tutorials","description":"Cast and Convert Performance in SQL Server","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:\/\/dbtut.com\/index.php\/2020\/01\/28\/cast-and-convert-performance-in-sql-server\/","og_locale":"en_US","og_type":"article","og_title":"Cast and Convert Performance in SQL Server - Database Tutorials","og_description":"Cast and Convert Performance in SQL Server","og_url":"https:\/\/dbtut.com\/index.php\/2020\/01\/28\/cast-and-convert-performance-in-sql-server\/","og_site_name":"Database Tutorials","article_published_time":"2020-01-28T06:29:14+00:00","article_modified_time":"2020-01-28T06:29:15+00:00","og_image":[{"width":526,"height":304,"url":"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/01\/Ads\u0131z-13.png","type":"image\/png"}],"author":"Yusuf KAHVEC\u0130","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Yusuf KAHVEC\u0130","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/dbtut.com\/index.php\/2020\/01\/28\/cast-and-convert-performance-in-sql-server\/#article","isPartOf":{"@id":"https:\/\/dbtut.com\/index.php\/2020\/01\/28\/cast-and-convert-performance-in-sql-server\/"},"author":{"name":"Yusuf KAHVEC\u0130","@id":"https:\/\/dbtut.com\/#\/schema\/person\/695ad69b2bd896864842ba8772930150"},"headline":"Cast and Convert Performance in SQL Server","datePublished":"2020-01-28T06:29:14+00:00","dateModified":"2020-01-28T06:29:15+00:00","mainEntityOfPage":{"@id":"https:\/\/dbtut.com\/index.php\/2020\/01\/28\/cast-and-convert-performance-in-sql-server\/"},"wordCount":371,"commentCount":0,"publisher":{"@id":"https:\/\/dbtut.com\/#organization"},"image":{"@id":"https:\/\/dbtut.com\/index.php\/2020\/01\/28\/cast-and-convert-performance-in-sql-server\/#primaryimage"},"thumbnailUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/01\/Ads\u0131z-13.png","keywords":["cast and convert performance","cast or convert performance","cast vs convert performance","cast vs convert performance ms sql","cast vs convert performance mssql","cast vs convert performance sql","cast vs convert performance sql server","cast vs convert sql server 2008 performance","ms sql cast vs convert performance","sql cast vs convert performance","sql server cast vs convert performance","t-sql cast vs convert performance"],"articleSection":["MSSQL"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/dbtut.com\/index.php\/2020\/01\/28\/cast-and-convert-performance-in-sql-server\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/dbtut.com\/index.php\/2020\/01\/28\/cast-and-convert-performance-in-sql-server\/","url":"https:\/\/dbtut.com\/index.php\/2020\/01\/28\/cast-and-convert-performance-in-sql-server\/","name":"Cast and Convert Performance in SQL Server - Database Tutorials","isPartOf":{"@id":"https:\/\/dbtut.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/dbtut.com\/index.php\/2020\/01\/28\/cast-and-convert-performance-in-sql-server\/#primaryimage"},"image":{"@id":"https:\/\/dbtut.com\/index.php\/2020\/01\/28\/cast-and-convert-performance-in-sql-server\/#primaryimage"},"thumbnailUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/01\/Ads\u0131z-13.png","datePublished":"2020-01-28T06:29:14+00:00","dateModified":"2020-01-28T06:29:15+00:00","description":"Cast and Convert Performance in SQL Server","breadcrumb":{"@id":"https:\/\/dbtut.com\/index.php\/2020\/01\/28\/cast-and-convert-performance-in-sql-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dbtut.com\/index.php\/2020\/01\/28\/cast-and-convert-performance-in-sql-server\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/index.php\/2020\/01\/28\/cast-and-convert-performance-in-sql-server\/#primaryimage","url":"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/01\/Ads\u0131z-13.png","contentUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/01\/Ads\u0131z-13.png","width":526,"height":304},{"@type":"BreadcrumbList","@id":"https:\/\/dbtut.com\/index.php\/2020\/01\/28\/cast-and-convert-performance-in-sql-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dbtut.com\/"},{"@type":"ListItem","position":2,"name":"Cast and Convert Performance in SQL Server"}]},{"@type":"WebSite","@id":"https:\/\/dbtut.com\/#website","url":"https:\/\/dbtut.com\/","name":"Database Tutorials","description":"MSSQL, Oracle, PostgreSQL, MySQL, MariaDB, DB2, Sybase, Teradata, Big Data, NOSQL, MongoDB, Couchbase, Cassandra, Windows, Linux","publisher":{"@id":"https:\/\/dbtut.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dbtut.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/dbtut.com\/#organization","name":"dbtut","url":"https:\/\/dbtut.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/#\/schema\/logo\/image\/","url":"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg","contentUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg","width":223,"height":36,"caption":"dbtut"},"image":{"@id":"https:\/\/dbtut.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/dbtut.com\/#\/schema\/person\/695ad69b2bd896864842ba8772930150","name":"Yusuf KAHVEC\u0130","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b7b4650ddb695869b13831d79f25c19ee915dc2151a7c8fcdf01538c295eb032?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b7b4650ddb695869b13831d79f25c19ee915dc2151a7c8fcdf01538c295eb032?s=96&d=mm&r=g","caption":"Yusuf KAHVEC\u0130"},"url":"https:\/\/dbtut.com\/index.php\/author\/yusufkahveci\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts\/14743","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/users\/483"}],"replies":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/comments?post=14743"}],"version-history":[{"count":0,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts\/14743\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/media\/14746"}],"wp:attachment":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/media?parent=14743"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/categories?post=14743"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/tags?post=14743"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}