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 » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » Schema utilities
Schema utilities [message #17549] Wed, 20 August 2008 12:14 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
I recently have to deal with existing database (not created from .sch file).

To make things easier, I have added these utility functions to Sql:

String ExportSch(SqlSession& session, const String& database);
String ExportSch(const String& database);

- exports the database to .sch format

String ExportIds(SqlSession& session, const String& database);
String ExportIds(const String& database);

- exports table and column names as SQLID (or new SQL_ID(id, sqlid) to deal with case sensitivity in mysql).

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: readonly nests
Next Topic: TheIDE: Package highlight experiment
Goto Forum:
  


Current Time: Thu Mar 28 22:43:54 CET 2024

Total time taken to generate the page: 0.01012 seconds