{"id":26260379,"url":"https://github.com/binbash23/mssql_generate_schema_scripts","last_synced_at":"2026-05-05T22:37:43.052Z","repository":{"id":282042171,"uuid":"947291721","full_name":"binbash23/mssql_generate_schema_scripts","owner":"binbash23","description":"Generate a complete set of SQL scripts for a Microsoft SQL Server database/schema including tables, views, functions, triggers, and stored procedures.","archived":false,"fork":false,"pushed_at":"2025-03-12T14:05:39.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T14:23:16.108Z","etag":null,"topics":["database","database-management","generate-schema-script","microsoft","mssql","mssql-database","mssqlserver","script","sql","sqlserver"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/binbash23.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":"2025-03-12T13:08:56.000Z","updated_at":"2025-03-12T14:18:24.000Z","dependencies_parsed_at":"2025-03-12T14:34:38.958Z","dependency_job_id":null,"html_url":"https://github.com/binbash23/mssql_generate_schema_scripts","commit_stats":null,"previous_names":["binbash23/mssql_generate_schema_scripts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binbash23%2Fmssql_generate_schema_scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binbash23%2Fmssql_generate_schema_scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binbash23%2Fmssql_generate_schema_scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binbash23%2Fmssql_generate_schema_scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/binbash23","download_url":"https://codeload.github.com/binbash23/mssql_generate_schema_scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243495495,"owners_count":20299923,"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":["database","database-management","generate-schema-script","microsoft","mssql","mssql-database","mssqlserver","script","sql","sqlserver"],"created_at":"2025-03-13T23:14:45.597Z","updated_at":"2026-05-05T22:37:43.048Z","avatar_url":"https://github.com/binbash23.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mssql_generate_schema_scripts\nGenerate a complete set of SQL scripts for a Microsoft SQL Server database/schema.\nThe generated scripts include table, view, function, trigger and stored procedure definitions. Also indices, column store table stuff, ... are included.\n\n```\nWritten 2025 by jens heine \u003cbinbash@gmx.net\u003e\n\nUsage   : export_schema_definition.ps1 MSSQLSERVER_NAME DB_NAME SCHEMA_NAME EXPORT_PATH\nNotes   : Run this tool in an administrator powershell.\n          You can exclude/include the object types to export in the top of the script.\nExample : .\\export_schema_definition.ps1 sql-server my_database dbo c:\\temp\n```\n\n\nIf you only want to generate scripts for stored procedures i.e. and no other objects, edit the header variables in the script and set them to $true or $false:\n\n```\n...\n# Select object types to export\n$export_views = $true\n$export_tables = $true\n$export_functions = $true\n$export_db_triggers = $true\n$export_table_triggers = $true\n$export_stored_procedures = $true\n...\n```\n\nAs a result you get 6 files including the sql scripts for the database objects (tables, views, ...) and a summry report how many objects of each type have been generated.\n\nPlease post comments, feature requests and/or bugs.\n\nBest regards, Jens\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinbash23%2Fmssql_generate_schema_scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinbash23%2Fmssql_generate_schema_scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinbash23%2Fmssql_generate_schema_scripts/lists"}