{"id":22141642,"url":"https://github.com/bearddan2000/groovy-cli-gradle-sqlserver-com-tbl-exp","last_synced_at":"2025-03-24T11:22:57.801Z","repository":{"id":234055415,"uuid":"697869253","full_name":"bearddan2000/groovy-cli-gradle-sqlserver-com-tbl-exp","owner":"bearddan2000","description":"Creates a small database table","archived":false,"fork":false,"pushed_at":"2023-09-28T16:29:44.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T16:33:07.738Z","etag":null,"topics":["cli","com","driver","exp","gradle","groovy","log4j","ms","sql","sqlserver","tbl"],"latest_commit_sha":null,"homepage":"https://github.com/bearddan2000/groovy-cli-gradle-sqlserver-com-tbl-exp","language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bearddan2000.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-09-28T16:29:42.000Z","updated_at":"2023-09-28T16:29:48.000Z","dependencies_parsed_at":"2024-04-18T03:31:39.735Z","dependency_job_id":"ec06f9c3-403b-4177-a49d-adac98fc0f88","html_url":"https://github.com/bearddan2000/groovy-cli-gradle-sqlserver-com-tbl-exp","commit_stats":null,"previous_names":["bearddan2000/groovy-cli-gradle-sqlserver-com-tbl-exp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bearddan2000%2Fgroovy-cli-gradle-sqlserver-com-tbl-exp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bearddan2000%2Fgroovy-cli-gradle-sqlserver-com-tbl-exp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bearddan2000%2Fgroovy-cli-gradle-sqlserver-com-tbl-exp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bearddan2000%2Fgroovy-cli-gradle-sqlserver-com-tbl-exp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bearddan2000","download_url":"https://codeload.github.com/bearddan2000/groovy-cli-gradle-sqlserver-com-tbl-exp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245258409,"owners_count":20586012,"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":["cli","com","driver","exp","gradle","groovy","log4j","ms","sql","sqlserver","tbl"],"created_at":"2024-12-01T21:14:11.212Z","updated_at":"2025-03-24T11:22:57.780Z","avatar_url":"https://github.com/bearddan2000.png","language":"Groovy","readme":"# groovy-cli-gradle-sqlserver-com-tbl-exp\n\n## Description\nCreates a small database table\ncalled `dog`. This table, `dog`, has been normalized to 3NF.\nTwo new tables have been added, `breedLookup` and `colorLookup`.\nCreates a new table `dog_expanded` that joins\n`dog`, `breedLookup` and `colorLookup`. Added clustered indexes on\n`dog`.breedId and `dog`.colorId. Turned `dog_expanded` into a view. Using\na common table expression with the aggregate function\nCOUNT, create a new view `breed_count`. All output normally\nseen in a terminal will be in `groovy-srv/log` which will dump to the screen. The project may seem to hang but the logs from the container must be written to the project this can take up to 3 min.\n\n## Tech stack\n- groovy\n- gradle\n  - log4j\n  - ms sql driver\n\n## Docker stack\n- gradle:jdk11\n- mcr.microsoft.com/mssql/server:2017-latest-ubuntu\n\n## To run\n`sudo ./install.sh -u`\nCreates groovy-srv/log\n\n## To stop\n`sudo ./install.sh -d`\nRemoves groovy-srv/log\n\n## For help\n`sudo ./install.sh -h`\n\n## Credit\nhttps://github.com/htorun/dbtableprinter\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbearddan2000%2Fgroovy-cli-gradle-sqlserver-com-tbl-exp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbearddan2000%2Fgroovy-cli-gradle-sqlserver-com-tbl-exp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbearddan2000%2Fgroovy-cli-gradle-sqlserver-com-tbl-exp/lists"}