nerdexam
Snowflake

COF-C02 · Question #142

When cloning a database containing stored procedures and regular views, that have fully qualified table references, which of the following will occur?

The correct answer is A. The cloned views and the stored procedures will reference the cloned tables in the cloned. When cloning a database containing stored procedures and regular views with fully qualified table database (A). This ensures that the cloned database is a self-contained copy of the original, with all references pointing to objects within the same cloned database.

Storage and Data Protection

Question

When cloning a database containing stored procedures and regular views, that have fully qualified table references, which of the following will occur?

Options

  • AThe cloned views and the stored procedures will reference the cloned tables in the cloned
  • BAn error will occur, as views with qualified references cannot be cloned.
  • CAn error will occur, as stored objects cannot be cloned.
  • DThe stored procedures and views will refer to tables in the source database.

How the community answered

(53 responses)
  • A
    91% (48)
  • B
    6% (3)
  • C
    2% (1)
  • D
    2% (1)

Explanation

When cloning a database containing stored procedures and regular views with fully qualified table database (A). This ensures that the cloned database is a self-contained copy of the original, with all references pointing to objects within the same cloned database.

Topics

#Cloning#Zero-copy cloning#Stored Procedures#Views

Community Discussion

No community discussion yet for this question.

Full COF-C02 Practice