joost
dcfa75b781
* When TSQLQuery.SetSchemaInfo is used the sql-statement is not set directly anymore, but during the prepare (more Delphi/dbexpress compatible)
...
* Added TSQLQuery.SchemaInfo property
* Added tests for GetTableNames and GetFieldNames
git-svn-id: trunk@12557 -
2009-01-17 17:09:49 +00:00
joost
f722533e9a
* Removed totally useless "try .. except raise end" block
...
git-svn-id: trunk@12514 -
2009-01-05 13:08:13 +00:00
joost
11015eb6ad
* Changed SQLParser in a function which returns the obtained statement-type instead of setting the statementtype of the cursor directly, second part of r12512
...
git-svn-id: trunk@12513 -
2009-01-05 13:01:44 +00:00
joost
d6903a4bb6
* Moved some code to avoid problems while handling exceptions
...
git-svn-id: trunk@12512 -
2009-01-05 12:43:27 +00:00
joost
8922c3e310
* Check for an empty statement before the cursor is allocated so that the right error message is shown. (+test which was committed partly in r12510 already)
...
git-svn-id: trunk@12511 -
2009-01-05 12:23:54 +00:00
joost
00e76eab6a
* SQLdb now handles queries with statementtype stExecProcedure as select queries so that it is possible to fetch the results. But stExecProcedure will fetch only one row of data.
...
* TIBConnection now sets the statement type of a call to a stored procedures to stExecProcedure. This also works for "insert into .. returning" queries. (+test)
git-svn-id: trunk@12454 -
2008-12-29 13:17:34 +00:00
joost
ddeea252b5
* Partly reverted r11511 so that a query is prepared only once
...
git-svn-id: trunk@12427 -
2008-12-24 10:04:33 +00:00
joost
a7086e7164
* Allow parameter-names between double-quotes
...
* Place parameter-names between double-quotes in TBufDataset.ApplyUpdates +tests (bug 12275)
git-svn-id: trunk@12284 -
2008-12-01 13:13:48 +00:00
joost
138280cb6d
* UsePrimaryKeyAsKey default value is true, bug #12257
...
git-svn-id: trunk@12244 -
2008-11-27 11:51:24 +00:00
joost
c79e23c5eb
* Register DataPacketReaders
...
git-svn-id: trunk@11837 -
2008-09-28 19:53:00 +00:00
joost
e3e2b60b02
* Implemented FileName property. If set, the dataset is read from file on opening and saved to file on closing
...
* Defaultfields is now set before a dataset is read from file, so that CreateFields is only called when necessary
* A TSQLQuery can be read and saved to file also
git-svn-id: trunk@11537 -
2008-08-07 21:37:52 +00:00
michael
d39c352d92
* Fixed prepare for select statements
...
git-svn-id: trunk@11511 -
2008-08-05 11:58:00 +00:00
michael
cc0c2d6467
* SqlScript committed
...
git-svn-id: trunk@11366 -
2008-07-11 14:16:39 +00:00
michael
b32a493b7d
* Fixed memory leak when re-assigning datasource property
...
git-svn-id: trunk@11312 -
2008-07-02 16:23:13 +00:00
joost
6f8fd76e21
* Restructured the ApplyRecUpdates mechanism. Update-queries are only created when necessary and improved error messages. Readonly does not depend on ParseSQL anymore (mantis 9254) + test
...
git-svn-id: trunk@10926 -
2008-05-09 21:40:18 +00:00
joost
6f3e1bba28
* Fixed bug #8442 + test
...
git-svn-id: trunk@10905 -
2008-05-07 20:53:09 +00:00
joost
983e723262
* Implemented Port property (bug 10533)
...
git-svn-id: trunk@10344 -
2008-02-16 22:07:44 +00:00
joost
c48fe41781
* Patch from Jesus Reyes to set a default for ParseSQL (bug 10798)
...
git-svn-id: trunk@10341 -
2008-02-16 21:08:54 +00:00
joost
3bc2f94398
* Implemented TBufDataset.IndexFieldNames (+test)
...
* Fixed some db-error messages
git-svn-id: trunk@10006 -
2008-01-26 23:37:04 +00:00
joost
321be49ff5
* Added TSQLQuery.ServerIndexDefs, the indexes on the server are now stored in this new property instead of IndexDefs which from now on only stores the local indexes
...
git-svn-id: trunk@9975 -
2008-01-26 21:02:31 +00:00
joost
ce9b080854
* Always reset FUpdateable when calling the SQLParser (+test)
...
git-svn-id: trunk@9878 -
2008-01-23 09:14:07 +00:00
joost
3852af4afb
* Moved StringsReplace from sqldb to strutils
...
* Removed unused NotYetImplemented procedure from strutils
git-svn-id: trunk@9771 -
2008-01-15 22:13:47 +00:00
joost
9f97f670ab
* Moved implementation of IndexDefs from sqldb to bufdataset
...
git-svn-id: trunk@9504 -
2007-12-21 22:50:45 +00:00
michael
c4c6f3f655
* Setting TSQLQuery.Transaction sets TSQLQuery.Database and vice versa. Same for TSQLTransaction.Database and Database.Transaction
...
git-svn-id: trunk@9433 -
2007-12-12 19:46:09 +00:00
joost
dc33a9bc87
* Not only a comma is a seperator in the from-clause of a query. Fixes bug #10148 (+test)
...
git-svn-id: trunk@9254 -
2007-11-14 22:08:01 +00:00
joost
9080909740
* TSQLQuery.StatementType should not be published
...
* Quote fieldnames in ApplyUpdates for connections which needs this + test (bug 9661)
* Do not try to update the indexdefinitions if the TableName is unknown
* Try to obtain the TableName even if the dataset is readonly
git-svn-id: trunk@9119 -
2007-11-03 22:20:45 +00:00
joost
53b6757c6e
* Removed unused SetIndexDefs
...
* IndexDefs should not be passed as var to UpdateIndexDefs
git-svn-id: trunk@9107 -
2007-11-03 16:08:34 +00:00
joost
1f9443f90f
* implemented GetFieldNames
...
* implemented GetTableNames
* added support for smallint fields
git-svn-id: trunk@9073 -
2007-11-02 22:10:28 +00:00
joost
3e2b2b3aa5
* Removed unnecessary "as" calls, added class-type checks in SetDatabase
...
git-svn-id: trunk@8861 -
2007-10-20 12:16:24 +00:00
joost
c39b663201
* Patch from Andrey Gusev to implement TSQLQuery.GetRowsaffected + test
...
git-svn-id: trunk@8843 -
2007-10-18 20:45:10 +00:00
joost
a701dab36c
* Fix for empty searchstrings in stringsreplace
...
git-svn-id: trunk@8752 -
2007-10-08 21:24:01 +00:00
joost
865386b464
* some fixes for queries with more then 10 parameters + tests
...
git-svn-id: trunk@8745 -
2007-10-08 10:00:28 +00:00
joost
327c0834ac
* Trim obtained names in GetDBInfo
...
git-svn-id: trunk@8436 -
2007-09-12 10:59:04 +00:00
michael
6e75a2da3c
* Re-published properties that disappeared
...
git-svn-id: trunk@8221 -
2007-08-04 18:36:25 +00:00
joost
f88fca7d83
* If Serverfilted is true, use the ServerFilter instead of the normal Filter
...
git-svn-id: trunk@8173 -
2007-07-27 22:09:32 +00:00
michael
a093c52815
* Added check for circular datasource reference in case datasource not nil
...
git-svn-id: trunk@8168 -
2007-07-27 09:06:42 +00:00
michael
9bc1c04688
* Added check for circular datasource reference
...
git-svn-id: trunk@8167 -
2007-07-27 09:02:09 +00:00
michael
b3ac071c8c
* Made GetConnectionDef Public
...
git-svn-id: trunk@8077 -
2007-07-16 17:20:35 +00:00
michael
1ea8136192
* Published property Database in TSQLQuery again
...
git-svn-id: trunk@7955 -
2007-07-05 07:40:41 +00:00
michael
061bfa3301
* Introduced TCustomSQLQuery, with properties in protected mode
...
git-svn-id: trunk@7364 -
2007-05-16 15:31:11 +00:00
michael
6a6ca4afbd
* Implemented TSQLConnector
...
git-svn-id: trunk@6679 -
2007-02-27 23:24:18 +00:00
peter
5b8dd4c004
* move fcl sources to separate packages
...
git-svn-id: trunk@6655 -
2007-02-25 21:02:26 +00:00