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 » SQLEX. Is it possible to specify a different name for a real column?
Re: SQLEX. Is it possible to specify a different name for a real column? [message #58142 is a reply to message #58048] Thu, 03 March 2022 08:56 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
upptst/SQL_Name

TABLE_(SIMPLE_TEST1) SQL_NAME("TEST")
   INT_     (ID) PRIMARY_KEY
   STRING_  (NAME, 200) SQL_NAME("NAME2")
   STRING_  (LASTNAME, 200)
   INT_     (BDATE)
END_TABLE


SQL_NAME sets the name to be used with SQL while "normal" IDs are still used in C++.

Mirek
 
Read Message
Read Message
Read Message
Previous Topic: Connection to the postgres db over ssh tunnel
Next Topic: SQL EXPR NOT WORKING
Goto Forum:
  


Current Time: Fri Jun 06 08:46:15 CEST 2025

Total time taken to generate the page: 0.04295 seconds