|
krugg
Starting Member
12 Posts |
Posted - 10/18/2005 : 07:53:52
|
Hi, The following code is fine for updating a text field for one record in a temp table....
--------------------------------------- update #tmpRecords set details = null
DECLARE @ptrval binary(16) SELECT @ptrval = TEXTPTR(details) from #tmpRecords where recordId = 1
WRITETEXT #tmpRecords.details @ptrval 'valueEntered' ---------------------------------------
But how can I update each of the records in the table #tmpRecords all at once? Eg there could be 100 rows that need updating
This doesn't work but here's the SQL pseudocode:
Update #tmpRecords set details = WRITETEXT #tmpRecords.details @ptrval select details from tableThatHasTheValues
Thanks for any suggestions..... Krugg
|
|