{"id":8776,"date":"2016-06-04T09:15:40","date_gmt":"2016-06-04T09:15:40","guid":{"rendered":"http:\/\/www.greytrix.com\/blogs\/sagex3\/?p=8776"},"modified":"2016-06-04T09:15:40","modified_gmt":"2016-06-04T09:15:40","slug":"find-the-database-type-to-execute-the-sql-query-from-sage-x3","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagex3\/2016\/06\/04\/find-the-database-type-to-execute-the-sql-query-from-sage-x3\/","title":{"rendered":"Find the Database Type to execute the SQL Query from Sage X3"},"content":{"rendered":"<p style=\"text-align: justify\">To implement the business logic we need to use SQL Query to fetch the required data from the Database. To execute the SQL Query from <strong><span style=\"color: #009444\"><a style=\"color: #009444\" href=\"http:\/\/www.greytrix.com\/product\/sage-x3\/gumu-x3-salesforce-integration\" target=\"_blank\">Sage X3<\/a><\/span><\/strong>\u00a0we need to know the database type. We can fetch the database type as below:<\/p>\n<p style=\"text-align: justify\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2016\/06\/Database-Type.png\" target=\"_blank\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter  wp-image-8777\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2016\/06\/Database-Type.png\" alt=\"Sage x3 Database Type\" width=\"580\" height=\"343\" \/><\/a><\/p>\n<p style=\"text-align: justify\">The \u201cTYPDBA\u201d column in \u201cADOSSIER\u201d table holds the value which will help to identify the Database type.<\/p>\n<p style=\"text-align: justify\">The above logic will return which database type is used to store the data.<\/p>\n<p style=\"text-align: justify\"><strong>\u201c3\u201d:<\/strong> This will return when the database type is <strong>\u201cOracle\u201d<\/strong><\/p>\n<p style=\"text-align: justify\"><strong>\u201c5\u201d:<\/strong> This will return when the database type is <strong>\u201cSQL\u201d<\/strong><\/p>\n<p style=\"text-align: justify\">And according to database type, the SQL query is executed and data is fetched from database.<\/p>\n<p style=\"text-align: justify\"><strong>Hope this blog helps!<\/strong><\/p>\n<h4 style=\"text-align: justify\"><\/h4>\n<h6 style=\"text-align: justify\"><strong>About Us<\/strong><\/h6>\n<p style=\"text-align: justify\">Greytrix is one stop solution provider for Sage ERP and Sage CRM needs. We provide complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third party add-on development and implementation expertise.<\/p>\n<p style=\"text-align: justify\"><a href=\"http:\/\/www.greytrix.com\/\" target=\"_blank\">Greytrix<\/a>\u00a0have some unique solutions of\u00a0<a href=\"http:\/\/www.greytrix.com\/product\/sage-crm\/gumu-sage-x3-integration\" target=\"_blank\">Sage X3\u2019s integration with Sage CRM<\/a>,\u00a0<a href=\"http:\/\/www.greytrix.com\/product\/sage-x3\/gumu-x3-salesforce-integration\" target=\"_blank\">Salesforce.com<\/a>\u00a0and\u00a0<a href=\"http:\/\/www.greytrix.com\/product\/magento-sage-integrations\/sage-x3-magento\" target=\"_blank\">Magento eCommerce<\/a>. It also offers best-in-class\u00a0<a href=\"http:\/\/www.greytrix.com\/product\/erp-development\/sage-x3\" target=\"_blank\">Sage X3 customization and development services<\/a>\u00a0to Sage business partners, end users, and Sage PSG worldwide.<\/p>\n<p style=\"text-align: justify\">For more information on Sage X3 Integration and Services, please contact us at\u00a0<a href=\"mailto:x3@greytrix.com\" target=\"_blank\">x3@greytrix.com<\/a>\u00a0.We will be glad to assist you.<\/p>\n<p style=\"text-align: justify\"><strong><em>Other Related Blogs:<\/em><\/strong><\/p>\n<p style=\"text-align: justify\">&#8212;\u00a0<a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2015\/07\/30\/determines-the-quantity-of-available-memory-at-a-given-time\/\" target=\"_blank\">Determines the quantity of available memory at a given time<\/a><\/p>\n<p style=\"text-align: justify\">&#8212;\u00a0<a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2014\/11\/27\/how-to-determine-if-a-mask-variable-can-be-entered-or-is-displayed\/\" target=\"_blank\">How to determine if a mask variable can be entered or is displayed..?<\/a><\/p>\n<p style=\"text-align: justify\">&#8212;\u00a0<a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2016\/02\/09\/use-of-nomap-variable-in-sage-x3\/\" target=\"_blank\">Use of \u201cnomap\u201d variable in Sage X3<\/a><\/p>\n<p style=\"text-align: justify\">&#8212;\u00a0<a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2016\/05\/11\/how-to-know-a-mask-variable-is-initialized-or-not\/\" target=\"_blank\">How to know a Mask Variable is Initialized or not?<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To implement the business logic we need to use SQL Query to fetch the required data from the Database. To execute the SQL Query from Sage X3\u00a0we need to know the database type. We can fetch the database type as below: The \u201cTYPDBA\u201d column in \u201cADOSSIER\u201d table holds the value which will help to identify\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2016\/06\/04\/find-the-database-type-to-execute-the-sql-query-from-sage-x3\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[501,502,1941,1943,1947],"class_list":["post-8776","post","type-post","status-publish","format-standard","hentry","category-sage-erp-x3","tag-database-type","tag-database-type-to-execute-the-sql-query","tag-sage-x3-technical","tag-sage-x3-technical-blog","tag-sage-x3-technical-issues"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/8776","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/comments?post=8776"}],"version-history":[{"count":0,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/8776\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/media?parent=8776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/categories?post=8776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/tags?post=8776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}