Viewing 15 posts - 421 through 435 (of 7,168 total)
Thanks for posting back. Seeing improvements like that winds my clock.
You must be processing a lot of data for it to continue to take 43 minutes. If this is...
January 23, 2016 at 6:19 pm
I have a suggestion:
Ditch the Upsert Component and instead do this:
1. Add an Execute SQL Task above your Data Flow to truncate a new staging table* in the target...
January 23, 2016 at 3:13 pm
A workaround is to use a Script Task to generate your "current datestamp" at the beginning of your Package and assign that to a Variable of type String. Then, for...
January 23, 2016 at 3:05 pm
I think prefixing database objects makes code more difficult to read, initially. Eventually the brain gets used to ignoring prefixes and one could argue maybe even begins to expect it....
January 23, 2016 at 3:03 pm
I am pretty sure you will not be able to see the Output Column options in the Import/Export Wizard. Before you complete the wizard, is there an option to save...
January 23, 2016 at 2:56 pm
TAman (1/22/2016)
January 23, 2016 at 9:03 am
it is either character encoding issue or length causing truncation. can you post a Workbook (with sensitive data masked) tha causes the issue on your side that I can use...
January 23, 2016 at 2:20 am
What kind of file is it? a CSV you opened in Excel or is it an Excel Workbook (xls or xlsx)?
January 22, 2016 at 9:17 pm
@ringovski, you're welcome, happy you got something suitable going.
@Eirikur, agreed your solution should improve performance. It took me a second to cull out the test data creation from the...
January 22, 2016 at 7:59 am
Funky stuff. Thanks for posting it. I would not expect anything but a scan out of the iTVF query plan even if you could remove the function. If you are...
January 21, 2016 at 9:41 pm
boettger.andreas (1/21/2016)
ALTER FUNCTION [dbo].[ICAgeingFuncT]
(
@CutOffDate varchar(6)
)
RETURNS TABLE
AS
RETURN
(
SELECT SUM(TRANSCOST) AS ItemValue, SUM(Quantity) AS Qty
FROM ICIVAL
WHERE LEFT(TRANSDATE,6) <= @CutOffDate
);
SELECT a.ItemValue, a.Qty, p.YearMonth, p.Period
FROM Past12Months as p
CROSS APPLY dbo.ICAgeingFuncT(p.YearMonth)...
January 21, 2016 at 8:47 pm
I just had a chance to dig up a table-size script. For every 11K rows (30 years of dates) the calendar table I posted occupies 2.75 MB of space in...
January 21, 2016 at 2:57 pm
Is session 2 still waiting after session 1 is complete? As an aside, in session 1 you do not need an explicit transaction. Statements in SQL Server are atomic meaning...
January 21, 2016 at 6:59 am
boettger.andreas (1/21/2016)
Sorry, too quick.How would I return multiple columns from the fucntion, i.e. not only quantity, but value also?
Can I specify what columns the function should return?
Convert the function to...
January 21, 2016 at 6:41 am
Viewing 15 posts - 421 through 435 (of 7,168 total)