Solved

signed decimal sql standard datatype?

Posted on 2004-04-15
1
385 Views
Last Modified: 2011-09-20
I have lines in a csv like these:

07/09/2002,'ORDER POSTING',-5,'TMT',0.463,10.8,0
01/06/2003,'ORDER POSTING',75.76,'C',-2.4524,37.4,15.96
--'Date','Description','Amount','Symbol','Quantity','Price','Commission'

The quantity column is negative for a withdrawal (sell stocks), positive otherwise.  I have no other way with this data set to see if withdrawal/deposit.  any hope of a signed decimal datatype for this?  There is too much precision for "money" datatype.  I am using pgsql

muchas gracias,

joe
0
Comment
Question by:joesp
1 Comment
 
LVL 6

Accepted Solution

by:
musdu earned 75 total points
ID: 10831165
Hi,

NUMBER datatype can hold both positive and negative numbers on Oracle.

regards.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article describes some very basic things about SQL Server filegroups.
Read about achieving the basic levels of HRIS security in the workplace.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now