Home » U++ Library support » U++ SQL » SQL "AS" for PostgreSQL fixed
SQL "AS" for PostgreSQL fixed [message #9582] |
Thu, 17 May 2007 23:45 |
zsolt
Messages: 698 Registered: December 2005 Location: Budapest, Hungary
|
Contributor |
|
|
To be able to use SqlId::As() with PostgreSQL, you have to change Sql/SqlVal.cpp:
SqlCol SqlId::As(const char *as) const
{
//return id.IsNull() ? ToString() : ToString() + SqlCase(MSSQL, " as ")(" ") + as;
return id.IsNull() ? ToString() : ToString() + SqlCase(MSSQL | POSTGRESS, " as ")(" ") + as;
}
[Updated on: Thu, 17 May 2007 23:46] Report message to a moderator
|
|
|
|
|
Goto Forum:
Current Time: Mon May 06 03:30:06 CEST 2024
Total time taken to generate the page: 0.02143 seconds
|