Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Delete an archive table

lonesoac01
Giga Guru

Hello all,

 

    How can I delete the table of: ar_u_product_incident?  I have already deleted all of the records, but I am not finding the ability to just delete the table.

 

Thank you.

3 REPLIES 3

Mike_R
Kilo Patron

I think archived tables are read only. I would suggest deactivating the archive rule and then open a ticket with support to see if they can delete the table.

I could not find the archive rule at all.  I found the article of: https://docs.servicenow.com/bundle/sandiego-application-development/page/app-store/dev_portal/API_re...

and it gave me the commands of:

var tu = new TableUtils();
tu.dropTableAndExtensions("ar_u_product_incident");

 

I ran the commands and it looks like the table was deleted.

lonesoac01
Giga Guru

Thank you so very much for the reply!  I will do as you note and report back.