8
0

Import-FileContentToDB: Fixed issues with data Seperator

This commit is contained in:
KammM 2024-10-21 17:39:19 +02:00
parent 726b037bd2
commit 5abb79b066
3 changed files with 24 additions and 6 deletions

View File

@ -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 Version 2.2.0.0 - 14.10.2024
NEW: - Multiple Replace cmds in PreparingFile NEW: - Multiple Replace cmds in PreparingFile
FIX: - Fixed XLSX and CSV import issues FIX: - Fixed XLSX and CSV import issues

View File

@ -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. # # Define Profiles in this config file for the executing Script. #
# Syntax: # # Syntax: #
# Profile = <ImportMethode> ; <ImportFormat> ; <SourcePath> ; <SourceFileEncoding> ; <HeaderLine> ;# # Profile = <ImportMethode> ; <ImportFormat> ; <SourcePath> ; <SourceFileEncoding> ; <HeaderLine> ;#
# <FirstLine> ; <LastLine> ; <ValueSeperator|XSLX-Tab-name> ; <ArchivPath> ; <ErrorPath> # # <FirstLine> ; <LastLine> ; <CSV-ValueSeperator|XSLX-Tab-name> ; <ArchivPath> ; <ErrorPath> #
#--------------------------------------------------------------------------------------------------# #--------------------------------------------------------------------------------------------------#
# First Parameter: <ImportMethode> # # First Parameter: <ImportMethode> #
# Set the way, Script is reading the SourceFile. # # 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: <ImportFormat> # # Second Parameter: <ImportFormat> #
# For future use.... # # For future use.... #
# Option is unavailable in Bulk Insert! #
# Example: %CellValue% # # Example: %CellValue% #
#--------------------------------------------------------------------------------------------------# #--------------------------------------------------------------------------------------------------#
# Third Parameter: <SourcePath> # # Third Parameter: <SourcePath> #
@ -107,10 +108,18 @@ DBConnString = "Data Source=S-ZLSDMS-DB1\;Initial Catalog=DD_ECM\;User Id=DD_ECM
#--------------------------------------------------------------------------------------------------# #--------------------------------------------------------------------------------------------------#
# Fourth Parameter: <SourceFileEncoding> # # Fourth Parameter: <SourceFileEncoding> #
# Set the encoding type, the source files are written with. # # Set the encoding type, the source files are written with. #
# Example: Default #
# Example: ascii # # Example: ascii #
# Example: ansi #
# Example: bigendianunicode #
# Example: bigendianutf32 #
# Example: oem #
# Example: unicode #
# Example: utf7 # # Example: utf7 #
# Example: utf8 # # Example: utf8 #
# Example: unicode # # Example: utf8BOM #
# Example: utf8NoBOM #
# Example: utf32 #
#--------------------------------------------------------------------------------------------------# #--------------------------------------------------------------------------------------------------#
# Fifth Parameter: <HeaderLine> # # Fifth Parameter: <HeaderLine> #
# Set the line of the heading of the table. # # 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. # # You can set a very high number to guarantee everything will be imported. #
# Example: 9999999 # # Example: 9999999 #
#--------------------------------------------------------------------------------------------------# #--------------------------------------------------------------------------------------------------#
# Eight Parameter: <ValueSeperator|XSLX-Tab-name> # # Eight Parameter: <CSV-ValueSeperator|XSLX-Tab-name> #
# Set the CSV value seperator or the XLSX tab name. # # Set the CSV value seperator or the XLSX tab name (or a part of it). #
# Example: \; # # Example: \; (.net RegEx is available) #
# Example: XAP__Stammdaten_Adressen # # Example: `n (Line Break in case of bulk Insert) #
# Example: XAP #
#--------------------------------------------------------------------------------------------------# #--------------------------------------------------------------------------------------------------#
# Ninth Parameter: <ArchivPath> # # Ninth Parameter: <ArchivPath> #
# Set the path, where successful processed files should be moved to. # # Set the path, where successful processed files should be moved to. #