Search found 16 matches
- 19.01.2012, 11:34
- Forum: 6.6 - stable
- Topic: Timeout expired while executing MS-SQL function
- Replies: 1
- Views: 584
- 05.10.2010, 12:23
- Forum: 6.6 - stable
- Topic: ZEOS AND MSSQL TIME OUT
- Replies: 3
- Views: 720
- 14.12.2009, 12:52
- Forum: 6.6 - stable
- Topic: Timeout expired while executing MS-SQL function
- Replies: 1
- Views: 584
Timeout expired while executing MS-SQL function
Hi, I've a very complex table-value function in MS-SQL (ADO protocol) which takes a long time to complete/send the first resultset row. For example: SELECT * FROM MY_FUNC(param1, param2, ...); Sometimes it takes more than 60 seconds (using SQL Management Studio) until the server returns the first ro...
- 25.02.2009, 13:54
- Forum: 6.6 - stable
- Topic: Column type metadata request for MSSQL returns no type
- Replies: 10
- Views: 1229
- 17.02.2009, 15:26
- Forum: 6.6 - stable
- Topic: Bulk DDL Statements from script
- Replies: 2
- Views: 530
Bulk DDL Statements from script
Hi, I have a script which contains all CREATE statements for my views, procedures and indicies. This script is an export from IBExpert (Firebird 2.0 DB). That's not a special format, it's just a list of multiline CREATE statements: SET TERM ^ ; CREATE PROCEDURE FOOO.... BEGIN ........ END^ CREATE PR...
- 16.02.2009, 13:31
- Forum: 6.6 - stable
- Topic: TZMetadata Access Violation and duplicated rows
- Replies: 1
- Views: 843
TZMetadata Access Violation and duplicated rows
Hi, I'm using TZMetadata on a Firebird 2.0 database to receive the tables, views, procedures. etc. mdTables works fine for TABLE objects, but not for VIEWs. Examples: Some VIEWs are returned correnct: one row, containing the VIEW name and the type "VIEW". This VIEWs have a VIEW_CONTEXT = 0...
- 12.01.2009, 18:20
- Forum: 6.6 - stable
- Topic: Column type metadata request for MSSQL returns no type
- Replies: 10
- Views: 1229
Oops, my fault - sorry :roll: I have only uncommented Result.UpdateShortByName('DATA_TYPE', Ord(ConvertAdoToSqlType(GetShortByName('DATA_TYPE')))); but not the rest of the code which checks the column flags reported by the server. At my first post, there wasn't any blob fields in my database, so unc...
- 12.01.2009, 16:04
- Forum: 6.6 - stable
- Topic: Column type metadata request for MSSQL returns no type
- Replies: 10
- Views: 1229
- 12.01.2009, 14:20
- Forum: 6.6 - stable
- Topic: Column type metadata request for MSSQL returns no type
- Replies: 10
- Views: 1229
ColumnInfo.Precision is for text datatypes 2147483647 UPDATE: I have found the reason why the exception is raised: FColumnLengths[I] := GetColumnSize(Current); FColumnOffsets[I] := FColumnsSize; Inc(FColumnsSize, FColumnLengths[I] + 1); FColumnsSize is the size of all columns. So, adding 2147483647+...
- 12.01.2009, 13:42
- Forum: 6.6 - stable
- Topic: Column type metadata request for MSSQL returns no type
- Replies: 10
- Views: 1229
- 11.12.2008, 15:13
- Forum: 6.6 - stable
- Topic: Column type metadata request for MSSQL returns no type
- Replies: 10
- Views: 1229
Column type metadata request for MSSQL returns no type
Hi, I've just tried to request the column type of an mdColumns metadata request. I have many different datatypes used in my tables, but every request to self.FMetadata.FieldByName('DATA_TYPE').AsInteger returns 0 (for MSSQL/ADO connections). On line 1584 in ZDbcAdoMetadata.pas I have found the follo...
- 26.11.2008, 22:11
- Forum: 6.6 - stable
- Topic: Count and datatype of unnamed params
- Replies: 9
- Views: 1179
- 26.11.2008, 21:50
- Forum: 6.6 - stable
- Topic: Count and datatype of unnamed params
- Replies: 9
- Views: 1179
The current API spec. requires the exact type, so if I always assume the type is string, the application allways calls set_param_asString. But I think I can change the API so the application must call set_param(index, datatype, databuf); because you're right - the application should know the exact t...
- 26.11.2008, 21:15
- Forum: 6.6 - stable
- Topic: Count and datatype of unnamed params
- Replies: 9
- Views: 1179
- 26.11.2008, 17:53
- Forum: 6.6 - stable
- Topic: Count and datatype of unnamed params
- Replies: 9
- Views: 1179