Viewing 8 posts - 1 through 8 (of 8 total)
Thank you very much. This was the problem. But two more questions: Why should NULL + Something be NULL instead of Something? Where is the setting for that?
February 2, 2011 at 5:28 pm
Hmmm...
I indeed forgot about the trigger, which is keeping the history of all changes in another table...
But the problem seems to be here:
SET ...
February 2, 2011 at 5:12 pm
Thanks for the code.
I tried your code with Output, but it didn't work. I tried with the Output after the SET, which brought the following message: The target table 'Unternehmen'...
February 2, 2011 at 4:56 pm
Thank you for the fast reaction. Yes, I think you understood the problem I am trying to solve.
In my words:
There is a list of numbers KdNrVormerkung in the table LoeschvormerkungenK....
February 2, 2011 at 4:25 pm
Thanks for your quick reply.
Since this is a shortened version of the trigger, the insert-statement is a lot longer and I have 10 different tables to write in. This makes...
December 29, 2010 at 6:49 am
SELECT ...+ ',' + ' '.... FOR XML PATH('')
did the trick. It seemed a lot more complicated on first sight.
Why should I use CROSS APPLY or STUFF in addition?...
August 29, 2010 at 2:51 pm
Lowell (8/26/2010)
this is completely untested, as you didn't provide the schema or sample data.CROSS APPLY
[/code]
Hmmm... CROSS APLLY looks promising as a solution for that problem.
But I hoped there would be...
August 26, 2010 at 9:55 am
Complete table definitions would include a lot of stuff, that is not needed here.
Let's keep it simple
We have one table Files, which has 2 fields we need here
-FileID
-EditedDate...
August 26, 2010 at 9:41 am
Viewing 8 posts - 1 through 8 (of 8 total)