Aracılığıyla paylaş


DROP RECIPIENT

Şunlar için geçerlidir:evet olarak işaretlendi Databricks SQL evet olarak işaretlendi Databricks Runtime 10.4 LTS ve üzeri evet olarak işaretlendi yalnızca Unity Kataloğu için

Alıcıyı bırakır. Alıcı sistemde yoksa bir özel durum oluşturulur. Bir alıcıyı bırakmak için sahibi olmanız gerekir.

Sözdizimi

DROP RECIPIENT [ IF EXISTS ] recipient_name

Parametreler

  • EĞER VARSA

    Belirtilirse, alıcı mevcut olmadığında bir istisna atılmaz.

  • recipient_name

    Sistemdeki mevcut bir alıcının adı. İsim mevcut değilse, bir istisna fırlatılır.

Örnekler

-- Create `other_corp` recipient
> CREATE RECIPIENT other_corp COMMENT 'OtherCorp.com';

-- Retrieve the activation link
> DESCRIBE RECIPIENT other_corp;
  name       created_at                   created_by                 comment       activation_link   active_token_id                      active_token_expiration_time rotated_token_id rotated_token_expiration_time
  ---------- ---------------------------- -------------------------- ------------- ----------------- ------------------------------------ ---------------------------- ---------------- -----------------------------
  other_corp 2022-01-01T00:00:00.000+0000 alwaysworks@databricks.com OtherCorp.com https://send/this 0160c81f-5262-40bb-9b03-3ee12e6d98d7 9999-12-31T23:59:59.999+0000 NULL              NULL

-- Drop the recipient
> DROP RECIPIENT other_corp;

-- Drop the recipient using IF EXISTS.
> DROP RECIPIENT IF EXISTS other_corp;