22,207
社区成员
发帖
与我相关
我的任务
分享
Create Procedure Pro_Table
as
Insert Into B.dbo.table
Select * From A.dbo.table Where Len(num) > 5 --條件根據實際需求進行添加,不然會造成大量數據冗餘。
go
--將下面這句放入排程中並設定好排程執行時間
Exec Pro_Table
[/quote]
條件根據實際需求進行添加,不然會造成大量數據冗餘。
Create Procedure Pro_Table
as
Insert Into B.dbo.table
Select * From A.dbo.table Where Len(num) > 5
go
--將下面這句放入排程中並設定好排程執行時間
Exec Pro_Table
Insert Into B.dbo.table
Select * From A.dbo.table Where Len(num) > 5