I have a column in SSRS report which should be shown using thousand separator. I have already tried using text box properties thousand separator check box and it doesn't work.
The column contains decimal values like 10036356.51, -12345.75, etc.
What should be done to display this numbers using thousand separator?
The thousand separator does not work for Character type datatype like CHAR/VARCHAR.
Cast your column value to DECIMAL OR NUMERIC and TRY.
Related
is it possible to display data in TOADs schemebrowser with thousand separator? i.e. one setting so all tables are displayed with thousand separator.
thank you
Not possible, as far as I can tell.
If you search TOAD's options for "thousand", you'll find the "Thousand Separator" in "General" set of options:
But, it just says which character (comma or dot) acts as a thousands separator so that you could use e.g.
select to_char(salary, '999G990D00') from employees
^ ^
| |
thousands decimal separator
It doesn't affect data displayed in the "Data" tab of the Schema Browser (or Editor's "Data Grid").
I have a huge file with 100 columns.
I am concerned with one column called 'Location'. I know for a fact that all rows of this column are same in value. I need to get that value through Bash.
Any thoughts on how to go about this?
If the column is always in the same location relative to other columns (say 10th) you could use
cut -d" " -f10
In this case you're assuming there's one whitespace between each column, you could change the delimiter to whatever separates between the columns.
I am exporting data from oracle table into a csv file. I have a column of varchar2 datatype and it has values like 1.1 and 1.10. When I export these to a csv file the value 1.10 becomes 1.1 and thus creating duplicate records. Is there a way to get both the values 1.10, 1.1 into csv file without loosing the last zero in "1.10".
Thanks
When I export these to a csv file the value 1.10 becomes 1.1 and thus creating duplicate records.
This has nothing to do with Oracle. It is a display problem with the tool you are using. use proper formatting of cells to display up to required decimal places.
Also, 1.1 and 1.10 are same. Appending zeroes to the right after decimal makes no significant difference to the value.
Excel Text Formatting
Right click on the cell.
Select Format Cells.
In the first tab Number, select Text.
Click OK.
Text format cells are treated as text even when a number is in the cell.
The cell is displayed exactly as entered.
In a mapping we use delimited flat file having 3 columns.The column separated through comma. But i have a requirement that in between the column there is a column having 2 comma.So how should I process the column in the mapping?
You should have information quoted with "" so whatever is within " is skiped. this way you could differentiate between comma of a piece of information or as a column separator.
We don't know what have you tried, but count the number of commas for each line and separate accordingly (if possible).
The jQgrid list shows a space between the first and second digit when the number of items are in to 4 digits. For example, when I was viewing, there were 3956 users and it was displaying on the right side bottom part of the table as ‘3 956’.
The space as the separator will be shown because of wrong value of thousandsSeparator value in grid.locale-en.js file. This is correct for Bulgarian (the developer of jqGrid come from Bulgarian), but looks strange for you.
Yo can modify the value thousandsSeparator from " " to "," in the grid.locale-en.js file file or make the following changes
$.jgrid.formatter.integer.thousandsSeparator=',';
$.jgrid.formatter.number.thousandsSeparator=',';
$.jgrid.formatter.currency.thousandsSeparator=',';
before the first call of jqGrid.
If you want you can use no separator ('') instead of the comma (',').