Click here to Skip to main content
15,919,121 members
Home / Discussions / Database
   

Database

 
AnswerRe: Microsoft SQL Server 2008 R2 (between) Pin
thatraja27-Dec-11 17:46
professionalthatraja27-Dec-11 17:46 
AnswerRe: Microsoft SQL Server 2008 R2 (between) Pin
Shameel27-Dec-11 17:59
professionalShameel27-Dec-11 17:59 
QuestionFailed to open malformed assembly 'mscorlib' with HRESULT 0x80070008. Pin
yousefshokati26-Dec-11 19:41
yousefshokati26-Dec-11 19:41 
AnswerRe: Failed to open malformed assembly 'mscorlib' with HRESULT 0x80070008. Pin
Luc Pattyn26-Dec-11 23:52
sitebuilderLuc Pattyn26-Dec-11 23:52 
QuestionHelp in finding the differences in values across sub groups. Pin
aakar25-Dec-11 9:17
aakar25-Dec-11 9:17 
AnswerRe: Help in finding the differences in values across sub groups. Pin
SilimSayo29-Dec-11 10:36
SilimSayo29-Dec-11 10:36 
AnswerRe: Help in finding the differences in values across sub groups. Pin
datakeyword8-Feb-12 15:57
datakeyword8-Feb-12 15:57 
AnswerRe: Help in finding the differences in values across sub groups. Pin
datakeyword8-Feb-12 18:57
datakeyword8-Feb-12 18:57 
esProc can solve this problem easily. It is just like Excel+SQL, a free tool, see: A Query Language Over-perform SQL
[^].
code as below:
SQL
A1:   =sqlsvr.query("select Name,Dates,[Outstanding Values] from test_table order by Name,Dates")
A2:  =A1.derive(:Difference)
A3:  =A2.group(Name)
A4:  =A3.(~.run(Difference='Outstanding Values'-'Outstanding Values'[-1]))

I can't post a image file,so here are some explains:
A1 cell:query some data from database.
A2 cell:add a column to A1, named "Difference", just no data.
A3 cell:group the data by field "Name" in A2 cell. Here are 3 groups,
A4 cell:within every group(i.e. "~"), modify the field "Difference". The algorithm is: "this row" subtract "last row"(i.e. 'Outstanding Values'[-1])

I think esProc is more simple for mass data computation

BTW. how to post a image file?
QuestionUsing where condition in Linked server with ms access in sql server. Pin
yesu prakash23-Dec-11 19:55
yesu prakash23-Dec-11 19:55 
AnswerRe: Using where condition in Linked server with ms access in sql server. Pin
coded00725-Dec-11 19:23
professionalcoded00725-Dec-11 19:23 
AnswerRe: Using where condition in Linked server with ms access in sql server. Pin
Shameel25-Dec-11 22:43
professionalShameel25-Dec-11 22:43 
QuestionChecking database has a table. Pin
yuvarajujogi22-Dec-11 19:50
yuvarajujogi22-Dec-11 19:50 
AnswerRe: Checking database has a table. Pin
Shameel22-Dec-11 23:40
professionalShameel22-Dec-11 23:40 
AnswerRe: Checking database has a table. Pin
Eddy Vluggen23-Dec-11 1:16
professionalEddy Vluggen23-Dec-11 1:16 
AnswerRe: Checking database has a table. Pin
RDBurmon23-Dec-11 2:42
RDBurmon23-Dec-11 2:42 
AnswerRe: Checking database has a table. Pin
PIEBALDconsult23-Dec-11 2:49
mvePIEBALDconsult23-Dec-11 2:49 
AnswerRe: Checking database has a table. Pin
jschell23-Dec-11 10:07
jschell23-Dec-11 10:07 
GeneralRe: Checking database has a table. Pin
yuvarajujogi27-Dec-11 23:43
yuvarajujogi27-Dec-11 23:43 
GeneralRe: Checking database has a table. Pin
Karthik Harve28-Dec-11 22:02
professionalKarthik Harve28-Dec-11 22:02 
AnswerRe: Checking database has a table. Pin
Mohibur Rashid26-Dec-11 22:44
professionalMohibur Rashid26-Dec-11 22:44 
GeneralRe: Checking database has a table. Pin
yuvarajujogi27-Dec-11 19:33
yuvarajujogi27-Dec-11 19:33 
GeneralRe: Checking database has a table. Pin
Mohibur Rashid27-Dec-11 20:38
professionalMohibur Rashid27-Dec-11 20:38 
AnswerRe: Checking database has a table. Pin
Shameel28-Dec-11 0:48
professionalShameel28-Dec-11 0:48 
AnswerRe: Checking database has a table. Pin
Karthik Harve28-Dec-11 22:05
professionalKarthik Harve28-Dec-11 22:05 
GeneralRe: Checking database has a table. Pin
Shameel29-Dec-11 8:56
professionalShameel29-Dec-11 8:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.