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 » Table field name conflict?
Table field name conflict? [message #14527] Fri, 29 February 2008 04:19 Go to next message
indiocolifa is currently offline  indiocolifa
Messages: 49
Registered: January 2008
Location: Argentina
Member
It is possible that with U++ (i'm using 2008.1 beta) you can't define a schema where one field in a table cannot be named equal to other field in a different table?

Example schema:

TABLE_(T1)
INT_ (F1)
END_TABLE

TABLE_ (T2)
TEXT_ (F1)
END_TABLE

F1 redefinition error...

Any help ?
Re: Table field name conflict? [message #14555 is a reply to message #14527] Mon, 03 March 2008 18:30 Go to previous messageGo to next message
Alex is currently offline  Alex
Messages: 18
Registered: October 2007
Location: Germany
Promising Member
Hello,

for the second definition remove the Underscore.

TABLE_ (T2)
TEXT (F1)
END_TABLE

HTH, Alex
Re: Table field name conflict? [message #14585 is a reply to message #14555] Tue, 04 March 2008 08:10 Go to previous messageGo to next message
sergeynikitin is currently offline  sergeynikitin
Messages: 748
Registered: January 2008
Location: Moscow, Russia
Contributor

May I use names as T1.F1 and T2.F1 ?

SergeyNikitin<U++>( linux, wine )
{
    under( Ubuntu || Debian || Raspbian );
}
Re: Table field name conflict? [message #14598 is a reply to message #14555] Tue, 04 March 2008 13:53 Go to previous messageGo to next message
indiocolifa is currently offline  indiocolifa
Messages: 49
Registered: January 2008
Location: Argentina
Member
Alex wrote on Mon, 03 March 2008 15:30

Hello,

for the second definition remove the Underscore.

TABLE_ (T2)
TEXT (F1)
END_TABLE

HTH, Alex


And for a third definition of F1?! Laughing
Re: Table field name conflict? [message #14609 is a reply to message #14585] Tue, 04 March 2008 15:21 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Well, if we are speaking about SqlExp, yes, but you have to use this form:

F1.Of(T1)

Mirek
Previous Topic: How to save the DB data to another SQLite db file in HomeBudget?
Next Topic: Methods of SQL debugging
Goto Forum:
  


Current Time: Thu Apr 25 11:52:22 CEST 2024

Total time taken to generate the page: 0.03655 seconds