-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apply Sanitize String to Queries, too. #184
Comments
(cherry picked from commit d4904cd)
(cherry picked from commit d4904cd)
FYI: I've not forgotten about this: I've been utterly bludgeoned by another project, so I haven't had even a moment to look at this. |
@joyfullservice, since you now export the extended properties for tables, do you happen to know if they can be done to queries, too? If so, can we do this to queries? The only difference I'm seeing is the designer view settings, but if they can be exported as a "property" then, that may ease this process. Thoughts? |
As far as I am aware, there is not any similar feature for queries. (You can export many (but not all) query types to XML, but you don't get the extended properties like you do with tables.) Personally, I I think the |
Darn; that was my fear. I played around with it briefly and didn't see anything obvious so that's disappointing. I have some light at the end of the tunnel, so I may be able to pick this up in the mid-term. |
I think I may have made some progress on this, but want to lay out some findings for others to check before I get too far here. This may also help with a validator for merging, as well, but first things first. I'm focusing on the file information for Queries and tables here, not the form details, however, some of this also applies to the forms.
dbMemo "SQL" ="SELECT MSysObjects.Name\015\012FROM MSysObjects\015\012WHERE (((MSysObjects.type"
") In (4)));\015\012"
ElementType "ElementName" ="SomeData"
|
Given the reworked sanitize functions, and the lack of distinct things which should be sanitized out of queries, I'm not sure if this should be cleared out or not. I'm guessing not; we can always reopen this in the future, but given some specific santization items are taken care of with queries now, I'm not sure if we need to do anything particular here. |
Apply sanitize to queries as well.
I'll also toss in the regex and see if performance is hit; doesn't look like it is.
The text was updated successfully, but these errors were encountered: