Commit graph

30 commits

Author SHA1 Message Date
rylek
77414d5b02 .Sql/SqlStatement.cpp: modified SqlSelect::AsTable to keep extra parentheses around aliased subselect in all dialects except MS-SQL
git-svn-id: svn://ultimatepp.org/upp/trunk@4620 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-02-24 22:45:46 +00:00
rylek
77654d7b83 .Sql/SqlStatement.cpp: modified SqlSelect::AsTable to remove extra parentheses only in MS-SQL dialect
git-svn-id: svn://ultimatepp.org/upp/trunk@4617 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-02-24 22:30:28 +00:00
rylek
3d680acfaf .Sql/SqlStatement.cpp: bug fix in SqlSelect::AsTable to suppress extra parentheses around aliased subselect
git-svn-id: svn://ultimatepp.org/upp/trunk@4612 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-02-24 07:26:26 +00:00
cxl
079e656152 Sql: SqlId escaping now tests whether escaped Id is indeed valid SQL id, no escaping otherwise (workaround for use of SqlId('table.*') and similar)
git-svn-id: svn://ultimatepp.org/upp/trunk@4529 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-02-03 18:07:20 +00:00
cxl
4a1c30eb45 Sql: SqlIds now quoted
git-svn-id: svn://ultimatepp.org/upp/trunk@4526 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-02-03 17:44:48 +00:00
cxl
6aefb7f0b1 Sql: Refactored SQL 'default app cursor', added per-thread SQL option, added secondary SQLR 'default app cursor'
git-svn-id: svn://ultimatepp.org/upp/trunk@4290 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-10 16:03:24 +00:00
cxl
437c7f58cf Core: Id is now String based, Sql: SqlCol erradicated
git-svn-id: svn://ultimatepp.org/upp/trunk@4276 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-08 23:55:47 +00:00
cxl
910902fe7e Sql: More adjustments of sch introspection
git-svn-id: svn://ultimatepp.org/upp/trunk@4275 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-08 19:42:54 +00:00
cxl
044cd307c6 .Sql: Fixing Joins/SqlId/SqlCol
git-svn-id: svn://ultimatepp.org/upp/trunk@4266 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-07 08:49:45 +00:00
cxl
cc2c7e7b64 Sql: JoinRef (first iteration)
git-svn-id: svn://ultimatepp.org/upp/trunk@4264 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-07 07:38:09 +00:00
rylek
4a9bc5e930 Sql: added #ifndef flagNOAPPSQL to SqlStatement::Get() dependant on SQL
git-svn-id: svn://ultimatepp.org/upp/trunk@4108 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-10-29 00:26:50 +00:00
cxl
d84576f890 Sql: SqlStatement::Get() with SQL dialect
git-svn-id: svn://ultimatepp.org/upp/trunk@4106 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-10-26 13:24:50 +00:00
cxl
210fe55152 SqlExp: select unions now have parenthesis around (so that the result can be sorted)
git-svn-id: svn://ultimatepp.org/upp/trunk@3324 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-04-05 18:04:26 +00:00
cxl
e5f89d6f00 .RasterEncoder fix
git-svn-id: svn://ultimatepp.org/upp/trunk@2715 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-09-20 19:17:05 +00:00
cxl
b64f6fa99b Sql: SqlSelect now can add individual fetch values using operator()
git-svn-id: svn://ultimatepp.org/upp/trunk@2587 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-08-02 10:29:31 +00:00
rylek
6388462fa4 +Sql: new method SqlUpdate::Column(const SqlSet& cols, const SqlSet& vals) supports Oracle-style multicolumn SET in UPDATE (UPDATE xxx set (A, B, C) = select A, B, C from yyy)
+TSql: new variants Force[Schema]Update support incremental updates according to comparison of 'old' and 'new' row data

git-svn-id: svn://ultimatepp.org/upp/trunk@2570 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-07-27 08:05:41 +00:00
cxl
aa7a0ad11a .uppsrc: Minor fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@2345 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-04-29 10:11:40 +00:00
rylek
d775296b1e Minor priority-related fixes in SqlExp
git-svn-id: svn://ultimatepp.org/upp/trunk@1896 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-01-15 22:02:07 +00:00
rylek
8132cd7f9f Minor Sqlite-related fixes and improvements; new helper HttpContentDisposition to simplify generation of http response headers
git-svn-id: svn://ultimatepp.org/upp/trunk@1881 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-01-12 13:53:13 +00:00
cxl
08e45d5330 Sql, SqlExp: InsertNoKey(Fields) ommits first column - intended for key with autoincrement
git-svn-id: svn://ultimatepp.org/upp/trunk@1630 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-10-14 13:55:05 +00:00
cxl
699e83eb52 PGSQL except/minus patch
git-svn-id: svn://ultimatepp.org/upp/trunk@1548 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-09-04 12:19:39 +00:00
cxl
6a695d1eae SqlExp: SqlSelect AsTable, Joins accept SqlSet
git-svn-id: svn://ultimatepp.org/upp/trunk@1530 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-08-24 13:35:55 +00:00
cxl
96db66b384 SqlExp: AsValue fix
git-svn-id: svn://ultimatepp.org/upp/trunk@1526 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-08-24 12:18:41 +00:00
rylek
4b103817ab Fixed handling of SQL UPDATE without WHERE clause
git-svn-id: svn://ultimatepp.org/upp/trunk@1517 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-08-17 18:38:33 +00:00
cxl
d5b7c54433 MSSQL: SQLDEFAULT
git-svn-id: svn://ultimatepp.org/upp/trunk@1235 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-05-25 12:45:23 +00:00
cxl
1282114baf SqlPerformScript
git-svn-id: svn://ultimatepp.org/upp/trunk@1234 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-05-25 10:20:08 +00:00
cxl
d2f4e3a995 SqlPerformScript (intended to replace all those ugly ODBCPerformScript etc..)
git-svn-id: svn://ultimatepp.org/upp/trunk@1233 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-05-25 09:37:24 +00:00
cxl
3a1046608e Painter MMX expriments, SqlSelect(....) fix
git-svn-id: svn://ultimatepp.org/upp/trunk@793 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-01-21 19:07:59 +00:00
cxl
7d3d8dc7b5 SqlArray topics started
git-svn-id: svn://ultimatepp.org/upp/trunk@590 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-11-02 09:02:58 +00:00
mdelfede
d2b54f7989 changed svn layout
git-svn-id: svn://ultimatepp.org/upp/trunk@281 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-06-07 22:31:27 +00:00