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












SourceForge.net Logo



Home » U++ Library support » U++ SQL: Sql/SqlCtrl/Oracle/MySql/OleDB » Workaround: Hybridizing SqlExp usage
Workaround: Hybridizing SqlExp usage [message #25663] Sat, 06 March 2010 21:52
alendar  is currently offline alendar
Messages: 29
Registered: January 2010
Location: Pennsylvania, USA
Promising member
I found that SqlExp is flexible enough to let me use it halfway, which really helps.

I needed to reference a different schema in my MySql database, but as far as I know there is no way to prefix my table name identifiers with the schema. I often have to reference multiple schemas in a single query, so I'm glad I found a way.

Here's what I did:
if (!(lst * 
	Select(SqlCountRows())
	.From(SqlId("information_schema.tables"))
	.Where(SqlId("table_name") == localUserTableName)))
{

[Updated on: Sat, 06 March 2010 22:01]

Previous Topic:truncated double values from mysql
Next Topic:Compiling error for mysql
Goto Forum:
  


Current Time: Thu Sep 9 19:34:31 CEST 2010

Total time taken to generate the page: 0.01275 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 2.7.6.
Copyright ©2001-2006 FUD Forum Bulletin Board Software

counter