INSERT INTO T_AREACODE_ISP_SORT ( ID ,[BEIANDIQU_CODE] ,[REGION_CODE] ,[ISP_GUID] ,[SERIAL_NUMBER] ,[CREATE_TIME] ,[MODIFY_TIME]) select newid(),'x90009',AREACODE,'9C84C5D5-5C73-45B5-9F45-A185C4CCFE3A',2,GETDATE(),GETDATE() from SYS_AREA where AREACODE like '35%' INSERT INTO T_AREACODE_ISP_SORT ( ID ,[BEIANDIQU_CODE] ,[REGION_CODE] ,[ISP_GUID] ,[SERIAL_NUMBER] ,[CREATE_TIME] ,[MODIFY_TIME]) select newid(),'x90009',AREACODE,'9C84C5D5-5C73-45B5-9F45-A185C4CCFE3A',2,GETDATE(),GETDATE() from SYS_AREA where AREACODE like '6501%'
标签:CODE,AREACODE,9C84C5D5,ISP,查询,插入,TIME,GETDATE From: https://www.cnblogs.com/privateLogs/p/18107929