일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- Excel
- replace()
- 윈폼
- c#
- oracle
- IIS
- ASP
- 프로시저
- jQuery
- Winform
- 단축키
- 자바스크립트
- DataGrid
- SSRS
- 리포팅서비스
- microsoft
- 오라클
- aspnet
- MS
- 태그를 입력해 주세요.
- windows
- MSSQL
- javascript
- 엑셀
- 비주얼스튜디오
- CONVERT()
- 마이크로소프트
- attr()
- 이클립스
- 윈도우
- Today
- Total
목록Sum() (3)
DJ메탈짱™의 Free Style
1. DataBase SizeSELECT SUM(bytes)/1024/1024 FROM dba_data_files; 2. Table Size SELECT SUM(bytes)/1024/1024 FROM dba_extents WHERE segment_name='CORP_NEWS_TB'; 3.=================================================================The biggest portion of a database"s size comes FROM the datafiles. To find out how many megabytes are allocated to ALL datafiles: --> SELECT SUM(bytes)/1024/1024 "Meg" FROM..
// 2011/07/13 - LINQ query (SUM)var tSum =from p in db.TBSimulation // from절ywhere p.USERID == this.hdUSERID.Text && p.GROUPID == "A" // where절yselect p.RESULT; // select절y // Total Profit this.lblTPROFIT.Text = tSum.Sum().ToString();
// LINQ query (SUM) var tSum = from p in db.TBSimulation // from절 where p.USERID == "" // where절 group p by new { p.GROUPID,p.USERID } into grouping // group by select new // sum column { grouping.Key, Totalprice = grouping.Sum(p => p.RESULT) }; // sum값 바인딩 foreach (var grp in tSum) { this.lblTPROFIT.Text = grp.Totalprice.ToString(); }