Comments
Sort by recent activity
Hi @rpcasey001 - I have just verified that SQL Data Generator can connect to and insert data into an Azure SQL DB - though of course the two types of supported authentication in the tool are Windows and SQL Server Auth, so obviously I had to connect via SQL Auth and it worked fine! I would imagine this is true for MI as well (but unfortunately don't have access to one to test!), however I don't believe Azure SQL Data Warehouse is supported. As for IaaS VMs running SQL Server, this should function absolutely fine, as the tool supports up to SQL Server 2019: https://documentation.red-gate.com/sdg/getting-started/requirements Let me know if I can help further! [image] / comments
Hi @rpcasey001 - I have just verified that SQL Data Generator can connect to and insert data into an Azure SQL DB - though of course the two types of supported authentication in the tool are Window...
Hi @kevinumass thank you for your post! I would say the best way to achieve what you're looking for would be something like a Row-Internal Sync rule with a CASE statement. Target the column you want to mask (in this example I'll use real_num), set both DMSPARAM1 and DMSPARAM2 to be Numbers, Integer (Random) with high and low bounds as 16 and 0 respectively. Then in the Column Replacement Values Clause go for something like "CASE WHEN DMSPARAM1 = real_num THEN DMSPARAM2 ELSE DMSPARAM1 END)" You could even go for an additional layer of logic by adding a third DMSPARAM or doing additional WHEN/THEN to say if DMSPARAM2 also = real_num and is greater than 0, then just minus 1 from the number, else add 1. The kicker here is that after the operation nobody will know which row got a DMSPARAM and which just had 1 minused/added to it. There's more info on Row-Internal rules here: https://www.red-gate.com/hub/university/sql-provision/sql-provision under "Synchronizing Masked Information" I hope this helps? Let me know if you have any additional questions! / comments
Hi @kevinumass thank you for your post!I would say the best way to achieve what you're looking for would be something like a Row-Internal Sync rule with a CASE statement. Target the column you want...
Hi @kevinumass did you get this requirement working at all after the above thread? I've been thinking about this a bit more recently and have a couple of other ideas that might be able to help out, but will leave off if it's not longer required! Thank you very much. / comments
Hi @kevinumass did you get this requirement working at all after the above thread?I've been thinking about this a bit more recently and have a couple of other ideas that might be able to help out, ...
Hi @Camromere thank you for your post. Data Masker can be called via the command line by a SQL Server Agent Job with a PARFILE argument, the syntax is available here: https://documentation.red-gate.com/dms/data-masker-help/general-topics/about-command-line-automation You should use the headless runner datamaskercmdline.exe for this. I hope this helps? Let me know if you have any additional questions on this! Thank you very much. / comments
Hi @Camromere thank you for your post.Data Masker can be called via the command line by a SQL Server Agent Job with a PARFILE argument, the syntax is available here: https://documentation.red-gate....
Hi @Camromere thank you for your post. Data Masker can be called via the command line by a SQL Server Agent Job with a PARFILE argument, the syntax is available here: https://documentation.red-gate.com/dms/data-masker-help/general-topics/about-command-line-automation You should use the headless runner datamaskercmdline.exe for this. I hope this helps? Let me know if you have any additional questions on this! Thank you very much. / comments
Hi @Camromere thank you for your post.Data Masker can be called via the command line by a SQL Server Agent Job with a PARFILE argument, the syntax is available here: https://documentation.red-gate....
Hi @arungk Thank you for that - yes that is the correct email address - I look forward to receiving your masking set. / comments
Hi @arungk Thank you for that - yes that is the correct email address - I look forward to receiving your masking set.
Hi @arungk Thank you for coming back on this - the Masking Set is just XML and is configuration only and does not store any sensitive information (so that in cases like this they can be shared). If though you would still not be happy sharing these are you able to at least email me the logs from the tool so I can see where it's going wrong, please? My best guess without looking at this is that you have "Unique Values Only" set on your substitution rule and this means that there aren't enough values to mask all of your fields. Whether you wish to have this box ticked though can vary on what column specifically you're masking. If it's something like First Names, for which the set has around 4,000 values, then there's no reason to have this checked as many people share the same first name. Are you able to provide some more information on this please, so that I may better assist? Thank you very much. / comments
Hi @arungk Thank you for coming back on this - the Masking Set is just XML and is configuration only and does not store any sensitive information (so that in cases like this they can be shared).If ...
Hi @arungk thank you for your post - I know we've spoken before about getting Masking Rules to work and we exchanged some emails around this too. I've seen you've also posted about a substitution rule on the forums, are these rules in the same Masking Set? Would you be able to email the Masking Set and Logs from the failed run to me please so that I can take a look for you? Thank you very much. / comments
Hi @arungk thank you for your post - I know we've spoken before about getting Masking Rules to work and we exchanged some emails around this too.I've seen you've also posted about a substitution ru...