diff --git a/current/Import-FileContentToDB/Import-FileContentToDB.ps1 b/current/Import-FileContentToDB/Import-FileContentToDB.ps1 index e5997eb..1fdb3cc 100644 Binary files a/current/Import-FileContentToDB/Import-FileContentToDB.ps1 and b/current/Import-FileContentToDB/Import-FileContentToDB.ps1 differ diff --git a/current/Import-FileContentToDB/Import-FileContentToDB_History.txt b/current/Import-FileContentToDB/Import-FileContentToDB_History.txt index 7870035..84db7d9 100644 --- a/current/Import-FileContentToDB/Import-FileContentToDB_History.txt +++ b/current/Import-FileContentToDB/Import-FileContentToDB_History.txt @@ -1,5 +1,13 @@ ------------------------------------------------------------------------------- +Version 2.2.0.1 - 21.10.2024 +NEW: - +FIX: - Fixed issues with data Seperator +CHG: - +REM: - + +------------------------------------------------------------------------------- + Version 2.2.0.0 - 14.10.2024 NEW: - Multiple Replace cmds in PreparingFile FIX: - Fixed XLSX and CSV import issues diff --git a/current/Import-FileContentToDB/Import-FileContentToDB_Settings.ini b/current/Import-FileContentToDB/Import-FileContentToDB_Settings.ini index 803b74b..fa2c63e 100644 --- a/current/Import-FileContentToDB/Import-FileContentToDB_Settings.ini +++ b/current/Import-FileContentToDB/Import-FileContentToDB_Settings.ini @@ -88,7 +88,7 @@ DBConnString = "Data Source=S-ZLSDMS-DB1\;Initial Catalog=DD_ECM\;User Id=DD_ECM # Define Profiles in this config file for the executing Script. # # Syntax: # # Profile = ; ; ; ; ;# -# ; ; ; ; # +# ; ; ; ; # #--------------------------------------------------------------------------------------------------# # First Parameter: # # Set the way, Script is reading the SourceFile. # @@ -98,6 +98,7 @@ DBConnString = "Data Source=S-ZLSDMS-DB1\;Initial Catalog=DD_ECM\;User Id=DD_ECM #--------------------------------------------------------------------------------------------------# # Second Parameter: # # For future use.... # +# Option is unavailable in Bulk Insert! # # Example: %CellValue% # #--------------------------------------------------------------------------------------------------# # Third Parameter: # @@ -107,10 +108,18 @@ DBConnString = "Data Source=S-ZLSDMS-DB1\;Initial Catalog=DD_ECM\;User Id=DD_ECM #--------------------------------------------------------------------------------------------------# # Fourth Parameter: # # Set the encoding type, the source files are written with. # +# Example: Default # # Example: ascii # +# Example: ansi # +# Example: bigendianunicode # +# Example: bigendianutf32 # +# Example: oem # +# Example: unicode # # Example: utf7 # # Example: utf8 # -# Example: unicode # +# Example: utf8BOM # +# Example: utf8NoBOM # +# Example: utf32 # #--------------------------------------------------------------------------------------------------# # Fifth Parameter: # # Set the line of the heading of the table. # @@ -126,10 +135,11 @@ DBConnString = "Data Source=S-ZLSDMS-DB1\;Initial Catalog=DD_ECM\;User Id=DD_ECM # You can set a very high number to guarantee everything will be imported. # # Example: 9999999 # #--------------------------------------------------------------------------------------------------# -# Eight Parameter: # -# Set the CSV value seperator or the XLSX tab name. # -# Example: \; # -# Example: XAP__Stammdaten_Adressen # +# Eight Parameter: # +# Set the CSV value seperator or the XLSX tab name (or a part of it). # +# Example: \; (.net RegEx is available) # +# Example: `n (Line Break in case of bulk Insert) # +# Example: XAP # #--------------------------------------------------------------------------------------------------# # Ninth Parameter: # # Set the path, where successful processed files should be moved to. #