Viewing 15 posts - 661 through 675 (of 13,849 total)
Nice. Thanks, Jeff, for reminding me that TRIM() could remove more than just beginning and trailing space characters
January 18, 2024 at 8:47 am
You mean, like this?
https://www.sqlshack.com/python-scripts-to-format-data-in-microsoft-excel/
Looks like it will work, but I haven't done it. If you do make it work, please post back here, as I'm sure others would be...
January 17, 2024 at 4:55 pm
Welcome to the forum.
The horizontal / vertical stuff you are talking about is best done (if possible) in SQL, prior to the SSIS package being called. SSIS can easily export...
January 17, 2024 at 9:49 am
In this case I would start splitting the comment based on a space.
check "Tally OH! An Improved SQL 8K “CSV Splitter” Function"
and process the spliter results for the...
January 17, 2024 at 9:42 am
No, I didn't test with millions of Excel rows as my Excel files only contained 10-200 rows.
The point of testing against a very large dataset is to get an...
January 16, 2024 at 10:12 am
It's a piece of code which can be put into an SSIS Script Task and is therefore neither WinForms nor Console.
However, the MessageBox command does work when running the code...
January 15, 2024 at 3:32 pm
There's not a syntax error. That is a run-time error., which is why I suggested debugging. Here is a possible solution:
//remove last , from row
strRow = strRow.Remove(strRow.Length...
January 15, 2024 at 10:35 am
There is an error in your script. 'Element cannot be found in a collection' is the error of interest. I'd suggest
a) Adding comprehensive error-handling if not already present. This may...
January 15, 2024 at 9:48 am
Have you tested this script for performance with, say, one million rows in the Excel sheet? It would be interesting to know how it performs when compared with doing the...
January 15, 2024 at 9:26 am
Sorry, what is the point to create a SSIS script AND C# code?
Isn't simpler to create just small C# program or even VBA script with the same functionality ?
You're...
January 15, 2024 at 9:22 am
What you have provided are the properties for a Script task. There is no hint of any data being 'read'. Do you really think that anyone will be able to...
January 15, 2024 at 9:19 am
Try changing your WHERE clause to this:
WHERE CAST(DocumentXML AS NVARCHAR(MAX)) LIKE '<Document>%'
January 12, 2024 at 4:19 pm
As these 'errors' are not considered significant enough to halt execution, I'd suggest logging them as they happen to an ErrorLog table and picking up / reporting any entries created...
January 11, 2024 at 3:54 pm
Thank you!
Can you give an example of the sort of failures you are referring to? I'm assuming nothing terminal (network failure, hardware failure etc).
January 11, 2024 at 3:45 pm
By default, stored procedure failures would (as far as I remember) fail the package from which they are executed. I assume you've configured things so that this does not happen?...
January 11, 2024 at 2:57 pm
Viewing 15 posts - 661 through 675 (of 13,849 total)