473,543 Members | 2,030 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Changing from money...

From Day One I have been using "money" in all of my tables, sigh, I guess
it is time to change...

Any suggestions on what to change to and how to conveniently
do the transformation. Anything to watch out for?

I have about 6 tables and the largest only has about 3300 rows.

Jerry
Nov 23 '05 #1
2 1253
I made a similar change to numeric 8,2

Gavin

On 6 Jun 2004 08:17:42 -0700, Jerry <je*********@ek u.edu> wrote:

From Day One I have been using "money" in all of my tables, sigh, I guess
it is time to change...

Any suggestions on what to change to and how to conveniently
do the transformation. Anything to watch out for?

I have about 6 tables and the largest only has about 3300 rows.

Jerry

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddres sHere" to ma*******@postg resql.org)


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 23 '05 #2
I made a similar change to numeric 8,2

Gavin

On 6 Jun 2004 08:17:42 -0700, Jerry <je*********@ek u.edu> wrote:

From Day One I have been using "money" in all of my tables, sigh, I guess
it is time to change...

Any suggestions on what to change to and how to conveniently
do the transformation. Anything to watch out for?

I have about 6 tables and the largest only has about 3300 rows.

Jerry

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddres sHere" to ma*******@postg resql.org)


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

23
5056
by: Mark Parnell | last post by:
I'm relatively new to PHP, and have just converted a site from ASP to PHP. There is one thing I haven't managed to do, though. When the site was using ASP, I had one file (called variables.asp), where I defined various variables that are used throughout the site. I could then access all of these in any other file by simply including that...
24
3496
by: Batista, Facundo | last post by:
Here I send it. Suggestions and all kinds of recomendations are more than welcomed. If it all goes ok, it'll be a PEP when I finish writing the code. Thank you. .. Facundo
0
2402
by: Jason Jodon | last post by:
I am trying to change the value of the Qty field in this cXML stream to reflect the value the user enters in the Qty field. Our programmer showed me this in XML using Microsoft.XMLDOM, but the rules don't seem to apply for cXML. Any help would be greatly appreciated by this very new cXML programmer. Thanks!!! --- <FORM METHOD=POST...
7
6569
by: Frostillicus | last post by:
Hi, I've written some javascript to randomly choose a classical music composer's picture and sample audio and display it on my home page (http://marc.fearby.com/), and this works fine in Mozilla but has problems in IE. Here's the code: imagestring = "<img src=\"" + imagedir + composers + "\" />"; objimage.innerHTML = imagestring;
16
2420
by: StenKoll | last post by:
Help needed in order to create a register of stocks in a company. In accordance with local laws I need to give each individual share a number. I have accomplished this by establishing three tables (se below) then I run a query giving me a running total, which give me the first stock in the batch purchased by an individual, then I use this...
7
5251
by: Dan Sikorsky | last post by:
How do you iterate thru a dataset to change money fields to a different value? Here's what I have. My dataset is filled directly from a stored procedure. ' Create Instance of Connection and Command Object Dim myConnection As SqlConnection = New SqlConnection(ConfigurationSettings.AppSettings("ConnectionString")) Dim myCommand As New...
0
283
by: Jerry | last post by:
From Day One I have been using "money" in all of my tables, sigh, I guess it is time to change... Any suggestions on what to change to and how to conveniently do the transformation. Anything to watch out for? I have about 6 tables and the largest only has about 3300 rows. Jerry
3
2356
by: ShaliniJennifer | last post by:
Hi, I had to change a columns datatype from money to varchar(100)...I have data in my table..I am using sql-server 2005..I tried the following coding.. ALTER TABLE bb ALTER COLUMN dealercost varchar(100) NOT NULL It gives me an error as: Msg 260, Level 16, State 1, Line 1
7
2974
KoreyAusTex
by: KoreyAusTex | last post by:
I am having a very hard time making this program work right, I am sort of lost and I was wondering if I might get some advice. This is what I have so far but I have a rounding error when I use the amount 10.03: public class Money { public static void main(String args) { double TOTAL_AMOUNT = 10.03;
0
7355
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7594
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7356
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5889
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5285
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3394
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1830
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
979
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
648
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.