Changing Format of column ODI
Hi all
I created a mapping (interface) on ODI 12 c. In the area of the source, there is a view (view very huge and important), created in Oracle db. In the target box, my table is in MSSQL Server. Here, the problem is, a column in the view Oracle type does not match the target MSSQL table. Therefore, I must add TRUNC funtion to this column, but I can't change in the actual db. I just have to environment ODI. Is it possible to edit the data coming from the database in ODI? If not, what can I do? Changing the type of column in MSSQL does not work. It does not support a data type for holding such a number; "70.32782857142857142857142857142857142857'".
Can you help me?
Thank you
Hello
Yes, you are right, the problem occurred before the truncation or rounding, because we are trying to truncate data to MSSQL that is target and he accepts not the many to MSSQL and the production of the error.
As an alternative, we can truncate the data only at the level of the source that is Oracle and just pass the data truncated to MSSQL.
You can use component (tool) "EXPRESSION" of ODI for your purpose, put only to this view oracle column (as well as the types are mismatching) in EXPRESSION and use trunc on or in the EXPRESSION properties, choose 'source' in the ' run on Hint "option.
But I'm not sure that with this truncation method will be at the level of the source only. Please try it, Hope so it can walk.
Thank & best regards
Shiv Kumar
Tags: Business Intelligence
Similar Questions
-
Windows Desktop Search 4.0 how to format the column Date in results?
Is it possible to change the date column in the result pane of Windows Desktop Search 4.0?
It runs on a Windows 2003 Enterprise Server.
I have users who need to modify files that arrived today and yesterday, after 17:00. The date column only displays the time on files including today's date. Is there a registry setting that I can shape for this column to always display the Date and time?
Kind regards
RN
Hello
Republish the issue in the Windows Server forum
http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?Forum=winservergen
Thread Windows Date put in - form
-
Change in the columns InDesign police
I have a body of text in InDesign, which is formed in columns by using the tab (as below)
EXAMPLE example example
Info Info Info
Is it possible that I can format the columns differently? For example, can I change the second column of bold text and the third the italics?
Yes, use the Styles nested in your paragraph style.
-
How to format a column number displayed when drilled down in the dimension
I have a question:
For example, I defined a drill on track: year/month/day. I then create a report with the first column in the year. When a user clicks on the column of the year, he bore down to display the year, month, etc. So far so good.
Say that the month is a number of type double: 1 for January, 2 for the Fed, etc.
Now, the displayed month is 1,00, 2,00, etc.. Same question when uncovered. The chart legend / label this issue also.
I can format the year for not only no decimals in tab Format of data when the report is created. Question: How can I format the month? I don't have a chance to make the change in Data Format because it is a column displayed automatically through zoom.
I could format the month in Business Admin tool or the presentation layer. But I'm looking for solutions BI answers / dashboard.
Thanks in advance for your help.You can set a default value to the system-wide formatting for this column. Add the column to a request format her if necessary, and then in the tab press 'Format of column', 'Save'-> "default" systems for 'Time'. Month' "(or whatever your column is called).
Just be aware that it will be applicable throughout the entire catalog!
See you soon,.
C. -
Edition of text column data Format database columns of answers
Hello
We use Oracle Business Intelligence Enterprise Edition v10.1.3.4 on the cube for OLAP Oracle 11 g. Reports we create have (among other things) columns with an underlying type of VARCHAR data in oracle tables.
When we try to change the properties of such a VARCHAR column column, "Data Format" tab shows only 'Plain Text' as an option under the menu drop-down "Override default data Format". Options to display the text 'HTML' or 'LINKS', etc. are not available.
All entries on what can be done in the answers or the repository to get these options for formatting of column data are highly appreciated.
Thank you
PiyushYou set your HardenXSS to false in the instanceconfig.xml file? By default, OBIEE is set to true. Setting to false allows the HTML tags to appear as options for fields VAR. check it out here... Chapter 2, page 37.
http://download.Oracle.com/docs/CD/B40078_02/doc/bi.1013/b31766.PDF
-
Change the first column seen in the datagrid by code?
Hello
Is anyway to change the first column in a DataGrid using action script? I mean, for example, think I have 10 columns, only 3 are seen (0,1,2). I just want to have a button to change the first column view. Thus, for example, if I press it, 1.2, and third column will be those that is displayed in the datagrid control. I need to emulate the same thing that the scroll bar when you drag in a datagrid, but instead of letting the scroll bar does that automatically, I want to "scroll" datagrid manually.
Moreover, is anyway through datagrid children and hide the scrollbar manually?
Thanks in advance,
Aron.
horizontalScrollPolicy
-
Digital Format on column displayed as a Popup LOV mask
APEX 4.2 using theme 24. In a tabular presentation, I have a column that is defined in the table as number 4 and I display as a Popup LOV. I want to display on the initial load data form left padded with zeros - 0000 format mask. The Popup LOV gray on the ability to set the format mask. If I change it to a text field I can define the mask and display it as I want. I need to allow users to choose one of the LOV based on another table where the column is defined as a character. When the value is selected in the LOV it appears with the full left 4 digits padded with leading zeros, which is what I want. However as I said on the initial load of data the leading zeros are not displayed. It's really just a matter of Visual for the users, it is part of a GL account number and users are accustomed to seeing the full figures as if it was the character. And please do not suggest I change the column in the table of characters too much process on the side server use it as a number.
Thanks for the feasible suggestions!
Therese
Theresas wrote:
APEX 4.2 using theme 24. In a tabular presentation, I have a column that is defined in the table as number 4 and I display as a Popup LOV. I want to display on the initial load data form left padded with zeros - 0000 format mask. The Popup LOV gray on the ability to set the format mask. If I change it to a text field I can define the mask and display it as I want. I need to allow users to choose one of the LOV based on another table where the column is defined as a character. When the value is selected in the LOV it appears with the full left 4 digits padded with leading zeros, which is what I want. However as I said on the initial load of data the leading zeros are not displayed. It's really just a matter of Visual for the users, it is part of a GL account number and users are accustomed to seeing the full figures as if it was the character. And please do not suggest I change the column in the table of characters too much process on the side server use it as a number.
Simply select it in the source region like query:
... to_char(col, 'fm0000') col_alias ...
-
Editable interactive report. To change the list column dropdown type filter.
Hi all, I thought I had posted this, but I can't find my post, so apologies if it turns up to twice more...
XE SUMMIT 4.2 11.2
Ive created an editable interactive report... Everything works very well, and I have several Text, LOV and selection list columns...
However when I now click on a column header to filter, sort etc drop-down list is the same format as the column itself. So if for example, I have a text box, then the drop-down list is also text boxes, if the column is a column LOV, the filter drop-down list is a list of fields LOV. (Im assuming this is correct behavior, because it simply inherits the column parent..) So, I would change the lists to a list of standard display so that they are in order and can be used...
I think so? I know I have to do, which is either to substitute the function that generates the dropdown filter... or probably more simply, write a bit of JS/JQuery that modify data for drop-down lists. Im still to learn, some help would be appreciated...
I think so. (and please correct me if I'm talkiing... garbage) I need to find each of the appearance of the DIV with the ID that corresponds to the drop-down list box, and then loop through each entry and change the structure...
Currently the source for drop-down fields resembles the following (for a text field...). :
< div id = "apexir_rollover_content" >
< a href = "javascript:void (false); ">
< input type = "text" value = "24489" maxlength = size "2000" = "6" name = 'f06' > < / input >
< /a >
< a href = "javascript:void (false); ">
< input type = "text" value = "N1021" maxlength = "2000" size = "6" name = 'f06' > < / input >
< /a >
< / div >
How could I 1) browse each occurrence of div id = "apexir_rollover_content" on my page, so I found out about each other, how would I go through the list and change the line above an input to a standard list item text...? Or is there a simpler way to do it?
Kind regards
Richard
Hello
Problem was on your process to GET the VALUES of LOV.
You did not bind the variable values of cursor.
I created another process for your page that manages LOV BUDGET_CAT
Kind regards
Jari
-
Impossible to change the table column heading alignment in 11.1.1.5
11.1.1.5 work.
I want to align to right one of my headers of columns in the Table view. I'm going in the criteria, the column properties tab. Format of the column and clicking the Format icon next to the column heading box. I'm on the column properties dialog box, change the background color, adding a border and right Horizontal alignment setting. See the table in the results, I see the background color of the column heading, and I see the border. However, the column header text is always aligned to the left.
What Miss me it please?Hi Mark,
You do not have lack of what, whether Oracle has missed this basic functionality! This is a bug :-(
Bug 12696084: FORMAT HEADINGS > HORIZONTAL ALIGNMENT does NOT WORK IN THE TABLE OR the PIVOT VIEW
Rgds,
DpKa -
changing format of cells in excel via clien_ole2
Hi all
opertating system: windows xp
Forms [32 bit] Version 10.1.2.0.2 (Production)
Database 10g
I use client_ole2 to export the data from the database to excel file and it works fine.
the problem is:-
After exporting the account number, it appears as (5.52E + 12), but the correct format is (5520530000000).
I changed the format of cells in the excel file manually after generation and it worked, but I want to change the format of the cell via coding. If anyone can help me that doing so.
___________________________________________________________________________________________________________________________________________
Here are some parts of the code
declare
-myexcelcontent CLOB.
-l_xml_body CLOB.
Number of the ARG: = 1;
Lev VARCHAR2 (100) ;--Numéro;
old_lev VARCHAR2 (100) ;--Numéro;
number x: = 1;
old_x number: = 1;
number of Temp: = 1;
cost_cent varchar2 (100);
Number of the Bank;
number of old_bank;
hParagraphFormat CLIENT_OLE2. OBJ_TYPE;
i_reporttitle VARCHAR2 (200): = 'my excel. "
COL1 VARCHAR2 (2);
COL2 VARCHAR2 (8);
number of r: = 2;
c number: = 1;
number of max_prl_code1;
i_orientation VARCHAR2 (200): = '1';
i the number: = 1;
V_LEV_NAME VARCHAR2 (100);
number of lev_noo;
/ * definition of commonly used variables and constants and exceptions * /.
ExcelID CLIENT_OLE2.obj_type;
ExcelWorkBooksID CLIENT_OLE2.obj_type;
ExcelWorkBookID CLIENT_OLE2.obj_type;
ExcelWorkSheetsID CLIENT_OLE2.obj_type;
ExcelWorkSheetID CLIENT_OLE2.obj_type;
ExcelCellID CLIENT_OLE2.obj_type;
SHEET CLIENT_OLE2.obj_type;
ExcelFontID CLIENT_OLE2.obj_type;
ExcelPageSetupID CLIENT_OLE2.obj_type;
ExcelArgs CLIENT_OLE2.list_type;
args1 CLIENT_OLE2. LIST_TYPE;
number of z: = 9;
number y: = 1;
range CLIENT_OLE2. OBJ_TYPE;
range_col CLIENT_OLE2. OBJ_TYPE;
-Define ecolors th if they must be used
color CLIENT_OLE2.obj_type;
myBlue CONSTANT number (8): = 16711680; -FF0000
myGreen CONSTANT number (8): = 65280; -00FF00
myRed CONSTANT number (8): = 255; -0000FF
myDkGreen CONSTANT number (8): = 32768; -008000
number (8) CONSTANT myBlack: = 0; -000000
-CLIENT_OLE2.set_property (ExcelFontId, 'Color', myred);
-summition variables
JOB_DESC VARCHAR2 (200);
DEGR_DESC VARCHAR2 (200);
SAL NUMBER;
NUMBER OF V_HOUSE;
NUMBER OF V_EXPENSE;
NUMBER OF V_SOC;
NUMBER OF V_SON;
NUMBER OF V_TRAN;
NUMBER OF V_FUEL;
NUMBER OF V_WORK_NATURAL;
NUMBER OF V_ELECT;
NUMBER OF V_OTH_ADD;
NUMBER OF NET_SAL_PER_EMP;
CURSOR f IS
SELECT ALL PRL_HSAL_MST. PRL_CODE,
PRL_HSAL_MST. SAL_ACT_BSC,
PRL_HSAL_MST. SAL_MST_SRL,
PRL_HSAL_MST. SAL_MON,
PRL_HSAL_MST. SAL_WRK_DS,
PRL_HSAL_MST. SAL_TOT_SAL,
PRL_COSTCENTER. COSTCENTER_ID, PRL_MF. MF_ACCOUNT_NO,
PRL_COSTCENTER.COMPID C1,
PRL_MF. MF_BANK_ID, Bank. BANKARNAME,
PRL_DEPT_NODES. NODE_COMPID,
PRL_DEPT_NODES. NODE_ID,
PRL_MF. MF_LAST_SAL,
PRL_HSAL_MST.COMPID,
PRL_MF. MF_LOC_NOD_ID, PRL_MF. MF_NAME
OF PRL_HSAL_MST, PRL_MF, PRL_DEPT_NODES, PRL_COSTCENTER, PRL_COSTCENTER_DT, BANK
WHERE
-nvl (PRL_MF. MF_NATIONALITY, 0) = 1 AND
PRL_MF. PRL_CODE! = 2663
- AND PRL_MF. MF_JOB_FLAG = 1
and PRL_MF. MF_BANK_ID = Bank. BANKID
AND
PRL_COSTCENTER_DT.COMPID = PRL_COSTCENTER.COMPID AND PRL_COSTCENTER_DT. COSTCENTER_ID = PRL_COSTCENTER. COSTCENTER_ID
AND PRL_COSTCENTER_DT.COMPID = PRL_DEPT_NODES. NODE_COMPID AND PRL_COSTCENTER_DT. DEPT_ID = PRL_DEPT_NODES. NODE_ID
AND TO_NUMBER (TO_CHAR (SAL_MON, 'MM')) =: P_MONTH
AND TO_NUMBER (TO_CHAR (SAL_MON, 'RRRR')) =: P_YEAR
AND (PRL_COSTCENTER_DT. COSTCENTER_ID > =: FROM2 OR: FROM2 IS NULL)
AND (PRL_COSTCENTER_DT. COSTCENTER_ID < =: 2 OR: 2 IS NULL)
AND (MF_BANK_ID > =: DOM OR: DOM IS NULL)
AND (MF_BANK_ID < =: where: A. the NULL value)
AND (PRL_DEPT_NODES. Node_id > =: FROM1 OR: FROM1 IS NULL)
AND (PRL_DEPT_NODES. Node_id < =: TO1 OR: TO1 IS NULL)
AND PRL_HSAL_MST.COMPID =: GLOBAL.COMPID
AND PRL_HSAL_MST. PRL_CODE = PRL_MF. PRL_CODE
AND PRL_HSAL_MST.COMPID = PRL_MF.COMPID
AND - PRL_MF. PRL_CODE = 5 and
PRL_DEPT_NODES. NODE_PARENT IS NULL AND
PRL_MF. MF_LOC_NOD_ID IN)
SELECT T1. NODE_ID
OF PRL_DEPT_NODES T1
WHERE T1. NODE_COMPID =: GLOBAL.COMPID
CONNECT BY PRIOR (NODE_ID) = NODE_PARENT
START BY NODE_ID IN)
SELECT T2. NODE_ID
OF PRL_DEPT_NODES T2
WHERE T2. NODE_PARENT = PRL_DEPT_NODES. NODE_ID
)
)
AND (PRL_MF. MF_EOS_DT IS NULL OR
(PRL_MF. MF_APRV_EOS_DT > LAST_DAY (SAL_MON)) OR
(PRL_MF. MF_EOS_DT > ADD_MONTHS (LAST_DAY (SAL_MON),-1) + 1)
)
AND PRL_DEPT_NODES. NODE_COMPID = PRL_MF.COMPID
ORDER BY the Bank. BANKID, PRL_DEPT_NODES. NODE_ID, PRL_MF. PRL_CODE;
BEGIN
-message (11111111111); message (11111111111);
-OPEN EXCEL SHEET 'SERVICE REQUEST '.
-max_prl_code (max_prl_code1);
ExcelID: = CLIENT_OLE2.create_obj ('Excel.Application');
-message (3333333333); message (333333333333);
ExcelWorkBooksID: = CLIENT_OLE2.get_obj_property (ExcelID, 'Notebooks');
ExcelWorkBookID: = CLIENT_OLE2.invoke_obj (ExcelWorkBooksID, "Add");
ExcelWorkSheetsID: = CLIENT_OLE2.get_obj_property (ExcelWorkBookID, 'Worksheets');
-ExcelWorkSheetsID: = CLIENT_OLE2.get_obj_property (ExcelWorkBookID, 'vvvv');
--++***+
-start in the first sheet
ExcelArgs: = CLIENT_OLE2. CREATE_ARGLIST;
CLIENT_OLE2. ADD_ARG (ExcelArgs, 1);
ExcelWorkSheetID: = CLIENT_OLE2. GET_OBJ_PROPERTY (ExcelWorkSheetsID, 'Item', ExcelArgs);
CLIENT_OLE2. DESTROY_ARGLIST (ExcelArgs);
--++***+
for v_pat in a loop f
_________________________________________________________________
-___account _ number
ExcelArgs: = CLIENT_OLE2.create_arglist;
CLIENT_OLE2.add_arg (ExcelArgs, z);
CLIENT_OLE2.add_arg(ExcelArgs,6);
ExcelCellId: is CLIENT_OLE2.get_obj_property (ExcelWorkSheetId, 'cells', ExcelArgs);.
CLIENT_OLE2.destroy_arglist (ExcelArgs);
CLIENT_OLE2.set_property (ExcelCellId, 'Value', nvl (v_pat. MF_ACCOUNT_NO, 0));
ExcelFontId: is CLIENT_OLE2.get_obj_property (ExcelCellId, 'Police');.
CLIENT_OLE2.set_property (ExcelFontId, 'Bold', 'True');
CLIENT_OLE2.set_property (ExcelFontId, 'Size', ' 10');
CLIENT_OLE2.release_obj (ExcelFontId);
CLIENT_OLE2.release_obj (ExcelCellId);
-THE BANK. BANKID, BANK. BANKARNAME
z: = z + 1;
y: = y + 1;
-Adjustment automatic columns
-auto adjustment coulumns
range: = CLIENT_OLE2. GET_OBJ_PROPERTY (ExcelWorkSheetId, 'UsedRange');
range_col: = CLIENT_OLE2. GET_OBJ_PROPERTY (range, 'Columns');
CLIENT_OLE2. INVOKE (range_col, "Automatic adjustment");
CLIENT_OLE2. RELEASE_OBJ (range);
CLIENT_OLE2. RELEASE_OBJ (range_col);
-If max_prl_code1 = v_pat. PRL_CODE then
CLIENT_OLE2.set_property (ExcelID, 'Visible', 'TRUE');
-end if;
end loop;
------------------------------------------
-CLIENT_OLE2.set_property (ExcelID, 'Visible', 'TRUE');
-... and free allocated resources, because they are no longer used by forms
CLIENT_OLE2.release_obj (ExcelWorkSheetID);
CLIENT_OLE2.release_obj (ExcelWorkSheetsID);
CLIENT_OLE2.release_obj (ExcelWorkBookID);
CLIENT_OLE2.release_obj (ExcelWorkBooksID);
CLIENT_OLE2.release_obj (ExcelID);
END;
EXCEPTION WHEN NO_DATA_FOUND THEN NULL;For large integers its probably preferable to a text field.
args: = ole2. CREATE_ARGLIST;
OLE2. ADD_ARG (args, 'A');
column: = ole2. GET_OBJ_PROPERTY (spreadsheet calculation, "Columns", args);
OLE2. DESTROY_ARGLIST (args);
OLE2.set_property (column, 'NumberFormat', ' @');
OLE2. RELEASE_OBJ (Column);You can also try to replace ' @' by '0' to get an integer field, but it will be rounded up problems if the integer is greater than 15.
-
Change formatting without erasing the data on an external hard drive
My post HD format is Mac OS extended (case-sensitive, journaled); It was by default when I used it all first.
But now I want to make changes for Mac OS extended (journaled), as I assume that I will not need to enter the password for authentication whenever I have copy the files thereon.
Is there a way I could format my HD Ext. without erasing the files that are already in HD? Because it would be very awkward to copy the folder back.
Thank you very much in advance!
X
Sorry but no... you must reformat the hard disk, which will erase the content.
"Case-sensitive" should not be originally to enter your password. "Case-sensitive" is rarely necessary.
-
HP Officejet 4630: Change Format Printer Scan
If I scan directly from the printer to the document format is defined in PDF format. I can change it to another format?
Thank you.
Hello
What do you mean another format (s). By default, the scanned documents are pdf files and scanned images (when select scan photo) are jpg files. By using the software from your computer, you'll have more options.
Kind regards.
-
He comes to support NEITHER. Why the format of this forum keep changing? The current format is almost unreadable. Or it's just my PC that keeps things jamming upward? (all 3 of them?)
Alan
There is a forum dedicated to discussions on the forums. Your comments on the Discussion Forums OR
You can read some of the sons of recent message he discuss issues. You can also meet one of them and attached the screenshots that show how the latest changes are not looking directly on your PC.
-
changing format of A4 paper to copy the documents using Deskjet Ink Advantage 5525
Hello.
I have the Deskjet Ink Advantage 5525 and I want to copy paper A4 size documents but a problem the printer is to copy only the format letter resulting missed parts of my documents.
will COPY the settings and options for paper size I have no A4 option! just to choose between 3 options by default:
-Letter
-4 x 6 inches
-5 x 7 inches
is there another way, need me to change the size of the A4 copy?
Thanks in advance
Try first to change the Country/Region setting in a country that uses A4 (default for U.S. letter, but for example, UK should be A4)
-
Word 2003's painfully slow when I try to change format, insert page numbers, etc.
After the update was automatic, I have problems with Word 2003. I deleted some registry data according to the instructions provided by Microsoft. That seems to have solved the problem I had with recording and printing, but I still have a problem with most of the other functions. For example, when I click format, click Font, it takes about a minute for the dialog box and another three minutes to apply the changes and close the box. I tried to repair Microsoft Office, but to no avail. Help!
You can try this:
Open Word 2003 > click HELP > detect and repair.
If the above does not resolve the problem:
http://www.Microsoft.com/Office/Community/en-us/flyoutoverview.mspx
Office newsgroups
Discussions of general issues of Word.
They will help you with your Word question in the newsgroups Office above.
See you soon.
Mick Murphy - Microsoft partner
Maybe you are looking for
-
I want to improve the wireless card on the 8470 p, and I read that HP has whitelisted some Wi - Fi cards, so only those approved by HP may really work Now the 8470p is released in 2010 / 2011 (?) - some time then anyway and 802.11ac wasn't really one
-
Satellite A300 cannot start DVD
Hello Today, I tried to reinstall my win7. I managed to reinstall using setup.exe in windows, but for installation clean (with formatting), I need this dvd to boot. When I select dvd to start, it does not show the message "press any key to boot...".
-
Qosmio F10 grafic card GForce 5700 128 MB has been replaced the GForce 6600 128 Mb
Is everyone has the same problem for Toshiba Qosmio F10 after video card replacedLines on the screen or the computer does not start properly only fan works but not the Windows logo on the screen appears
-
use Windows Defender and Trend Titanium Maximum Security
Is this a conflict if I use Titanium Maximum Security and Windows Defender?
-
message at startup... Could not load or run 'Rmfile.exe' specified in the registry. Make sure that the file exists on your computer or remove the reference to it in the registry. What do you mean how?