Viewing 15 posts - 3,091 through 3,105 (of 13,855 total)
Lookup SEQUENCE - instead of using IDENTITY for the detail table. It will require code changes to support - but it can do what you are requesting.
I thought that...
December 1, 2019 at 4:14 pm
Do you want a stored proc to do this?
Are all of the detail rows created at the same time as the parent?
What is the PK of the detail table?
November 30, 2019 at 6:33 pm
What is your objective? What extra benefits do you think a cursor will give you?
November 29, 2019 at 10:24 pm
>> Also, considering that VALUES didn't actually come out until 2008, your lecture about getting rid of the old syntax "decades" ago is full of hooie.<<
If my arithmetic is...
November 29, 2019 at 5:31 pm
Also, the 0, 1, 2 ... parameter naming is valid for OLEDB connections. If you are using an ADO connection, you should include the actual parameter names.
November 29, 2019 at 12:40 pm
Looks close. You should add the correct param size for the NVARCHAR column.
Quarter has an 'r' in it.
I do not understand your question (b). If you plan to call the...
November 29, 2019 at 12:39 pm
I have never utilized this task - so I am not sure, but could this be a case where there isn't any output from the task so nothing to...
November 28, 2019 at 5:29 pm
I think that the 'Package Execution Completed' text is usually green (not 100% sure) if everything worked as designed. Blue text means something else (not seen this documented anywhere).
November 28, 2019 at 4:17 pm
How did you execute the package? Did you right-click and select 'Execute Task' by any chance?
Also, if you double-click on the precedence constraint (the line between the two tasks), a...
November 28, 2019 at 4:15 pm
That should work! Assuming the first task completes successfully, that is.
Can you check the Output window after execution & look for any suspicious messages?
November 28, 2019 at 3:36 pm
Looks easy enough. Did you try?
November 27, 2019 at 4:53 pm
'Overwrite' is not a T-SQL RESTORE option. Did you mean REPLACE, perhaps?
November 27, 2019 at 4:05 pm
With 550 columns it's not possible to test every combination of 2 or more columns to see if they are unique. It's a combinatorial problem with a search space...
November 27, 2019 at 2:34 pm
There could (and probably will be) be multiple combinations of columns which are unique, based on existing data. That does not tell you which of the combinations, if any, you...
November 26, 2019 at 8:01 pm
Viewing 15 posts - 3,091 through 3,105 (of 13,855 total)