Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Databases
»
unknown fieldtype while accessing DB2 Express C
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
WIKI Timeout issues
Please read here if you have trouble connecting to the wiki
Recent
Reselect Last Selection
by
440bx
[July 09, 2025, 11:59:04 pm]
Create a png image from a...
by
jamie
[July 09, 2025, 11:56:15 pm]
Questions about GUID decl...
by
440bx
[July 09, 2025, 11:44:59 pm]
LINUX: My program stops w...
by
n7800
[July 09, 2025, 11:23:20 pm]
ChatGPT and ObjectPascal ...
by
PascalDragon
[July 09, 2025, 11:22:21 pm]
controls.lpr(731,15) Erro...
by
Guser979
[July 09, 2025, 11:22:13 pm]
[Solved] Reference to bsS...
by
Wilko500
[July 09, 2025, 11:15:03 pm]
TBufDataset with Invalid ...
by
talisjonatas
[July 09, 2025, 11:06:24 pm]
Synapse TCP/IP client and...
by
rca
[July 09, 2025, 10:46:14 pm]
activex.pp definition pro...
by
gues1
[July 09, 2025, 10:27:36 pm]
Hint windows misplaced an...
by
n7800
[July 09, 2025, 09:59:53 pm]
Input Chinese using Micro...
by
n7800
[July 09, 2025, 09:49:38 pm]
internal Compiler Error
by
marcov
[July 09, 2025, 09:25:27 pm]
Zeromemory vs. Fillchar
by
TBMan
[July 09, 2025, 09:22:44 pm]
Persistent MacOS Arm M ch...
by
Grahame Grieve
[July 09, 2025, 07:56:35 pm]
Flow fields and BFS
by
TBMan
[July 09, 2025, 06:58:22 pm]
Platform eXtended Library...
by
pascalbythree
[July 09, 2025, 05:10:57 pm]
Tangled Line Pattern Make...
by
Boleeman
[July 09, 2025, 04:27:51 pm]
DBF edit & append problem
by
Petrus Vorster
[July 09, 2025, 04:08:21 pm]
[Solved] Can't install mo...
by
lainz
[July 09, 2025, 03:28:41 pm]
[Solved]Open Project fail...
by
cdbc
[July 09, 2025, 03:06:30 pm]
Popup Form to close when ...
by
Thaddy
[July 09, 2025, 02:10:55 pm]
Spikey Splat Creatures fr...
by
Boleeman
[July 09, 2025, 01:19:35 pm]
Amigo programming languag...
by
paxscript
[July 09, 2025, 12:20:33 pm]
Ballet of Lines and Dots ...
by
Boleeman
[July 09, 2025, 09:19:59 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: unknown fieldtype while accessing DB2 Express C (Read 3458 times)
kordoba
Guest
unknown fieldtype while accessing DB2 Express C
«
on:
May 14, 2006, 06:30:46 pm »
Hello,
i'm accessing DB2 Express C via sqldb.
Generally It works, but i can't access timestamp fields.
The errormessage ist "Unknown field type".
How can i solve this problem?
Logged
felipemdc
Administrator
Hero Member
Posts: 3538
RE: unknown fieldtype while accessing DB2 Express C
«
Reply #1 on:
May 16, 2006, 07:55:24 pm »
Try searching the mailling list archives. On March 29 a thread about this topic was created. The answer has something to do with the timestamp format. The thread is huge, so it's best that you read it.
Logged
Anonymous
Guest
RE: unknown fieldtype while accessing DB2 Express C
«
Reply #2 on:
May 16, 2006, 11:38:34 pm »
The easiest way seems to bo to cast the column in the SQL-Statement like follows:
select cast(changedate as char(27)) changedate from schemaname.tablename
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Databases
»
unknown fieldtype while accessing DB2 Express C
TinyPortal
© 2005-2018