Viewing 5 posts - 1 through 5 (of 5 total)
Although the "GetNums" function would indeed make this simpler in-line, it simply moves the complexity to another routine. Combined, the two parts have nearly the same code.
That having...
June 13, 2011 at 6:43 am
Duh - The "Into @tab" is not using the Select, but instead the output, which does include two columns.
Select * into a table (or Output *...
May 13, 2010 at 7:55 am
My problem is that I expected that "inserted" would be a complete copy of the inserted row (I haven't used OUTPUT, but triggers certainly work that way). As such,...
May 13, 2010 at 7:46 am
I selected "Returns an error". It didn't seem right, but I'm not sure why the following code works
INSERT TestTable (string)
OUTPUT inserted.*
Doesn't the select return more columns (ID and String)...
May 13, 2010 at 5:58 am
After lots of research (and many dead-ends), the solution is to "Alter database FOO Set Trustworthy ON"
It does not seem to be necessary to make BAR Trustworthy as well.
Of course,...
April 23, 2010 at 7:26 am
Viewing 5 posts - 1 through 5 (of 5 total)