Viewing 15 posts - 646 through 660 (of 13,841 total)
Mr Brian Gale is correct, I saw no notification. Here is a possible solution – it relies in integer division:
DROP TABLE IF EXISTS #temptable;
CREATE TABLE #temptable
(
...
January 23, 2024 at 2:57 pm
Can you please complete your question for desired results after
set @setValue=3
?
January 23, 2024 at 9:19 am
i actually wrote this article. Is there any issue with this?
It sounds like it was generated by ChatGPT or similar – and there would be an issue if that...
January 22, 2024 at 5:00 pm
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
Viewing 15 posts - 646 through 660 (of 13,841 total)