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:

make ubuntu business casual

to make ubuntu business casual - make it black remove background: gsettings set org.gnome.desktop.background picture-options ...