During the Creation steps in Deployment, I’ve had some problems because I used preserved SQL names (check, revoke) in the data model. How come the SF does not validate this during Creation? Or am I missing something?
The list of preserved words is getting bigger and bigger..
Best answer by Mark Jongeling
Tejo van de Bor wrote:
hi Mark,
Ah, I see the validation now, but it is only a warning (in testing I normally skip these warnings 😬 ). Shouldn’t this be an error as the sql code breaks when executing?
We did change the way the Software Factory handles these object names from 2022.1. When rolling out your model, object names are escaped using quotes ("”) around the name. This prevent an error from occurring and thus make it possible to roll out. We made this change due to Upcycled projects possibly having these object names. So the Warning severity is correct in this case.
I suppose you are working on the 2021.3 version which did not have these changes yet, then the severity may not be entirely correct. Many reserved keywords can be used in object names but indeed some are problematic.
Ah, I see the validation now, but it is only a warning (in testing I normally skip these warnings 😬 ). Shouldn’t this be an error as the sql code breaks when executing?
Ah, I see the validation now, but it is only a warning (in testing I normally skip these warnings 😬 ). Shouldn’t this be an error as the sql code breaks when executing?
We did change the way the Software Factory handles these object names from 2022.1. When rolling out your model, object names are escaped using quotes ("”) around the name. This prevent an error from occurring and thus make it possible to roll out. We made this change due to Upcycled projects possibly having these object names. So the Warning severity is correct in this case.
I suppose you are working on the 2021.3 version which did not have these changes yet, then the severity may not be entirely correct. Many reserved keywords can be used in object names but indeed some are problematic.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.