{"id":14070878,"url":"https://github.com/cavo789/vbs_sql_sp_columns","last_synced_at":"2025-12-29T05:06:30.221Z","repository":{"id":101354662,"uuid":"127297907","full_name":"cavo789/vbs_sql_sp_columns","owner":"cavo789","description":"Connect to SQL Server, iterate every tables and generate a .csv file by table containing the table's structure","archived":false,"fork":false,"pushed_at":"2021-11-01T21:51:20.000Z","size":82,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-27T17:55:19.424Z","etag":null,"topics":["csv","documentation","marknotes","sql-server","table-structure","vbscript"],"latest_commit_sha":null,"homepage":null,"language":"VBScript","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/cavo789.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"publiccode":null,"codemeta":null}},"created_at":"2018-03-29T13:46:29.000Z","updated_at":"2025-10-06T09:24:04.000Z","dependencies_parsed_at":"2023-03-13T15:27:58.521Z","dependency_job_id":null,"html_url":"https://github.com/cavo789/vbs_sql_sp_columns","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cavo789/vbs_sql_sp_columns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cavo789%2Fvbs_sql_sp_columns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cavo789%2Fvbs_sql_sp_columns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cavo789%2Fvbs_sql_sp_columns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cavo789%2Fvbs_sql_sp_columns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cavo789","download_url":"https://codeload.github.com/cavo789/vbs_sql_sp_columns/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cavo789%2Fvbs_sql_sp_columns/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28110759,"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","status":"online","status_checked_at":"2025-12-29T02:00:07.021Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","documentation","marknotes","sql-server","table-structure","vbscript"],"created_at":"2024-08-13T07:08:08.962Z","updated_at":"2025-12-29T05:06:30.203Z","avatar_url":"https://github.com/cavo789.png","language":"VBScript","readme":"# SQL Server - Document tables, extract structure as CSV file\n\n![Banner](./banner.svg)\n\n\u003e Connect to SQL Server, iterate every tables and generate a .csv file by table containing the table's structure\n\n## Table of Contents\n\n- [Description](#description)\n- [Install](#install)\n- [Usage](#usage)\n- [Author](#author)\n- [License](#license)\n\n## Description\n\nConnect to a SQL Server database, obtain the list of\ntables in that db (process all schemas), get the structure\nof each tables thanks the sp_columns stored procedure and\nfor each table, export that structure in a results subfolder\n\nAt the end, we'll have as many files as there are tables in\nthe database. One .CSV file by table.\n\nThe content of the CSV will be what is returned by the sp_columns\nstored procedure.\n\n## Install\n\nGet a copy of the script, save it to your computer.\nGet also a copy of the `test.bat` file and edit that file.\n\nSee below, you'll need to mention four parameters\n\n```\ncscript.exe sql_sp_columns.vbs \"servername\" \"dbname\" \"login\" \"password\"\n```\n\nNote that you can also edit the first lines of the `sql_sp_columns.vbs` file and mention these infos immediatly as constants.\n\n## Usage\n\nJust run the `batch` file from a command prompt.\n\nA connection to your SQL DB will be made and one .csv file and one .md file will be created in the `results` subfolder; one by table.\n\n## Author\n\nAVONTURE Christophe\n\n## Contribute\n\nPRs not accepted.\n\n## License\n\n[MIT](LICENSE)\n","funding_links":[],"categories":["VBScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcavo789%2Fvbs_sql_sp_columns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcavo789%2Fvbs_sql_sp_columns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcavo789%2Fvbs_sql_sp_columns/lists"}