Nibble Guru - Computing queries demystified Thursday, November 20, 2008
Home
My Account / Register
Login / Logout
Post your Problem!
Search

About Us
Contact Us



List Home > Programming / Scripting >   [ Post New Problem ]

Welcome back !
TrackingID : 1506
Posted : Wednesday, April 28th, 2004 01:11:20 AM
By : shuwentan
data type problemConfiguration:
Using Oracle 8.1.7. I wanted to insert data from a table into another table. Table 1 has batch Id which is varchar2(10) and the sample data is \'0001234567\'. Table 2 has batch id which the type is number(10). So, when I insert the data, the data inserted become \'1234567\'. I used lpad(rec.batch_id,10,\'0\') but failed to append 0 in front of the data. Pls advise how can I insert \'0001234567\' into the table. Thanks in advance. Operating System : Microsoft Wndows XP
RAM : 512

Related Problems :
Comments :
Re: data type problem by scorpio on May 02nd, 2004 10:53:49 AM
There is something called as binary fill for integer data type. just look for that thing. that should do it for u.

Related Problems :
Post a Note :
UserName (not required in anonymous posts)
Password (not required in anonymous posts)
Post Anonymous (check this only if you wish to post anonymously.)
Subject
Comment (limited HTML allowed)



List Home > Programming / Scripting >   [ Post New Problem ]
Copyright © 2001-2008, Nibble Guru