Skip to content

Commit bfd6db2

Browse files
committed
Added single column anonymization feature examples
1 parent 1922030 commit bfd6db2

2 files changed

Lines changed: 14 additions & 5 deletions

File tree

Packages/d103/sqlcmdcli.dproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@
112112
<VerInfo_Locale>1033</VerInfo_Locale>
113113
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
114114
<VerInfo_AutoIncVersion>true</VerInfo_AutoIncVersion>
115-
<VerInfo_Keys>CompanyName=;FileDescription=Command-line utility for ad hoc, interactive execution of commands on SQL Server;FileVersion=1.0.0.77;InternalName=sqlcmdcli;LegalCopyright=;LegalTrademarks=;OriginalFilename=sqlcmdcli.exe;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0;Comments=https://github.com/segovoni/sqlcmdcli</VerInfo_Keys>
116-
<VerInfo_Build>77</VerInfo_Build>
115+
<VerInfo_Keys>CompanyName=;FileDescription=Command-line utility for ad hoc, interactive execution of commands on SQL Server;FileVersion=1.0.0.80;InternalName=sqlcmdcli;LegalCopyright=;LegalTrademarks=;OriginalFilename=sqlcmdcli.exe;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0;Comments=https://github.com/segovoni/sqlcmdcli</VerInfo_Keys>
116+
<VerInfo_Build>80</VerInfo_Build>
117117
</PropertyGroup>
118118
<ItemGroup>
119119
<DelphiCompile Include="$(MainSource)">

Sources/sqlcmdcli.Boot.pas

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,18 @@ class procedure TBootCLI.Boot;
160160
'anonymizedb -servername:<name> -databasename:<dbname> -username:<name> ' +
161161
'-password:<password> -schemaname:<tableschema> -tablename:<tablename> ' +
162162
'-columnname:<columnname>');
163-
LCommand.Examples.Add('anonymizedb -servername:MARCONI -databasename:AdventureWorks -username:sgovoni -password:royalbreeze489');
164-
LCommand.Examples.Add('anonymizedb -s:MARCONI -d:AdventureWorks -u:sgovoni -p:royalbreeze489');
165-
LCommand.Examples.Add('anondb -s:MARCONI -d:AdventureWorks -u:sgovoni -p:royalbreeze489');
163+
LCommand.Examples.Add('anonymizedb -servername:MARCONI -databasename:AdventureWorks ' +
164+
'-username:sgovoni -password:royalbreeze489');
165+
LCommand.Examples.Add('anonymizedb -s:MARCONI -d:AdventureWorks -u:sgovoni ' +
166+
'-p:royalbreeze489');
167+
LCommand.Examples.Add('anondb -s:MARCONI -d:AdventureWorks -u:sgovoni ' +
168+
'-p:royalbreeze489');
169+
LCommand.Examples.Add('anonymizedb -servername:MARCONI -databasename:AdventureWorks ' +
170+
'-username:sgovoni -password:royalbreeze489 -schemaname:Person -tablename:Address ' +
171+
'-columnname:City');
172+
LCommand.Examples.Add('anonymizedb -servername:MARCONI -databasename:AdventureWorks ' +
173+
'-username:sgovoni -password:royalbreeze489 -schema:Person -table:Address ' +
174+
'-column:City');
166175

167176
// Option: "schemaname"
168177
LOption := LCommand.RegisterOption<string>('schemaname', 'schema',

0 commit comments

Comments
 (0)