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 » Field name same as table name
Field name same as table name [message #51577] Thu, 18 April 2019 10:06 Go to next message
Patisab is currently offline  Patisab
Messages: 21
Registered: December 2015
Location: France
Promising Member
Good morning,

I want to read a table which have a field with same name as the table :

TABLE_(SCRIPT_CONTENT)
    INT (ID)	PRIMARY_KEY
    INT_ (SCRIPT_ID)
    STRING (SCRIPT_CONTENT,10000)
END_TABLE


Don't ask me why, it's like this, sorry.

Of course, i have some problems to read it.

Should you have an idea?

Thank you very much.

Best regards.
Re: Field name same as table name [message #51586 is a reply to message #51577] Thu, 18 April 2019 13:40 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Patisab wrote on Thu, 18 April 2019 10:06
Good morning,

I want to read a table which have a field with same name as the table :

TABLE_(SCRIPT_CONTENT)
    INT (ID)	PRIMARY_KEY
    INT_ (SCRIPT_ID)
    STRING (SCRIPT_CONTENT,10000)
END_TABLE


Don't ask me why, it's like this, sorry.

Of course, i have some problems to read it.

Should you have an idea?

Thank you very much.

Best regards.


There should be no problem (the only slightly trick part about '_' being the command to declare SqlId you seem to have gotten right). What problems do you have? Smile

Mirek
Previous Topic: PostgreSQL and Mingw
Next Topic: Sql Lite schema with DATE type
Goto Forum:
  


Current Time: Tue Apr 16 15:52:27 CEST 2024

Total time taken to generate the page: 0.01775 seconds