POV-Ray : Newsgroups : povray.off-topic : C++ / database question : Re: C++ / database question Server Time
6 Sep 2024 05:14:10 EDT (-0400)
  Re: C++ / database question  
From: Warp
Date: 16 Feb 2009 11:37:15
Message: <4999963b@news.povray.org>
scott <sco### [at] scottcom> wrote:
> The type of analysis I will need to do will be fairly straightforward, like 
> taking averages and sums of each bit of data over all (or subsets of) rows, 
> and maybe even some simple filtering but nothing fancy.

  While I know only little of SQL, that sounds to me like it could be
perfectly doable with a database engine and its SQL frontend directly.
SQL has been developed precisely to be an fast&easy way to retrieve and
filter data from a database, and perform diverse operations on that data.
"Stored procedure" is probably a term which will give you useful information
about this whole subject.

  If you need to output the data in some special format, after it has been
processed, I really don't know what tools, if any, SQL offers for this.
However, if all you need is to simply retrieve some information (filtered
and processed by the SQL server itself) from the database and then write
it in some special format, perhaps a language which has direct support for
interacting with SQL servers could be easier than C++. (I'm thinking about
PHP, which is somewhat similar to C++ in syntax, and thus more easily
approachable by a C++ programmer than more exotic languages.)

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.