Re: Database table in runtime

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I found a class a few years back at ProgrammersHeaven.com that encapsulated
some database functions. Unfortunately, I couldn't find it in my archives.
Perhaps you may want to search their site and see if it's still there.

"Scott McPhillips [MVP]" <org-dot-mvps-at-scottmcp> wrote in message
news:O1kACXToGHA.3348@xxxxxxxxxxxxxxxxxxxxxxx
Salvatore Di Fazio wrote:
Yes Eddie,
this's what I did.
But I would like to know if there is one kind of class that can
manipulate the data stored in a way like a SQL db... for example

CString CData::Select(CString szQuery);

thank you


No. SQL is not built in to MFC or Win32. Only database drivers can give
you SQL. It is also not likely that you can manipulate 10 million records
in memory, so using an actual database file is probably the only solution
for you if you need SQL.

--
Scott McPhillips [VC++ MVP]



.



Relevant Pages

  • Fixed
    ... I also found this article that gives the proper way to move system dbs in sql 2008: ... The model exists where the master states it exists. ... This is the error log prior to detaching the model database. ...
    (microsoft.public.sqlserver.server)
  • Re: CREATE AGGREGATE failed because type Concatenate does not conform to UDAGG specification due to
    ... Go to the Database tab and click on the browse button next to the connection string. ... In the New Database Reference dialog, enter the details for the database where you want to deploy the assembly and create the user defined aggregate. ... I'm trying to do some CLR integration with sql server 2005. ...
    (microsoft.public.sqlserver.programming)
  • CREATE AGGREGATE failed because type Concatenate does not conform to UDAGG specification due to meth
    ... Now register the assembly and the aggregate in the SQL Server database you want ... I'm trying to do some CLR integration with sql server 2005. ...
    (microsoft.public.sqlserver.programming)
  • Re: dbdebunk Quote of Week comment
    ... > a lot of really bad SQL programmers. ... But SQL does not have a pointer data type or the ... > being told to design a database. ... But why is little Cindy Lou Who employee ...
    (comp.databases.theory)
  • Re: DBMS and lisp, etc.
    ... Naively implemented with SQL, again for 10 ... (1 query for the initial orders, 1 query for each order for its ... soon as you upgrade to the SQL database. ... (eq (order-customer orderA) ...
    (comp.lang.lisp)