U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ SQL » Simple U++ Sql Tutorial
Re: Simple U++ Sql Tutorial [message #9412 is a reply to message #9408] Sun, 06 May 2007 09:39 Go to previous messageGo to previous message
fallingdutch is currently offline  fallingdutch
Messages: 258
Registered: July 2006
Experienced Member
Hello Michael,

to get rid of the error you need to install the MySql development files.

SQL with upp is pretty easy, first you have to open a database then start using it like this (some simple examples)
mySQL*INSERT(MyTable)(COLUMN1,"data")(COLUMN2,"data2);
mySQL*Update(MyOtherTable)(COLUM6,"changed data").Where(NAME=="Michael");
mySQL*Delete(MyTable).Where(ToBeDelete==true);
mySQL*Select(ID).FROM(MyOtherTable).Where(NAME=="Michael");


The only thing you need is a .sch file defining to schema of your database (which tables which colums) UPP creates everything to access it then: Have a look at the SQLApp example.

Bas
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: small patch for PostgreSQL
Next Topic: Sql::Execute()
Goto Forum:
  


Current Time: Tue Jun 16 11:47:50 GMT+2 2026

Total time taken to generate the page: 0.00635 seconds