{"id":21289250,"url":"https://github.com/byron-villegas/sybase","last_synced_at":"2026-02-14T13:34:18.935Z","repository":{"id":261525152,"uuid":"883493358","full_name":"byron-villegas/sybase","owner":"byron-villegas","description":"Sybase example scripts I've used in projects","archived":false,"fork":false,"pushed_at":"2024-11-07T02:07:13.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-05T10:05:27.897Z","etag":null,"topics":["sybase"],"latest_commit_sha":null,"homepage":"","language":"TSQL","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/byron-villegas.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":"2024-11-05T04:00:48.000Z","updated_at":"2025-05-05T05:01:48.000Z","dependencies_parsed_at":"2024-11-07T02:37:51.661Z","dependency_job_id":"ac796f97-6734-44c7-842c-a07644cf4fe5","html_url":"https://github.com/byron-villegas/sybase","commit_stats":null,"previous_names":["byron-villegas/sybase"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/byron-villegas/sybase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byron-villegas%2Fsybase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byron-villegas%2Fsybase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byron-villegas%2Fsybase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byron-villegas%2Fsybase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/byron-villegas","download_url":"https://codeload.github.com/byron-villegas/sybase/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byron-villegas%2Fsybase/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29444762,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T12:43:28.304Z","status":"ssl_error","status_checked_at":"2026-02-14T12:43:14.160Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["sybase"],"created_at":"2024-11-21T12:37:41.752Z","updated_at":"2026-02-14T13:34:18.921Z","avatar_url":"https://github.com/byron-villegas.png","language":"TSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sybase\nSybase scripts\n\n## System Procedures\n\n### sp_depends\nDisplays information about database object dependencies. you can use with the name of table and column\n\n```sql\nsp_depends table_example\n```\n\n| object         | type             |\n|----------------|------------------|\n| dbo.sp_example | stored procedure |\n\n| Column         | Type  | Object Names or Column Names        |\n|----------------|-------|-------------------------------------|\n| column_example | index | table_example_index(column_example) |\n\nWith specific table name and column name\n\n```sql\nsp_depends table_example, column_example\n```\n\n| object         | type             |\n|----------------|------------------|\n| dbo.sp_example | stored procedure |\n\n| Column         | Type  | Object Names or Column Names        |\n|----------------|-------|-------------------------------------|\n| column_example | index | table_example_index(column_example) |\n\n### sp_helpgroup\nReports information about a particular group or about all groups in the current database.\n\n| Group_name | Group_id |\n|------------|----------|\n| public     | 0        |\n\nWith specific group name\n\n```sql\nsp_helpgroup 'public'\n```\n\n| Group_name | Group_id | Users_in_group | Userid |\n|------------|----------|----------------|--------|\n| public     | 0        | dbo            | 1      |\n\n### sp_helprotect\nReports on permissions for database objects, users, groups, or roles. you can use with username\n\n| grantor | grantee      | type  | action           | object        | column | predicate | grantable |\n|---------|--------------|-------|------------------|---------------|--------|-----------|-----------|\n| dbo     | user_example | Grant | Select           | table_example | All    | NULL      | FALSE     |\n| dbo     | user_example | Grant | Insert           | table_example | All    | NULL      | FALSE     |\n| dbo     | user_example | Grant | Update           | table_example | All    | NULL      | FALSE     |\n| dbo     | user_example | Grant | Delete           | table_example | All    | NULL      | FALSE     |\n| dbo     | user_example | Grant | Execute          | sp_example    | All    | NULL      | FALSE     |\n| dbo     | dbo          | Grant | Create Function  |               | All    | NULL      | FALSE     |\n| dbo     | dbo          | Grant | Create Procedure |               | All    | NULL      | FALSE     |\n| dbo     | dbo          | Grant | Create Table     |               | All    | NULL      | FALSE     |\n| dbo     | dbo          | Grant | Create View      |               | All    | NULL      | FALSE     |\n\nWith specific username\n```sql\nsp_helprotect user_example\n```\n\n| grantor | grantee      | type  | action           | object        | column | predicate | grantable |\n|---------|--------------|-------|------------------|---------------|--------|-----------|-----------|\n| dbo     | user_example | Grant | Select           | table_example | All    | NULL      | FALSE     |\n| dbo     | user_example | Grant | Insert           | table_example | All    | NULL      | FALSE     |\n| dbo     | user_example | Grant | Update           | table_example | All    | NULL      | FALSE     |\n| dbo     | user_example | Grant | Delete           | table_example | All    | NULL      | FALSE     |\n| dbo     | user_example | Grant | Execute          | sp_example    | All    | NULL      | FALSE     |\n\n### sp_helpuser\nDisplays information about all users in the current database. you can use with username\n\n| Users_name | ID_in_db | Group_name | Login_name |\n|------------|----------|------------|------------|\n| dbo        | 1        | public     | sa         |\n\nWith specific username\n\n```sql\nsp_helpuser user_example\n```\n\n| Users_name   | ID_in_db | Group_name    | Login_name   |\n|--------------|----------|---------------|--------------|\n| user_example | 2        | group_example | user_example |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyron-villegas%2Fsybase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbyron-villegas%2Fsybase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyron-villegas%2Fsybase/lists"}