{"id":3119,"date":"2014-03-16T20:29:31","date_gmt":"2014-03-16T20:29:31","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/16\/problem-about-embedded-sql-collection-of-common-programming-errors\/"},"modified":"2014-03-16T20:29:31","modified_gmt":"2014-03-16T20:29:31","slug":"problem-about-embedded-sql-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/16\/problem-about-embedded-sql-collection-of-common-programming-errors\/","title":{"rendered":"problem about embedded-sql-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/c3deecdae51760d00e51b8b4fd2f09eb?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nDamith<br \/>\nsql database embedded-sql<br \/>\nHere is a part code form my embedded SQL programEXEC SQL IF EXISTS(SELECT * FROM table_name WHERE bool_condition) BEGIN &#8230; END;It gives the error An unexpected token &#8220;IF EXISTS(SELECT * FROM table_name &#8221; was foundfollowing &#8220;BEGIN-OF-STATEMENT&#8221;. Expected tokens may include: &#8220;&#8221;. SQLSTATE=42601Can anyone tell what is wrong?<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Damith sql database embedded-sql Here is a part code form my embedded SQL programEXEC SQL IF EXISTS(SELECT * FROM table_name WHERE bool_condition) BEGIN &#8230; END;It gives the error An unexpected token &#8220;IF EXISTS(SELECT * FROM table_name &#8221; was foundfollowing &#8220;BEGIN-OF-STATEMENT&#8221;. Expected tokens may include: &#8220;&#8221;. SQLSTATE=42601Can anyone tell what is wrong? Web site is in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3119","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3119","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=3119"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3119\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3119"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3119"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}