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 #9418 is a reply to message #9416] Sun, 06 May 2007 17:49 Go to previous messageGo to previous message
fallingdutch is currently offline  fallingdutch
Messages: 258
Registered: July 2006
Experienced Member
this is what you need in a header file (see SQLApp.h):
#define SCHEMADIALECT <plugin/sqlite3/Sqlite3Schema.h> //not sure atm which file defines the SCHEMADIALECT for MySQL!!!
#define MODEL <SQLApp/SQLApp.sch> //your .sch file here
#include <Sql/sch_header.h>

and in a sourcefile
#define SCHEMADIALECT <plugin/sqlite3/Sqlite3Schema.h> //again you need the one for MySQL
#include <Sql/sch_source.h>


that should do the trick,
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 14:52:05 CEST 2024

Total time taken to generate the page: 0.02426 seconds