_覓 | 覦覈襦 | 豕蠏手 | 殊螳 | 譯殊碁 |
FrontPage › SSIS-Tip
|
|
[edit]
1 所鍵螳 り 觧り.. #select aa , bb from openrowset('Microsoft.ACE.OLEDB.16.0', 'Excel 12.0;Database=c:\code\test1.xlsx', 'select * from [Data$A2:K]') where 1=1 select aa , bb from openrowset('Microsoft.ACE.OLEDB.16.0', 'Excel 12.0;Database=c:\code\test2.xlsx', 'select * from [Data$A2:K]') where 1=1暑り SQL Server螳 襷煙 螳 螳 . 襷 ろ覃 豐蠍壱 伎蟲覃伎 ろ 炎概/ろ 蟆曙郁 . 企 蟆曙 襴狩蟆 ろ. 麹 sleep 譯手.. 豌 select aa , bb from openrowset('Microsoft.ACE.OLEDB.16.0', 'Excel 12.0;Database=c:\code\test1.xlsx', 'select * from [Data$A2:K]') where 1=1 waitfor delay '00:00:05' select aa , bb from openrowset('Microsoft.ACE.OLEDB.16.0', 'Excel 12.0;Database=c:\code\test2.xlsx', 'select * from [Data$A2:K]') where 1=1 waitfor delay '00:00:05' [edit]
2 Error: 0xC00291D7 #VS ssis ク讌螻 ろ覃 れ螻 螳 る 覃讌螳...
Error: 0xC00291D7 at mail_delete 2, Execute SQL Task: No connection manager is specified. Error: 0xC0024107 at mail_delete 2: There were errors during task validation. 覿覈 襴 螻褐 磯 ろ 蟆曙郁 .
ク讌譴 xxx.dtsx襯 螻 れ 伎企. れ り 伎 蟆企.
伎? SQL れ 轟覓語螳 讌 危エ覺. 襯 れ replace 蟲覓語 轟覓語螳 讌 讌.. [edit]
3 C# 覲 豌襴 #MessageBox.Show(Dts.Variables["begin_dt"].Value.ToString()); Dts.Variables["覲"].Value = "覲螳企?"; [edit]
6 error code 0xC02092B4 #
[edit]
7 襦貉 焔 豸′ #
[edit]
8 "譟壱 "(535)(襯) 豌襴 蟲 "acnt_key"(534) ProcessInput 覃螳 ろ給 #
[edit]
9 Syntax error, permission violation, or other nonspecific error #企 螳 覦一 . 覯.. 襾語.. れ 襴覃 . 谿場覲企 2005覯 BIDS 觧伎. 2008 R2碁..SP ..
OLE DB Source sp 襷り覲 讌 蟇碁 語.. 蠏碁 蠏碁郁.. 蠏碁..ADO.NET Source襦 覲蟆渚 譴..襷り覲 蠍一.. option ( optimize for .. 旧 (企 40糾唄企 襭 覈 豌襷蟇 insert 伎 糾螳 螳煙讌 ..) 蠍一.. "declare @bdt char(8) , @edt char(8) set @bdt = '" + @[User::bExecDT] + "' set @edt = dateadd(dd, 1, @bdt) select a.acnt_key , a.p_key , case when a.end_money = 0 then 1 else 0 end allin_cnt , a.events_money , a.r_key , b.game_svc_key , b.den_key , a.seq , b.attb_key from ods.gostop.play_end a left join ods.gostop.room b on a.r_key = b.r_key and b.std_dt between dateadd(dd, -31, @bdt) and @edt where a.std_dt = @bdt order by seq option ( optimize for (@bdt = '20110601', @edt = '20110602')) " 企蟆 一危 襴 ADO.NET Soruce Command 覿覿 Expression 譴..覓語伎 讌朱 覲 る 蠑 觧企 蟆伎..
蠏碁 企蟆 螻豎る. "declare @bdt varchar(10) , @edt varchar(10) set @bdt = '" + @[User::bExecDT] + "' set @edt = dateadd(dd, 1, @bdt) select a.acnt_key , a.p_key , case when a.end_money = 0 then 1 else 0 end allin_cnt , a.events_money , a.r_key , b.game_svc_key , b.den_key , a.seq , b.attb_key from ods.gostop.play_end a left join ods.gostop.room b on a.r_key = b.r_key and b.std_dt between dateadd(dd, -31, @bdt) and convert(date, @edt) where a.std_dt = convert(date, @bdt) order by seq option ( optimize for (@bdt = '2011-06-01', @edt = '2011-06-02')) -- 蠍 譯朱.. 覦.. .. [edit]
10 °り規襴 #
鏤
|
螻螳襯 るゴり り 蠎蠍一 るゴ讌 覈詩 讌朱 朱 豺谿 襷 殊瑚. 譴 伎朱 蠍 殊 磯 譟願化. |