Viewing 8 posts - 1 through 9 (of 9 total)
that gets the data, but remember that this is coming from a temporary set of tables or database to a new final database. He needs to populate the comments into...
December 8, 2006 at 5:35 pm
I do follow ... now
I think i would create the initial table using the group-by logic...
then make a second pass for comments - which...
December 7, 2006 at 9:22 pm
I'm not sure i fully follow, but it sounds like you wish to summarize order information, but include detailed comments, correct?
I agree with the previous post - a function to produce...
December 7, 2006 at 8:53 pm
Well, Actually you can get input and output parameters using sp_executesql...
Note the @results parameter is returned just fine:
declare
@results intdeclare
@sql nvarChar
December 7, 2006 at 7:43 pm
Update #tmp
Set ClaimNumber = c.ClaimNumber,LastName = c.LastName,FirstName = c.FirstName,LossDate = c.LossDate,InClaimFile = 1
From GE_Claim c Inner Join GE_Reserve r
On c.PolicyNumber = r.PolicyNumber And c.TableCode = r.TableCode And c.SeriesCode = r.SeriesCode
And...
December 7, 2006 at 6:29 am
set @FileExist = 'SELECT @Results=ColumnToCapture FROM OPENROWSET(BULK ''' + @File + ''' ,SINGLE_CLOB) AS Document'
December 7, 2006 at 6:15 am
I bet it would really help if you changed the UPDATE to an INSERT.
there are no rows in your temporary table...
December 7, 2006 at 6:09 am
Can post when i have an issue with notepad?
(sorry - worked late, feeling rude today)
December 7, 2006 at 6:01 am
Viewing 8 posts - 1 through 9 (of 9 total)