-1
我想將profile_tb
的許多記錄複製到Client_tb
而不重複。 這段代碼在sql server上運行的很好,但我不知道下面的代碼被添加到asp.net中的客戶端頁面加載。如何在頁面加載asp.net中運行命令sql插入代碼?
SQL命令:
iNSERT iNTO Client (ProfileID)
Select Distinct ProfileId From Profile Where Not Exists (Select 1 From
Client where Profile.ProfileID = Client.ProfileID)
plz幫助我!