refactoring-databases
Refactor rename field in many database tables
I am faced with renaming a field where the same fieldname is replicated across many tables. Looking for a script or free/low cost tool which will go through all the开发者_如何学Python tables and if[详细]
2023-04-07 18:13 分类:问答Is there something like a "column symlink" in Oracle?
I would like to have a column in my DB accessible via two column names temporarily. Why? The column name was开发者_如何学C badly chosen, I would like to refactor it. As I want my webapp to remain sta[详细]
2023-03-01 19:09 分类:问答Creating a SQL Server trigger to transition from a natural key to a surrogate key
Backstory At work where we\'re planning on deprecating a Natural Key column in one of our primary tables. The project consists of 100+ applications that link to this table/column; 400+ stored procedu[详细]
2023-01-19 21:45 分类:问答Does a version control database storage engine exist?
I was just wondering if a storage engine type existed that allowed you to do version control on row level contents. For instance, if I have a simple table with ID, name, value, and ID is the PK,开发者[详细]
2022-12-24 15:30 分类:问答In sql server, is there any way to check whether the schema change will impact on the stored procs?
In SQL Server, is there any way to check whether the changes in the schema will impact Stored Procedures (and/or Views)?[详细]
2022-12-24 15:00 分类:问答Ruby gsub problem when using backreference and hashes
The following code defines a hash with regular expressions (keys) and replacements (values). Then it iterates over the hash and replaces the string accordingly.[详细]
2022-12-16 12:17 分类:问答