{"id":21638481,"url":"https://github.com/linx-software/dynamic-csv-generation","last_synced_at":"2026-05-19T15:40:05.285Z","repository":{"id":222644100,"uuid":"757956979","full_name":"linx-software/Dynamic-CSV-Generation","owner":"linx-software","description":"This solution shows how you can dynamically generate a CSV based off a table name that you are passing in. It will dynamically compile the SQL using Linx expressions, and then create a CSV File. ","archived":false,"fork":false,"pushed_at":"2024-03-06T06:50:48.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T02:43:58.446Z","etag":null,"topics":["csv","dynamic","linx","sql"],"latest_commit_sha":null,"homepage":"https://linx.software/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/linx-software.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-02-15T10:38:06.000Z","updated_at":"2024-06-21T11:35:33.000Z","dependencies_parsed_at":"2024-02-15T12:52:38.743Z","dependency_job_id":null,"html_url":"https://github.com/linx-software/Dynamic-CSV-Generation","commit_stats":null,"previous_names":["linx-software/dynamic-csv-generation"],"tags_count":0,"template":false,"template_full_name":"linx-software/template-repo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linx-software%2FDynamic-CSV-Generation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linx-software%2FDynamic-CSV-Generation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linx-software%2FDynamic-CSV-Generation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linx-software%2FDynamic-CSV-Generation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linx-software","download_url":"https://codeload.github.com/linx-software/Dynamic-CSV-Generation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244333023,"owners_count":20436123,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csv","dynamic","linx","sql"],"created_at":"2024-11-25T04:09:48.162Z","updated_at":"2026-05-19T15:40:00.253Z","avatar_url":"https://github.com/linx-software.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dynamic CSV Generator\r\n\r\n## Description\r\nGenerate a CSV file for a MS SQL Server table. The solution contains a single function that given a connection string, table name, and file path, will create a CSV file containing the contents of the table.\r\n\r\nIt uses Linx's capabilities to run dynamic queries and write to text files. \r\n\r\n## Usage\r\n\r\n#### Try it out\r\nSelect the GenerateCSVFromTable function, click Debug, supply values for ConnectionString, TableName, and FilePath parameters, and click Start.\r\n\r\n#### Use it in your own Linx solution\r\nCopy GenerateCSVFromTable to your solution and call it from anywhere.\r\n\r\n## Limitations\r\n#### Only works with MS SQL Server\r\nTo use it with other databases, change the connection type and SQL properties in the GetCSVHeader and GetCSVData functions.\r\n#### Does not escape the delimiter and line feeds in source data\r\nIf the source data contains the delimiter and/or line feeds, the CSV file will be invalid. The function can be extended to cater for these scenarios.\r\n\r\n## Contributing\r\n\r\nFor questions please ask the [Linx community](https://linx/software/community). \r\n\r\n## License\r\n\r\n[MIT](https://github.com/linx-software/template-repo/blob/main/LICENSE.txt)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinx-software%2Fdynamic-csv-generation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinx-software%2Fdynamic-csv-generation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinx-software%2Fdynamic-csv-generation/lists"}