Data storage spaces in varchar2


Posted on 16th Feb 2014 07:03 pm by admin

Trying to understand what's happening.
I am selecting a value from a table that is defined as char(16) and placing in a new table defined as varchar2(50).
If the data that I select contains spaces, ie "1234........0001" (where dot represents space), I am curious how this is stored by Oracle.
The reason I ask is because when I extract the varchar2 field out to a cvs file in contains a tab (chr 9) instead of all of the spaces.
Did you know?Explore Trending and Topic pages for more stories like this.
Please explain this behavior.
Thanks
No comments posted yet

Your Answer:

Login to answer
191 Like 17 Dislike
Previous forums Next forums
Other forums

Need a Timecode Class...
Not a Time Stamp, Time Code. Format is a bit different. HH:MM:SS:FF where FF is Frames. I dont re

building a function with multiple outputs
I want to build a function that has multiple outputs.

I know but am not to sure how I should

close site for maintenance
i get a tutorial, saying the following code can put our site offline, and only the developer can vie

help, header() is not working!
Hello, I have this code:


<?php

/**
* @author samoi
* @copyright 200

Using CSS to format MySQL query
Hi,

If i want to have a news page on my site, which displays all records of a table in descen

Estimations and Effort
HI Gurus,

Would like to know whether SAP have a provision for carrying out the Project es

Attempt to assign property of non-object in...
I'm having issues with the following function in PHP 5...

function getTreeWithChildre

bit of help needed
Im about to sort out my registration page for my website by customising a "registration" s

How can I get my program to read a larger array ??
Hi:

I have this program that reads from an array to do calculations. The array are just t

Multi dimensional arrays
If I put in this code:

1
2
3
4
5
6
7
8
9
10
11
12
13<

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash