Viewing 15 posts - 3,691 through 3,705 (of 13,874 total)
.. or using I hate using truncate/deletes.. granted .. not sure if your account/service account will have access to sys tables
---
Please describe the problems you believe TRUNCATE introduces which...
May 6, 2019 at 1:43 pm
I think this is right ...
As you have defined the datatype of the input parameter to be date, the error you see happens before the proc executes. You need to...
May 6, 2019 at 1:35 pm
I understand your requirement, but unless you post the SQL you have tried, it's difficult to help you any further.
May 3, 2019 at 2:52 pm
As far as I know, you have to delete and recreate precedence constraints. It's a pain, I agree.
Regarding your second post, is that a question?
May 3, 2019 at 1:39 pm
Do a left join from a table, or virtual, dynamic table, which contains all of the years you wish to display.
May 3, 2019 at 1:30 pm
Hello Phil Thanks for your answers. - We have 50 tables that could be refreshed. Depending of the day, we receive data for a specific destination table. So column...
May 2, 2019 at 9:51 pm
I agree that this is a horrid idea.
It is, however, pretty easy to solve. Put a Script task before each dataflow and add a wait there, possibly something like this...
May 2, 2019 at 8:30 pm
Add a task to save the number of columns in the 'current' file before its data flow is executed.
Add a suitable precedence constraint to avoid running the data flow task...
May 2, 2019 at 8:21 pm
Run the 'guts' of your stored proc, having modified the final SELECT such that it does a
SELECT INTO [Newtable] .....
FROM etc etc
WHERE 1 = 0 --Don't...
May 2, 2019 at 8:16 pm
Do the column names change from day to day?
If they do, do you want to create a new table every day?
Or is the target table static in structure such that...
May 2, 2019 at 6:34 pm
Thanks Thom, quite right! I should have added the text "in this case".
May 2, 2019 at 5:38 pm
Try adding
DROP TABLE IF EXISTS Response22;
before your CREATE TABLE statement.
Or change your CREATE TABLE statement to
TRUNCATE TABLE Response22;
May 2, 2019 at 4:07 pm
Being picky, I do have a few other minor comments about the code:
May 2, 2019 at 4:03 pm
Please check that both of the variables are being set correctly.
April 18, 2019 at 6:40 am
Viewing 15 posts - 3,691 through 3,705 (of 13,874 total)