CopyPastor

Detecting plagiarism made easy.

Score: 0.8047626095546325; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2025-07-28
by Gonzalo

Original Post

Original - Posted on 2024-04-02
by Ross Bush



            
Present in both answers; Present only in the new answer; Present only in the old answer;

You will need to create a separate entry for each of the letters that you want to include, its awful... E.g. (table mappings JSON)
``` { "rule-type": "selection", "rule-id": "200", "rule-name": "include-databases-a", "object-locator": { "schema-name": "a%", "table-name": "%" }, "rule-action": "include" }, { "rule-type": "selection", "rule-id": "201", "rule-name": "include-databases-b", "object-locator": { "schema-name": "b%", "table-name": "%" }, "rule-action": "include" }, { "rule-type": "selection", "rule-id": "202", "rule-name": "include-databases-c", "object-locator": { "schema-name": "c%", "table-name": "%" }, "rule-action": "include" }, { "rule-type": "selection", "rule-id": "203", "rule-name": "include-databases-d", "object-locator": { "schema-name": "d%", "table-name": "%" }, "rule-action": "include" }, ```
You can create a wildcard against all tables in the selected schema(s). I bet this would work.
{ "rules": [ { "rule-type": "selection", "rule-id": "1", "rule-name": "include tables - schema a", "object-locator": { "schema-name": "a%", "table-name": "%" }, "rule-action": "include", "filters": [] }, { "rule-type": "selection", "rule-id": "2", "rule-name": "include tables - schema b", "object-locator": { "schema-name": "b%", "table-name": "%" }, "rule-action": "include", "filters": [] }, { "rule-type": "selection", "rule-id": "3", "rule-name": "include tables - schema c", "object-locator": { "schema-name": "c%", "table-name": "%" }, "rule-action": "include", "filters": [] } ] }

        
Present in both answers; Present only in the new answer; Present only in the old answer;