{"id":16105346,"url":"https://github.com/byancamatos01/exercicioconstraint2","last_synced_at":"2025-04-06T02:33:34.998Z","repository":{"id":203301999,"uuid":"709104186","full_name":"ByancaMatos01/ExercicioConstraint2","owner":"ByancaMatos01","description":"EXERCICIO DE CONSTRAINT EM SQL SERVER","archived":false,"fork":false,"pushed_at":"2023-10-24T12:17:48.000Z","size":3,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T08:40:37.896Z","etag":null,"topics":["banco-de-dados","constraints","fatec-zl","sql"],"latest_commit_sha":null,"homepage":"","language":"TSQL","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/ByancaMatos01.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}},"created_at":"2023-10-24T02:43:22.000Z","updated_at":"2024-01-15T23:55:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"30e0a50b-faa1-4047-9b32-362bd77eef4f","html_url":"https://github.com/ByancaMatos01/ExercicioConstraint2","commit_stats":null,"previous_names":["byancamatos01/exercicioconstraint2"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByancaMatos01%2FExercicioConstraint2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByancaMatos01%2FExercicioConstraint2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByancaMatos01%2FExercicioConstraint2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByancaMatos01%2FExercicioConstraint2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ByancaMatos01","download_url":"https://codeload.github.com/ByancaMatos01/ExercicioConstraint2/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247426529,"owners_count":20937141,"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":["banco-de-dados","constraints","fatec-zl","sql"],"created_at":"2024-10-09T19:09:18.732Z","updated_at":"2025-04-06T02:33:34.979Z","avatar_url":"https://github.com/ByancaMatos01.png","language":"TSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ExercicioConstraint3\nCriar, em SQL Server, considerando o domínio de uma Maternidade, implementado na aula, conforme modelado:\n![image](https://github.com/ByancaMatos01/ExercicioConstraint2/assets/122841376/df30c755-e32e-4fd8-9147-14cad089297c)\nForam delimitadas as seguintes restrições:\nPara a tabela mãe:\n- O ID é auto incremental, iniciando em 1001 e indo de 1 em 1\n- Número de porta não pode ser negativo\n- CEP deve ter 8 dígitos\n- Telefone deve ter 10 dígitos\nPara a tabela medico:\n- Celular deve ter 11 dígitos\n- Celular não pode repetir\nPara a tabela bebe:\n- O ID é auto incremental, iniciando em 1 e indo de 1 em 1\n- Se não preenchida, a data de nascimento é o dia de hoje\n- Altura não pode ser negativa\n- Peso não pode ser negativ\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyancamatos01%2Fexercicioconstraint2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbyancamatos01%2Fexercicioconstraint2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyancamatos01%2Fexercicioconstraint2/lists"}