{"id":3365,"date":"2019-03-25T17:43:56","date_gmt":"2019-03-25T20:43:56","guid":{"rendered":"http:\/\/xexeu.elipse.com.br\/pt\/returning-all-tables-existing-in-a-database\/"},"modified":"2023-10-10T11:35:23","modified_gmt":"2023-10-10T14:35:23","slug":"returning-all-tables-existing-in-a-database","status":"publish","type":"post","link":"https:\/\/kb.elipse.com.br\/en\/returning-all-tables-existing-in-a-database\/","title":{"rendered":"Returning all tables existing in a database."},"content":{"rendered":"<div align=\"justify\">\n<p><b>Question:<\/b><\/p>\n<p>How can I return all the tables existing in an Access, Oracle, or SQL database?<\/p>\n<p><b>Solution:<\/b><\/p>\n<p>To do so, follow the procedures below according to the database type.<\/p>\n<p><span style=\"font-size: large;\"><u><b>Access<\/b><\/u><\/span><\/p>\n<p>To return the tables that are inside an Access file:<\/p>\n<p>1. Open the Access file.<\/p>\n<p>2. Go to where the user-generated tables are, right-click it and select <b>Browsing Options<\/b>.<\/p>\n<div align=\"center\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID5055\/1.png\" alt=\"\" width=\"500\" height=\"269\" align=\"Baseline\" border=\"0\" \/><\/div>\n<p>3. On <b>Browsing Options<\/b>, locate the display options, check <b>Show system objects<\/b>, and click <b>OK<\/b>.<\/p>\n<div align=\"center\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID5055\/2.png\" alt=\"\" width=\"500\" height=\"326\" align=\"Baseline\" border=\"0\" \/><\/div>\n<p>4. Still on Access, click <b>File <\/b>tab.<\/p>\n<p>5. On this tab, click <b>Users and permissions<\/b>, and then <b>Permissions for users and groups<\/b>.<\/p>\n<div align=\"center\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID5055\/3.png\" alt=\"\" width=\"500\" height=\"268\" align=\"Baseline\" border=\"0\" \/><\/div>\n<p>6. A window will be opened for user settings; on this window, on <b>Permissions <\/b>tab, select the Administrator use and check <b>Table in object types<\/b>.<\/p>\n<p>7. On the tables list (upper right corner), locate and select <b>MSysObjects <\/b>table.<\/p>\n<p>8. After selecting <b>MSysObjects <\/b>table, enable all Admin permissions for this table and click <b>OK<\/b>.<\/p>\n<div align=\"center\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID5055\/4.png\" alt=\"\" width=\"377\" height=\"387\" align=\"Baseline\" border=\"0\" \/><\/div>\n<p>9. On E3, create a query where you wish to use the information of the names of the tables existing in the database (for example, on a screen).<\/p>\n<p>10. Right-click the query and select <b>Configure<\/b>.<\/p>\n<div align=\"center\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID5055\/5.png\" alt=\"\" width=\"286\" height=\"283\" align=\"Baseline\" border=\"0\" \/><\/div>\n<p>11. On the configuration window, access <b>SQL <\/b>tab, check <b>Enable SQL customization<\/b>, and type the following code:<\/p>\n<div align=\"left\"><span style=\"font-family: Courier New;\">SELECT MSysObjects.Name AS Table_Name<\/span><br \/>\n<span style=\"font-family: Courier New;\">FROM MSysObjects<\/span><br \/>\n<span style=\"font-family: Courier New;\">WHERE (((Left(Name,1))\u201c~\u201d) AND ((Left(Name,4))\u201cMSys\u201d) AND ((MSysObjects.Type) In (1,4,6)))<\/span><br \/>\n<span style=\"font-family: Courier New;\">Order by MSysObjects.Name<\/span><\/div>\n<p>&nbsp;<\/p>\n<div align=\"center\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID5055\/6.png\" alt=\"\" width=\"500\" height=\"376\" align=\"Baseline\" border=\"0\" \/><\/div>\n<p>12. To check whether the query is right, access <b>Visualize <\/b>tab and click the red exclamation point to return the results of your query.<\/p>\n<div align=\"center\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID5055\/7.png\" alt=\"\" width=\"500\" height=\"375\" align=\"Baseline\" border=\"0\" \/><\/div>\n<p><span style=\"font-size: large;\"><u><b>SQL<\/b><\/u><\/span><\/p>\n<p>To return the tables that are inside an SQL database:<\/p>\n<p>1. Create a query where you wish to use the information of the names of the tables existing in the database (for example, on a screen).<\/p>\n<p>2. Right-click the query and select <b>Configure<\/b>.<\/p>\n<p>3. On the configuration window, access <b>SQL <\/b>tab, check<b> Enable SQL customization<\/b>, and type the following code:<\/p>\n<div align=\"left\"><span style=\"font-family: Courier New;\">SELECT Name<\/span><br \/>\n<span style=\"font-family: Courier New;\">FROM SysObjects<\/span><br \/>\n<span style=\"font-family: Courier New;\">WHERE Xtype=\u2019U\u2019<\/span><\/div>\n<p>4. To check whether the query is right, access <b>Visualize <\/b>tab and click the red exclamation point to return the results of your query.<\/p>\n<p><span style=\"font-size: large;\"><u><b>Oracle<\/b><\/u><\/span><\/p>\n<p>To return the tables that are inside an Oracle database:<\/p>\n<p>1. Create a query where you wish to use the information of the names of the tables existing in the database (for example, on a screen).<\/p>\n<p>2. Right-click the query and select <b>Configure<\/b>.<\/p>\n<p>3. On the configuration window, access SQL tab, check <b>Enable SQL customization<\/b>, and type the following code:<\/p>\n<div align=\"left\"><span style=\"font-family: Courier New;\">SELECT TABLE_NAME<\/span><br \/>\n<span style=\"font-family: Courier New;\">FROM ALL_TABLES<\/span><br \/>\n<span style=\"font-family: Courier New;\">WHERE\u00a0 (NOT TABLE_NAME LIKE \u2018%$%\u2019) AND (NOT TABLE_NAME LIKE \u2018%LOGMNR%\u2019)\u00a0\u00a0 AND (OWNER = \u2018\u2018)<\/span><\/div>\n<p>4. The <span style=\"font-family: Courier New;\">user <\/span>variable must be passed as query parameter. It stands for the user who recorded the data (a user set up in the database); Oracle\u2019s default user is <span style=\"font-family: Courier New;\">SYSTEM<\/span>. Make sure you\u2019ve typed it in upper case; in case you need it, use <i>UCase <\/i>function.<\/p>\n<p>5. To check whether the query is right, access <b>Visualize <\/b>tab and click the red exclamation point to return the results of your query; pass the user name when required.<\/p>\n<\/div>\n<p><!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content --><\/p>\n<div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Question: How can I return all the tables existing in an Access, Oracle, or SQL database? Solution: To do so, follow the procedures below according to the database type. Access&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0},"categories":[735],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Returning all tables existing in a database. - Elipse Knowledgebase<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kb.elipse.com.br\/en\/returning-all-tables-existing-in-a-database\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Returning all tables existing in a database.\" \/>\n<meta property=\"og:description\" content=\"Question: How can I return all the tables existing in an Access, Oracle, or SQL database? Solution: To do so, follow the procedures below according to the database type. Access&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kb.elipse.com.br\/en\/returning-all-tables-existing-in-a-database\/\" \/>\n<meta property=\"og:site_name\" content=\"Elipse Knowledgebase\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/elipsesoftware\" \/>\n<meta property=\"article:published_time\" content=\"2019-03-25T20:43:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-10T14:35:23+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID5055\/1.png\" \/>\n<meta name=\"author\" content=\"Elipse Software\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Elipse Software\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/returning-all-tables-existing-in-a-database\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/returning-all-tables-existing-in-a-database\/\"},\"author\":{\"name\":\"Elipse Software\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87\"},\"headline\":\"Returning all tables existing in a database.\",\"datePublished\":\"2019-03-25T20:43:56+00:00\",\"dateModified\":\"2023-10-10T14:35:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/returning-all-tables-existing-in-a-database\/\"},\"wordCount\":979,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"articleSection\":[\"DataBases\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kb.elipse.com.br\/en\/returning-all-tables-existing-in-a-database\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/returning-all-tables-existing-in-a-database\/\",\"url\":\"https:\/\/kb.elipse.com.br\/en\/returning-all-tables-existing-in-a-database\/\",\"name\":\"[:pt]Returning all tables existing in a database.[:en]Returning all tables existing in a database.[:] - Elipse Knowledgebase\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#website\"},\"datePublished\":\"2019-03-25T20:43:56+00:00\",\"dateModified\":\"2023-10-10T14:35:23+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/returning-all-tables-existing-in-a-database\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kb.elipse.com.br\/en\/returning-all-tables-existing-in-a-database\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/returning-all-tables-existing-in-a-database\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/kb.elipse.com.br\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Returning all tables existing in a database.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kb.elipse.com.br\/#website\",\"url\":\"https:\/\/kb.elipse.com.br\/\",\"name\":\"Elipse Knowledgebase\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kb.elipse.com.br\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\",\"name\":\"Elipse Software\",\"url\":\"https:\/\/kb.elipse.com.br\/\",\"sameAs\":[\"http:\/\/www.facebook.com\/elipsesoftware\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png\",\"contentUrl\":\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png\",\"width\":161,\"height\":58,\"caption\":\"Elipse Software\"},\"image\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87\",\"name\":\"Elipse Software\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g\",\"caption\":\"Elipse Software\"},\"url\":\"https:\/\/kb.elipse.com.br\/en\/author\/webmasterelipse-com-br\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Returning all tables existing in a database. - Elipse Knowledgebase","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:\/\/kb.elipse.com.br\/en\/returning-all-tables-existing-in-a-database\/","og_locale":"en_US","og_type":"article","og_title":"[:pt]Returning all tables existing in a database.[:en]Returning all tables existing in a database.[:] - Elipse Knowledgebase","og_description":"Question: How can I return all the tables existing in an Access, Oracle, or SQL database? Solution: To do so, follow the procedures below according to the database type. Access&hellip;","og_url":"https:\/\/kb.elipse.com.br\/en\/returning-all-tables-existing-in-a-database\/","og_site_name":"Elipse Knowledgebase","article_publisher":"http:\/\/www.facebook.com\/elipsesoftware","article_published_time":"2019-03-25T20:43:56+00:00","article_modified_time":"2023-10-10T14:35:23+00:00","og_image":[{"url":"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID5055\/1.png"}],"author":"Elipse Software","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Elipse Software","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kb.elipse.com.br\/en\/returning-all-tables-existing-in-a-database\/#article","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/en\/returning-all-tables-existing-in-a-database\/"},"author":{"name":"Elipse Software","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87"},"headline":"Returning all tables existing in a database.","datePublished":"2019-03-25T20:43:56+00:00","dateModified":"2023-10-10T14:35:23+00:00","mainEntityOfPage":{"@id":"https:\/\/kb.elipse.com.br\/en\/returning-all-tables-existing-in-a-database\/"},"wordCount":979,"commentCount":0,"publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"articleSection":["DataBases"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kb.elipse.com.br\/en\/returning-all-tables-existing-in-a-database\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kb.elipse.com.br\/en\/returning-all-tables-existing-in-a-database\/","url":"https:\/\/kb.elipse.com.br\/en\/returning-all-tables-existing-in-a-database\/","name":"[:pt]Returning all tables existing in a database.[:en]Returning all tables existing in a database.[:] - Elipse Knowledgebase","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/#website"},"datePublished":"2019-03-25T20:43:56+00:00","dateModified":"2023-10-10T14:35:23+00:00","breadcrumb":{"@id":"https:\/\/kb.elipse.com.br\/en\/returning-all-tables-existing-in-a-database\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kb.elipse.com.br\/en\/returning-all-tables-existing-in-a-database\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/kb.elipse.com.br\/en\/returning-all-tables-existing-in-a-database\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/kb.elipse.com.br\/en\/"},{"@type":"ListItem","position":2,"name":"Returning all tables existing in a database."}]},{"@type":"WebSite","@id":"https:\/\/kb.elipse.com.br\/#website","url":"https:\/\/kb.elipse.com.br\/","name":"Elipse Knowledgebase","description":"","publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kb.elipse.com.br\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/kb.elipse.com.br\/#organization","name":"Elipse Software","url":"https:\/\/kb.elipse.com.br\/","sameAs":["http:\/\/www.facebook.com\/elipsesoftware"],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/","url":"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png","contentUrl":"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png","width":161,"height":58,"caption":"Elipse Software"},"image":{"@id":"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87","name":"Elipse Software","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g","caption":"Elipse Software"},"url":"https:\/\/kb.elipse.com.br\/en\/author\/webmasterelipse-com-br\/"}]}},"_links":{"self":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/3365"}],"collection":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/comments?post=3365"}],"version-history":[{"count":3,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/3365\/revisions"}],"predecessor-version":[{"id":15162,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/3365\/revisions\/15162"}],"wp:attachment":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/media?parent=3365"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/categories?post=3365"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/tags?post=3365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}