Code:
UPDATE #TempTotalTable
SET NoOfCol = #ColumnPerTable. NoOfCol
FROM #ColumnPerTable
WHERE #TempTotalTable.TBName = #ColumnPerTable.TBName
-PatP
Thread profile page for "Update statement get executed but table remains the same" on http://www.dbforums.com.
This report page is a snippet summary view from a single thread "Update statement get executed but table remains the same", located on the Message Board at http://www.dbforums.com.
This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity
| |||||||||||||||||||||||