Tuesday

Select into another table update from another table

insert into table from select.

SELECT *
INTO new_table_name [IN externaldatabase]
FROM old_tablename


Update from one table into another

UPDATE
Sales_Import
SET
AccountNumber = RAN.AccountNumber
FROM
Sales_Import SI
INNER JOIN
RetrieveAccountNumber RAN
ON
SI.LeadID = RAN.LeadID

more...

No comments:

here is powershell script on how to get list of files from changesets associated with one tfs task

$dllPath = "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\...