{"id":2601,"date":"2020-12-16T14:32:00","date_gmt":"2020-12-16T06:32:00","guid":{"rendered":"https:\/\/www.gudusoft.com\/?p=2601"},"modified":"2020-12-18T15:40:27","modified_gmt":"2020-12-18T07:40:27","slug":"3-ways-to-capture-data-lineage-in-sql-and-save-in-csv-in-just-1-minute","status":"publish","type":"post","link":"https:\/\/www.gudusoft.com\/fr\/3-ways-to-capture-data-lineage-in-sql-and-save-in-csv-in-just-1-minute\/","title":{"rendered":"3 fa\u00e7ons de capturer la lign\u00e9e des donn\u00e9es dans SQL et de l&#039;enregistrer au format CSV en seulement 1 minute"},"content":{"rendered":"<p>As you may know, data linage is quite important in the enterprise environment,<\/p>\n<p>it discovers the data flow\/movement from its source to destination via various changes and hops on its way.<\/p>\n<p>In this article, I will show you 3 ways to capture data lineage in SQL and save the changes and hops in a CSV file in just 1 minute.<\/p>\n<p>With this CSV file in hand, you can open it with Microsoft Excel to analyze the data movement or import the metadata in the CSV file into your data catalog for further investigation.<\/p>\n<h3>1. Use the SQLFlow Cloud web<\/h3>\n<p>After opening the site: <a href=\"https:\/\/sqlflow.gudusoft.com\">https:\/\/sqlflow.gudusoft.com<\/a>, just paste the SQL script that needs to be analyzed or upload a zip file including a bunch of SQL files.<\/p>\n<p>After clicking the Visualize button, the data lineage will be visualized like this, you may download the result in a CSV file.<\/p>\n<p><a href=\"https:\/\/sqlflow.gudusoft.com\/?utm_source=sqlflow-post&amp;utm_medium=post\"><img decoding=\"async\" class=\"alignnone wp-image-2605 size-full\" title=\"lign\u00e9e de donn\u00e9es au format csv\" src=\"https:\/\/www.gudusoft.com\/wp-content\/uploads\/2020\/12\/data-lineage-csv.png\" alt=\"lign\u00e9e de donn\u00e9es au format csv\" width=\"847\" height=\"476\" srcset=\"https:\/\/www.gudusoft.com\/wp-content\/uploads\/2020\/12\/data-lineage-csv-200x112.png 200w, https:\/\/www.gudusoft.com\/wp-content\/uploads\/2020\/12\/data-lineage-csv-300x169.png 300w, https:\/\/www.gudusoft.com\/wp-content\/uploads\/2020\/12\/data-lineage-csv-400x225.png 400w, https:\/\/www.gudusoft.com\/wp-content\/uploads\/2020\/12\/data-lineage-csv-600x337.png 600w, https:\/\/www.gudusoft.com\/wp-content\/uploads\/2020\/12\/data-lineage-csv-768x432.png 768w, https:\/\/www.gudusoft.com\/wp-content\/uploads\/2020\/12\/data-lineage-csv-800x450.png 800w, https:\/\/www.gudusoft.com\/wp-content\/uploads\/2020\/12\/data-lineage-csv.png 847w\" sizes=\"(max-width: 847px) 100vw, 847px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h3>2. Use the SQLFlow Rest API<\/h3>\n<p>You may submit a single SQL file or a zip file including a bunch of SQL files to the SQLFlow server in your favorite programming language such as Java, Python, C# and etc,<\/p>\n<p>and return the desired data lineage in CSV, JSON, Graphml format.<\/p>\n<p>Click the image below to check the detailed instructions.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/www.gudusoft.com\/fr\/sqlflow-restful-api\/?utm_source=sqlflow-post&amp;utm_medium=post\"><img decoding=\"async\" class=\"wp-image-2607 size-large\" src=\"https:\/\/www.gudusoft.com\/wp-content\/uploads\/2020\/12\/sqlflow-rest-api-1024x503.png\" alt=\"sqlflow rest api\" width=\"1024\" height=\"503\" srcset=\"https:\/\/www.gudusoft.com\/wp-content\/uploads\/2020\/12\/sqlflow-rest-api-200x98.png 200w, https:\/\/www.gudusoft.com\/wp-content\/uploads\/2020\/12\/sqlflow-rest-api-300x147.png 300w, https:\/\/www.gudusoft.com\/wp-content\/uploads\/2020\/12\/sqlflow-rest-api-400x196.png 400w, https:\/\/www.gudusoft.com\/wp-content\/uploads\/2020\/12\/sqlflow-rest-api-600x295.png 600w, https:\/\/www.gudusoft.com\/wp-content\/uploads\/2020\/12\/sqlflow-rest-api-768x377.png 768w, https:\/\/www.gudusoft.com\/wp-content\/uploads\/2020\/12\/sqlflow-rest-api-800x393.png 800w, https:\/\/www.gudusoft.com\/wp-content\/uploads\/2020\/12\/sqlflow-rest-api-1024x503.png 1024w, https:\/\/www.gudusoft.com\/wp-content\/uploads\/2020\/12\/sqlflow-rest-api.png 1130w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h3>3. Use the Grabit tool<\/h3>\n<p>You may also use a standalone tool: <a href=\"https:\/\/www.gudusoft.com\/fr\/grabit\/\">Grabit<\/a> that collect SQL script from the file system, Github\/Bitbucket, databases<\/p>\n<p>and send it to the SQLFlow for analysis to get the data lineage in CSV, JSON, Graphml format.<\/p>\n<p>This tool is now in the beta phase if you like to give it a try, just <a href=\"https:\/\/www.gudusoft.com\/fr\/grabit-beta-sign-up\/\">sign up<\/a> and we will send you the more detailed information.<\/p>","protected":false},"excerpt":{"rendered":"<p>As you may know, data linage is quite important in the enterprise environment, it [&hellip;]<\/p>","protected":false},"author":1,"featured_media":2605,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[38],"tags":[],"_links":{"self":[{"href":"https:\/\/www.gudusoft.com\/fr\/wp-json\/wp\/v2\/posts\/2601"}],"collection":[{"href":"https:\/\/www.gudusoft.com\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gudusoft.com\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gudusoft.com\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gudusoft.com\/fr\/wp-json\/wp\/v2\/comments?post=2601"}],"version-history":[{"count":9,"href":"https:\/\/www.gudusoft.com\/fr\/wp-json\/wp\/v2\/posts\/2601\/revisions"}],"predecessor-version":[{"id":2618,"href":"https:\/\/www.gudusoft.com\/fr\/wp-json\/wp\/v2\/posts\/2601\/revisions\/2618"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.gudusoft.com\/fr\/wp-json\/wp\/v2\/media\/2605"}],"wp:attachment":[{"href":"https:\/\/www.gudusoft.com\/fr\/wp-json\/wp\/v2\/media?parent=2601"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gudusoft.com\/fr\/wp-json\/wp\/v2\/categories?post=2601"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gudusoft.com\/fr\/wp-json\/wp\/v2\/tags?post=2601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}