Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Database > Oracle
Oracle General Oracle database discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Oracle section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 5th, 2004, 10:30 AM
Authorized User
Join Date: Sep 2003
Posts: 83
Thanks: 0
Thanked 0 Times in 0 Posts
Default Oracle FLOAT and SQL Server real

Hi all,

A small mapping question. Is the SQL Server data type 'real' equal to Oracledata type 'FLOAT'? I am wondering whether to convert real to float or Oracle number. When I use number, it seems to truncate the value after the decimal point.



Old July 5th, 2004, 10:37 PM
Registered User
Join Date: Mar 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts

Hi Pankaj,

There is no datatype FLOAT in Oracle ...you can implement the float using the NUMBER datatype in Oracle...the declaration is number(x,y)...where y is the precision and x is the total length inclusive of the precision...e.g. number(6,2) implies number of length 6 out of which 2 are reserved for the precision

Similar Threads
Thread Thread Starter Forum Replies Last Post
managing picture using oracle or sql server vedant Oracle 3 January 28th, 2008 08:59 PM
Oracle to SQL Server DataType Mapping maulik33 SQL Language 0 November 1st, 2007 02:48 PM
time in sql server is not real time hertendreef SQL Server 2005 6 April 19th, 2007 07:07 AM
Data Migration from Oracle to SQL Server AB SQL Server DTS 1 July 27th, 2005 12:38 AM
Anyone fluent in Oracle and SQL Server? evaldesc Oracle 0 July 13th, 2004 11:09 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.