Viewing 15 posts - 91 through 105 (of 2,651 total)
why bother sometimes. basic sql stuff that should not need our help.
straight replace -
SET @FILEPATH = replace(@FILENAME, 'chartobereplaced_escapedifneeded', 'replacewith_escapedifneeded')
you can just try out until you get the replace correct -...
November 8, 2024 at 3:46 pm
If you look at the column headers of the file and compare them to the table, they don't match. We can't see your package to know what the mapping...
November 7, 2024 at 3:38 pm
this also looks like a possible execution of DTEXEC from the command line (instead of SSIS catalog/SSIS Execute step from sql agent) - and in this case its likely it...
October 29, 2024 at 2:18 pm
did you use "insert into tbl with (tablock)" or without it - and what indexes do you have on destination table.
other than that I can't help as I don't have...
October 25, 2024 at 6:00 pm
I'm my experience performance and validation was always better and more reliable when we converted dates (and numbers as well) to a string format (dates to YYYY-MM-DD HH:MM:SS.FFF and numbers...
October 22, 2024 at 3:33 pm
the extension does NOT matter for SSIS - you give the filename whatever name+extension you wish.
as long as the format of the rows is what you defined everything will work...
October 15, 2024 at 11:22 pm
can you give as the ACTUAL explain plan of one of those slow executions - use https://www.brentozar.com/pastetheplan/ to upload the plan and give us the resulting link.
that would give us...
October 7, 2024 at 11:55 pm
if your C# code above is on your "Data source" on the dataflow Image that is your issue - a Datasource HAS to output a datarow - not write to...
October 7, 2024 at 5:57 pm
google is your friend - you should have done it first.
regarding the code and because you got a timeout I would add a command timeout before the executenonquery.
October 5, 2024 at 8:35 am
main question is HOW did you change the service account.
If not through Configuration Manager, with a elevated account (Local admin, and maybe Domain admin depending on policies) then you are...
October 3, 2024 at 10:51 pm
try HH24 (upper case)
and are those 3 columns really stored as character values instead of dates? there is no other reason to convert to date to compare.
October 2, 2024 at 3:13 pm
yes I mean doing it by having DB2 doing all the work.
so it would be
select *
from openquery(remoteserver,
'select rtrim(col1) as col1
,...
September 27, 2024 at 8:06 pm
put both around square brackets e.g. [$AAG] and [$DB]
September 27, 2024 at 7:57 pm
some things to consider - normally, although not always, data conversion to char datatypes should be done on the linked query side - not sure if this is the case...
September 27, 2024 at 3:12 pm
I'm assuming you wish to generate a file with fixed size columns - do you need it to be fixed size record as well or can it be line delimited...
September 18, 2024 at 9:29 pm
Viewing 15 posts - 91 through 105 (of 2,651 total)