{"id":18937,"date":"2022-11-11T07:26:00","date_gmt":"2022-11-11T06:26:00","guid":{"rendered":"https:\/\/expert-only.com\/?p=18937"},"modified":"2022-12-01T09:25:14","modified_gmt":"2022-12-01T08:25:14","slug":"drop-sql-server-stored-procedures","status":"publish","type":"post","link":"https:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/","title":{"rendered":"Drop SQL Server stored procedures without errors"},"content":{"rendered":"\n<h4 class=\"has-text-align-center wp-block-heading\" id=\"h-how-to-drop-a-sql-server-stored-procedure-without-error-using-the-existence-check\"><strong><em>How to drop a SQL Server stored procedure without error using the existence check?<\/em><\/strong><\/h4>\n\n\n\n<p>To drop a SQL Server stored procedure and avoid errors, first test the existence of the procedure in the SQL Server database to condition the DROP PROCEDURE command. On the other hand, it is a good practice to always test the existence of SQL Server objects. In this case a stored procedure with the IF EXISTS command.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1. Script to Drop a stored procedure<\/h2>\n\n\n\n<p>Here is the basic T-SQL command to delete a SQL Server stored procedure:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"mssql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">DROP PROCEDURE dbo.uspGetClient;\nGO\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">2. DROP MS SQL procedures without error<\/h2>\n\n\n\n<p>First, how do you delete a SQL Server stored procedure without generating an error? That is, check if the object exists before deleting it with the SQL <a href=\"https:\/\/learn.microsoft.com\/en-us\/sql\/t-sql\/statements\/drop-procedure-transact-sql?view=sql-server-ver16\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">DROP<\/a> command. To do this, use the T-SQL IF EXISTS function. As in this example, on SQL Server versions prior to 2016.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"mssql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">IF EXISTS (\n  SELECT name\n  FROM sysobjects\n  WHERE name = 'uspGetClient\n    AND type = 'P\n)\nDROP PROCEDURE dbo.uspGetClient;\nGO\n<\/pre>\n\n\n\n<p>Indeed, if the procedure does not exist the following error message is displayed, on English versions of SQL Server:<\/p>\n\n\n\n<p><em>Cannot drop the procedure &#8216;uspGetClient&#8217;, because it does not exist or you do not have permission.<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">3. Existence tests integrated since SQL Server 2016<\/h2>\n\n\n\n<p>Note that since the SQL Server 2016 version, it is possible to test if a function, table or stored procedure exists and delete it with a single SQL command.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"mssql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">DROP PROCEDURE IF EXISTS dbo.uspGetClient;\nGO\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">4. Generate a dynamic script to delete all stored procedures<\/h2>\n\n\n\n<p>Finally, here is a request to generate an <a href=\"https:\/\/cloud.google.com\/bigquery\/docs\/reference\/standard-sql\/data-definition-language?hl=fr\" target=\"_blank\" rel=\"noreferrer noopener\">DDL<\/a> script to delete all stored procedures from the database. The code uses the sys.procedures system view, stored in the msdb system database.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"mssql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">SELECT\n  'DROP PROCEDURE IF EXISTS ' + SCHEMA_NAME(schema_id) + '.' + [Name] + ';' AS [SQL_Query], \n  SCHEMA_NAME(schema_id) AS [Schema_Name],\n  [object_id],\n  [type],\n  [type_desc],\n  [create_date]\nFROM sys.procedures\norder by 1;\n<\/pre>\n\n\n\n<p>The result is a column with one row for each stored procedure of user type. Each row contains a command to test the existence and delete the procedure. To use the code generated, two options are available.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>The first one is to copy and paste the DROP PROCEDURE code generated and execute it in another SSMS Window.<\/li>\n\n\n\n<li>The second is to add more code to automate the execution inside a T-SQL loop.<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"840\" height=\"460\" src=\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/11\/sql-server-drop-stored-procedure-script.jpg\" alt=\"Generate a dynamic script to Drop SQL Server stored procedure without errors\" class=\"wp-image-18422\" srcset=\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/11\/sql-server-drop-stored-procedure-script.jpg 840w, https:\/\/expert-only.com\/wp-content\/uploads\/2022\/11\/sql-server-drop-stored-procedure-script-300x164.jpg 300w, https:\/\/expert-only.com\/wp-content\/uploads\/2022\/11\/sql-server-drop-stored-procedure-script-768x421.jpg 768w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><figcaption class=\"wp-element-caption\"><strong>Generate a dynamic script to Drop SQL Server stored procedure without errors<\/strong><\/figcaption><\/figure><\/div>\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-sql-and-it-tutorials wp-block-embed-sql-and-it-tutorials\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"tZV071VpEO\"><a href=\"https:\/\/expert-only.com\/en\/t-sql\/sql-server-stored-procedure\/\">How to create a SQL Server stored procedure ?<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;How to create a SQL Server stored procedure ?&#8221; &#8212; SQL and IT Tutorials\" src=\"https:\/\/expert-only.com\/en\/t-sql\/sql-server-stored-procedure\/embed\/#?secret=CDT7couYUO#?secret=tZV071VpEO\" data-secret=\"tZV071VpEO\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">T-SQL tutorials on stored procedures<\/h4>\n\n\n\n<p>To go further, still about MS SQL stored procedures management using scripts, find more tutorials :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/expert-only.com\/en\/t-sql\/alter-sql-server-stored-procedure\/\">Tutorial to modify a procedure with T-SQL script<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/expert-only.com\/en\/t-sql\/return-values-sql-server-stored-procedure\/\">How to create stored procedure with output parameters?<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/expert-only.com\/en\/t-sql\/t-sql-procedure-with-hard-coded-variables\/\">Execute a stored procedure with hard coded variables<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>How to drop a SQL Server stored procedure without error using the existence check? To drop a SQL Server stored procedure and avoid errors, first test the existence of the procedure in the SQL Server database to condition the <a class=\"mh-excerpt-more\" href=\"https:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/\" title=\"Drop SQL Server stored procedures without errors\">&#8230;<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":10874,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[454],"tags":[],"class_list":{"0":"post-18937","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-t-sql"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.7 (Yoast SEO v26.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Drop SQL Server stored procedures without errors - T-SQL<\/title>\n<meta name=\"description\" content=\"To Drop SQL Server stored procedures without errors, perform an existence check using the integrated function EXISTS or the system views.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Drop SQL Server stored procedures without errors\" \/>\n<meta property=\"og:description\" content=\"To Drop SQL Server stored procedures without errors, perform an existence check using the integrated function EXISTS or the system views.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/\" \/>\n<meta property=\"og:site_name\" content=\"SQL and IT Tutorials\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ExpertOnlyCom\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-11T06:26:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-01T08:25:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/texture-design-273B124DF7D_1920x1080.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1080\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Expert-Only\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@expert_only\" \/>\n<meta name=\"twitter:site\" content=\"@expert_only\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Expert-Only\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/\"},\"author\":{\"name\":\"Expert-Only\",\"@id\":\"https:\/\/expert-only.com\/en\/#\/schema\/person\/406a9576b52944f018739a42046873ef\"},\"headline\":\"Drop SQL Server stored procedures without errors\",\"datePublished\":\"2022-11-11T06:26:00+00:00\",\"dateModified\":\"2022-12-01T08:25:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/\"},\"wordCount\":395,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/expert-only.com\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/texture-design-273B124DF7D_1920x1080.jpg\",\"articleSection\":[\"T-SQL\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/\",\"url\":\"https:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/\",\"name\":\"Drop SQL Server stored procedures without errors - T-SQL\",\"isPartOf\":{\"@id\":\"https:\/\/expert-only.com\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/texture-design-273B124DF7D_1920x1080.jpg\",\"datePublished\":\"2022-11-11T06:26:00+00:00\",\"dateModified\":\"2022-12-01T08:25:14+00:00\",\"description\":\"To Drop SQL Server stored procedures without errors, perform an existence check using the integrated function EXISTS or the system views.\",\"breadcrumb\":{\"@id\":\"https:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/#primaryimage\",\"url\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/texture-design-273B124DF7D_1920x1080.jpg\",\"contentUrl\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/texture-design-273B124DF7D_1920x1080.jpg\",\"width\":1920,\"height\":1080},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"en\",\"item\":\"https:\/\/expert-only.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Drop SQL Server stored procedures without errors\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/expert-only.com\/en\/#website\",\"url\":\"https:\/\/expert-only.com\/en\/\",\"name\":\"SQL and IT Tutorials\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/expert-only.com\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/expert-only.com\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/expert-only.com\/en\/#organization\",\"name\":\"Expert-Only\",\"url\":\"https:\/\/expert-only.com\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/expert-only.com\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2017\/09\/cropped-logo_Expert-Only.jpg\",\"contentUrl\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2017\/09\/cropped-logo_Expert-Only.jpg\",\"width\":381,\"height\":174,\"caption\":\"Expert-Only\"},\"image\":{\"@id\":\"https:\/\/expert-only.com\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/ExpertOnlyCom\/\",\"https:\/\/x.com\/expert_only\",\"https:\/\/www.youtube.com\/channel\/UCMS5sR_FwAetB0FmciNvUaA\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/expert-only.com\/en\/#\/schema\/person\/406a9576b52944f018739a42046873ef\",\"name\":\"Expert-Only\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/expert-only.com\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/084b15660763ff5b13bb60b2f52f97bb?s=96&d=identicon&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/084b15660763ff5b13bb60b2f52f97bb?s=96&d=identicon&r=g\",\"caption\":\"Expert-Only\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Drop SQL Server stored procedures without errors - T-SQL","description":"To Drop SQL Server stored procedures without errors, perform an existence check using the integrated function EXISTS or the system views.","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:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/","og_locale":"en_US","og_type":"article","og_title":"Drop SQL Server stored procedures without errors","og_description":"To Drop SQL Server stored procedures without errors, perform an existence check using the integrated function EXISTS or the system views.","og_url":"https:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/","og_site_name":"SQL and IT Tutorials","article_publisher":"https:\/\/www.facebook.com\/ExpertOnlyCom\/","article_published_time":"2022-11-11T06:26:00+00:00","article_modified_time":"2022-12-01T08:25:14+00:00","og_image":[{"width":1920,"height":1080,"url":"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/texture-design-273B124DF7D_1920x1080.jpg","type":"image\/jpeg"}],"author":"Expert-Only","twitter_card":"summary_large_image","twitter_creator":"@expert_only","twitter_site":"@expert_only","twitter_misc":{"Written by":"Expert-Only","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/#article","isPartOf":{"@id":"https:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/"},"author":{"name":"Expert-Only","@id":"https:\/\/expert-only.com\/en\/#\/schema\/person\/406a9576b52944f018739a42046873ef"},"headline":"Drop SQL Server stored procedures without errors","datePublished":"2022-11-11T06:26:00+00:00","dateModified":"2022-12-01T08:25:14+00:00","mainEntityOfPage":{"@id":"https:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/"},"wordCount":395,"commentCount":0,"publisher":{"@id":"https:\/\/expert-only.com\/en\/#organization"},"image":{"@id":"https:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/#primaryimage"},"thumbnailUrl":"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/texture-design-273B124DF7D_1920x1080.jpg","articleSection":["T-SQL"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/","url":"https:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/","name":"Drop SQL Server stored procedures without errors - T-SQL","isPartOf":{"@id":"https:\/\/expert-only.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/#primaryimage"},"image":{"@id":"https:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/#primaryimage"},"thumbnailUrl":"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/texture-design-273B124DF7D_1920x1080.jpg","datePublished":"2022-11-11T06:26:00+00:00","dateModified":"2022-12-01T08:25:14+00:00","description":"To Drop SQL Server stored procedures without errors, perform an existence check using the integrated function EXISTS or the system views.","breadcrumb":{"@id":"https:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/#primaryimage","url":"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/texture-design-273B124DF7D_1920x1080.jpg","contentUrl":"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/texture-design-273B124DF7D_1920x1080.jpg","width":1920,"height":1080},{"@type":"BreadcrumbList","@id":"https:\/\/expert-only.com\/en\/t-sql\/drop-sql-server-stored-procedures\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"en","item":"https:\/\/expert-only.com\/en\/"},{"@type":"ListItem","position":2,"name":"Drop SQL Server stored procedures without errors"}]},{"@type":"WebSite","@id":"https:\/\/expert-only.com\/en\/#website","url":"https:\/\/expert-only.com\/en\/","name":"SQL and IT Tutorials","description":"","publisher":{"@id":"https:\/\/expert-only.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/expert-only.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/expert-only.com\/en\/#organization","name":"Expert-Only","url":"https:\/\/expert-only.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/expert-only.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/expert-only.com\/wp-content\/uploads\/2017\/09\/cropped-logo_Expert-Only.jpg","contentUrl":"https:\/\/expert-only.com\/wp-content\/uploads\/2017\/09\/cropped-logo_Expert-Only.jpg","width":381,"height":174,"caption":"Expert-Only"},"image":{"@id":"https:\/\/expert-only.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ExpertOnlyCom\/","https:\/\/x.com\/expert_only","https:\/\/www.youtube.com\/channel\/UCMS5sR_FwAetB0FmciNvUaA"]},{"@type":"Person","@id":"https:\/\/expert-only.com\/en\/#\/schema\/person\/406a9576b52944f018739a42046873ef","name":"Expert-Only","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/expert-only.com\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/084b15660763ff5b13bb60b2f52f97bb?s=96&d=identicon&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/084b15660763ff5b13bb60b2f52f97bb?s=96&d=identicon&r=g","caption":"Expert-Only"}}]}},"_links":{"self":[{"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/posts\/18937","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/comments?post=18937"}],"version-history":[{"count":0,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/posts\/18937\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/media\/10874"}],"wp:attachment":[{"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/media?parent=18937"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/categories?post=18937"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/tags?post=18937"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}