Viewing 15 posts - 646 through 660 (of 13,838 total)
Something like this, perhaps?
SELECT si.logdate
,srv01 = MAX (IIF(si.srvname = 'srv01', si.queueinfo, NULL))
,srv02 = MAX (IIF(si.srvname...
January 22, 2024 at 11:56 am
Did you actually create this article, or was it AI-generated?
January 22, 2024 at 9:44 am
I think it's because MS is forcing users to adopt TLS1.2. I had similar problems a few months ago.
January 21, 2024 at 4:23 pm
Thank you very much for your responses.
Would you happen to know which system variable shows which proc executed? That is the main issue.
If you mean within the proc itself,...
January 18, 2024 at 6:36 pm
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
Viewing 15 posts - 646 through 660 (of 13,838 total)