{"id":49,"date":"2006-04-19T09:24:38","date_gmt":"2006-04-19T14:24:38","guid":{"rendered":"http:\/\/stein.everybody.org\/brain\/error-converting-data-type-nvarchar-to-int\/"},"modified":"2011-03-10T10:57:33","modified_gmt":"2011-03-10T15:57:33","slug":"error-converting-data-type-nvarchar-to-int","status":"publish","type":"post","link":"https:\/\/jeremystein.com\/brain\/error-converting-data-type-nvarchar-to-int\/","title":{"rendered":"Error converting data type nvarchar to int"},"content":{"rendered":"<p>If SQL Server gives you this error when calling a stored procedure, it may be because you forgot to prefix your parameters with &#8220;@&#8221; and you&#8217;re passing the bare words instead.<\/p>\n<p>Yeah, that should be a syntax error.  If anyone knows how to make it appear as a syntax error, let me know.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If SQL Server gives you this error when calling a stored procedure, it may be because you forgot to prefix your parameters with &#8220;@&#8221; and you&#8217;re passing the bare words instead. Yeah, that should be a syntax error. If anyone knows how to make it appear as a syntax error, let me know.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-49","post","type-post","status-publish","format-standard","hentry","category-sql-server"],"_links":{"self":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/posts\/49","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/comments?post=49"}],"version-history":[{"count":0,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/posts\/49\/revisions"}],"wp:attachment":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/media?parent=49"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/categories?post=49"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/tags?post=49"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}