134
Views
7
Comments
Truncate table to clean data
Question

Hi everyone,

I want to clean data in database and remove identity. So i use advance sql with code 

Truncate <database>

and got 1 permission error message.

Expected: how can to truncate or drop  1 database in OutSystems ODC.

Thanks !

2024-10-05 13-30-20
Huy Hoang The

I think this solution is outdate with ODC studio (OutSystems ODC)

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP


Why do you think that? Although nowhere officially documented, it looks like that in ODC like in O11 you are not will get permission to perform a TRUNCATE SQL statement.

2021-05-18 19-42-11
Gabriel Melo

Hi @Huy Hoang The,

When I need to truncate an entity, I cut and paste it in service studio. This way, a new table will be created, and OutSystems metadata will be updated to use it.

2024-10-05 13-30-20
Huy Hoang The

I know this. This is good trick. But i want know orther way

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.