{"id":42173,"date":"2021-08-30T21:07:19","date_gmt":"2021-08-30T21:07:19","guid":{"rendered":"https:\/\/www.oracletutoring.ca\/blog\/?p=42173"},"modified":"2021-08-30T21:07:20","modified_gmt":"2021-08-30T21:07:20","slug":"sql-server-reveal-a-function","status":"publish","type":"post","link":"https:\/\/www.oracletutoring.ca\/blog\/sql-server-reveal-a-function\/","title":{"rendered":"SQL Server: reveal a function"},"content":{"rendered":"\n<h2>Self-tutoring about the SQL Server query editor: the tutor mentions a hint.<\/h2>\n<p>\nI defined a function, but then couldn&#8217;t find it. I wondered &#8211; was it even defined, or had I accidentally deleted it somehow?<\/p>\n<p>\nThe command <span style=\"font-family:monospace\">exec sp_helptext function_name<\/span> revealed the function definition.<\/p>\n<p>Source:<\/p>\n<p><a href=\"https:\/\/stackoverflow.com\/questions\/15521934\/how-to-view-a-stored-function-sql-server\">stackoverflow.com<\/a><\/p>\nJack of <a href=\"https:\/\/www.oracletutoring.ca\">Oracle Tutoring by Jack and Diane,<\/a> Campbell River, BC.\n","protected":false},"excerpt":{"rendered":"<p>Self-tutoring about the SQL Server query editor: the tutor mentions a hint. I defined a function, but then couldn&#8217;t find it. I wondered &#8211; was it even defined, or had I accidentally deleted it somehow? The command exec sp_helptext function_name &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.oracletutoring.ca\/blog\/sql-server-reveal-a-function\/\"> <span class=\"screen-reader-text\">SQL Server: reveal a function<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3025],"tags":[],"class_list":["post-42173","post","type-post","status-publish","format-standard","hentry","category-sql"],"_links":{"self":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/42173","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/comments?post=42173"}],"version-history":[{"count":2,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/42173\/revisions"}],"predecessor-version":[{"id":42175,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/42173\/revisions\/42175"}],"wp:attachment":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/media?parent=42173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/categories?post=42173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/tags?post=42173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}