iT邦幫忙

pojen 的所有回答 55

記錄下過的SQL指令

我印象中只有 Profiler (C2 Audit) 能紀錄所有 SQL 指令. 老實說 DBA 花在設定 filter 的時間不如拿來作更好的利用. 我知道這...

2010-05-11 ‧ 由 adamjwchen 提問

SQL語法求教

選當月的資料應該不算太糟, 總額的話我會如此用: create table pojen_table ( id integer, ym datetime, qty...

2010-05-08 ‧ 由 sphinx 提問

請問SQL 2005 有辦法單向同步嗎?

聽起來你需要的是 Merge Replication (如同你給的 link) http://msdn.microsoft.com/en-us/library/...

2010-05-07 ‧ 由 fireflybug 提問

SQL語法(統計相同內容出現的次數)

Table EMP DATE EMPID SCORE 我偏好不手動在 SQL 裡寫四則運算 WITH T AS( SELECT EMPID, ISNULL(SC...

2010-05-05 ‧ 由 hardman0816 提問

SQL 語法這樣寫效能好嗎?有沒有更好的做法?

或許可以試試 CTE? declare @tran_dt_beg datetime declare @tran_dt_end datetime select @...

2010-05-04 ‧ 由 jhik 提問