Viewing 15 posts - 106 through 120 (of 260 total)
It would have been nice if you had provided test data in a format that is readily usable. That's generally a prerequisite for having any success in getting a response...
June 20, 2022 at 9:47 pm
I'd say you have far too many single-quotes. Each single-quote in your original query only needs to be converted into two, in order to be represented in a variable. You...
June 8, 2022 at 5:28 pm
A different approach that may be possible is to feed you table source into a Destination Script Component. In this you can define more than one downstream named output destinations....
May 25, 2022 at 3:20 pm
I also think you'll have to do the limiting of the output data size at the source, i.e. use a SELECT TOP(calculatedNumberOfRows) * FROM yourTable. The number of rows that...
May 25, 2022 at 3:07 pm
Looks like it's referencing SQL Agent tokens.
May 24, 2022 at 8:36 pm
Alternatively you can define five (or the number of packages you have) separate Data Flows, where your input will then be slightly modified queries:
"Select tablenumber from a table where tablenumber=1",...
May 24, 2022 at 8:23 pm
As an alternative this could possibly/probably be better handled by SSIS than what you describe as your current solution.
Instead of writing to a temp table, just pass the data to...
May 24, 2022 at 7:21 pm
What are the use cases for this product vs the regular SSRS reporting product?
It is the same as the Report Builder. SSRS is a Server Service. The Power...
May 18, 2022 at 3:52 pm
What are the use cases for this product vs the regular SSRS reporting product?
May 18, 2022 at 9:04 am
At a guess you have one too many single quotes (apostrophes) at the end of this line, i.e. four where it should have been only three:
SET @sqlz =...
May 15, 2022 at 11:18 pm
This query will only work if there is exactly one part. I added one more record for a different part, and now I am getting no records at all.
May 12, 2022 at 5:54 pm
Instead of using the apply approach you can also try a reworked query, which works wth the minimal test data you provided:
declare @v_po_history table (
...
May 12, 2022 at 11:21 am
@kaj I get a syntax error
Okay, since we now have learned that you're using Pervasive SQL (BTrieve based) that changes things.
I don't know anything about...
May 12, 2022 at 7:05 am
I fully agree with the comments made by others, but if the OP would like to try anyway, this will work with the test data provided:
select...
May 11, 2022 at 6:29 pm
Something like this perhaps?
declare @v_po_history table (
Part varchar(20),
Lowest_Cost dec(9,6),
Date_Received date
)
insert into...
May 11, 2022 at 5:57 pm
Viewing 15 posts - 106 through 120 (of 260 total)