
How do I list all schemas in PostgreSQL? - Database …
Apr 15, 2013 · When using PostgreSQL v9.1, how do I list all of the schemas using SQL? I was expecting something along the lines of: SELECT something FROM pg_blah;
The database principal owns a schema in the database, and …
Feb 12, 2025 · I am trying to delete a principal from the database but can't because it owns a schema. When I go to edit the user, however, the box to uncheck schema is blue and …
postgresql - Schema design for user activity logging - Database ...
Nov 1, 2016 · I'm designing a schema to support logging of user activity, where users must be able to search: Across all events (events of any type), with datetime range, by username; …
What is the difference between logical schema and physical schema?
A logical schema won't exist in your database. A logical schema is a design-centric database structure built to meet your business requirements. It is a model that exists on a white board or …
SQL Server - granting permissions to an entire schema vs. object?
Jan 6, 2016 · I'm very green when it comes to the world of database permissions management in SQL Sever. Let's keep an example simple. Say account 'admin' is the owner of schemas A, B, …
How to design banking financial transactions database schema?
Oct 13, 2021 · How would be better to design the database schema having many transaction types? It also should be easy to get a list of all transactions of an account. The simplest way to …
sql server - Database Administrators Stack Exchange
SELECT * FROM fn_my_permissions('Database.Schema.Table', 'OBJECT'); REVERT; If the user is tied to an AD user or group, consider running repadmin /syncall to force any changes made …
sql server - How do you document your databases? - Database ...
(SQL-Server) What tool do you use? Documentation Storage Format for database schema/meta-data? Word documents Excel spreadsheet Plain Text Documentation process or policies? I …
Backup only one schema and restore it on another server
Nov 13, 2016 · 49 I have a database named "A" which has two schemas "B" and "C". I want to backup and restore Schema "B" (including data) on a different server. Not sure how to do this …
School Database Schema - Database Administrators Stack Exchange
Oct 21, 2020 · Im working on a simple school system which handles student registration and schedule. Furthermore, the system should handle different type of schools Such as …