Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: Mon May 13 05:07:03 CEST 2024

Total time taken to generate the page: 0.03195 seconds