Unix Technical Forum

How to fetch or store a BIGINT using dbExpress and Delphi 2005

This is a discussion on How to fetch or store a BIGINT using dbExpress and Delphi 2005 within the SQL Server forums, part of the Microsoft SQL Server category; --> Since there is no native support for 64bit integers in dbExpress, it is not trivial to fetch a BIGINT ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-29-2008, 07:07 AM
Jon
 
Posts: n/a
Default How to fetch or store a BIGINT using dbExpress and Delphi 2005

Since there is no native support for 64bit integers in dbExpress, it
is not trivial to fetch a BIGINT from SQL 2k.

If it is possible, how can a BIGINT be fetched using TParam or TField?

Any help appriciated
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-29-2008, 07:07 AM
Martijn Tonies
 
Posts: n/a
Default Re: How to fetch or store a BIGINT using dbExpress and Delphi 2005

Hello Jon,

> Since there is no native support for 64bit integers in dbExpress, it
> is not trivial to fetch a BIGINT from SQL 2k.
>
> If it is possible, how can a BIGINT be fetched using TParam or TField?


If you create persistent fields, doesn't it get created as a
TFmtBCDField?


--
With regards,

Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server
Upscene Productions
http://www.upscene.com


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-29-2008, 07:08 AM
Simon Hayes
 
Posts: n/a
Default Re: How to fetch or store a BIGINT using dbExpress and Delphi 2005


"Jon" <jonsjostedt@hotmail.com> wrote in message
news:9f379edc.0504190104.433d96f4@posting.google.c om...
> Since there is no native support for 64bit integers in dbExpress, it
> is not trivial to fetch a BIGINT from SQL 2k.
>
> If it is possible, how can a BIGINT be fetched using TParam or TField?
>
> Any help appriciated


I know nothing about Delphi, but perhaps you can CAST the bigint values to
varchars when you return them from MSSQL?

Simon


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:12 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com