DB column name changes and APEX
All,
I found out that the database architect is planning to make changes to several of the column names in all of the tables I use in a large application. So...rather than open every screen, every condition, every procedure, etc. looking for the db fields I need to change, I am hoping I can find a way to do it in sql*plus.
At a minimum, I hope to be able to create a report for each table/column referenced in the application that will show the pages and places where it is referenced. Any ideas?
Thanks,
Steve
Patrick directed me to the Object Dependencies report - and it would work but you have to click on the "count" to see where it is referenced. I am hoping for a detail report. Patrick also suggested editing an application export to do global column name changes - that will also work. If you have done it differently, let me know.
Steve
Similar Messages
-
Currently in PowerView, if a column name changes in the tabular model, and that column is being used in a PowerView chart, the PowerView will become inaccessible.
It would be nice if it functioned similar to Pivot Table. If a column name changes for a column that is being used in a Pivot Table, the field is just removed from the chart, and the user can select the newly named column.Hi plantm,
After testing the issue in my environment, I can reproduce it. After we change a column name which is used in a Power View chart, Power view will render the message that” The external data connection has been disabled for this Power View report. Please enable
the connection.” when we reopen the file.
To fix this issue, we can click Refresh button under POWER VIEW menu, then it would prompt us that” Power View was not able to complete the action due to a query failure. This can happen if the structure of your data has changed, in which case closing and
re-opening the application will resolve the problem.”
According to the error message, we should try to reopen the file to fix this issue. Power view will render the message that” Please refresh to see the data for this Power View Sheet. You can set properties in the Connection Properties dialog so that the
data refreshes automatically when you open the file.” when we reopen the file. Then we can refresh it again, the report will be displayed without that field.
Based on my research, inherently what the message means is that Power View cannot be used as a tool for snapshot reporting. With an Excel PivotTable, we can see the data last saved in the PivotTable. Power View, however, does not behave the same way – it
won’t render the last saved state. If we want to avoid this message when we reopen the file, there are two methods:
When we create the Power View report, we can select the checkbox that “Refresh data when opening the file”.
After it’s been set up, go to Connections on the Data menu, then choose Properties.
For more details about the settings, we can refer to the following blog:
http://www.sqlchick.com/entries/2013/3/30/creating-a-power-view-report-in-excel-2013-which-uses-an-ext.html
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Column name changes in Admin to desktop
I've already created several reports. They all have a column that has the same label. I want to change the label without going into each report and changing to what it should be. I changed the source column label in Admin but it doesn't automatically update the column names in the reports that use this column. I thought this would be the quickest and most intuitive method but it hasn't worked...is there another way besides tediously opening each report and renaming the columns?
I am pretty sure you will have to edit each report. It is annoying, but it makes sense. Suppose there is a folder with an item "User". Some reports are created using "User" as a column heading. Other reports have a different audience or purpose, so "User" gets a heading of "Employee", "Reported By", or something else. When the folder item gets changed to "User Name", Disco does not automatically assume that this is a blanket change across all instances. If it did, then you'd have to go into those places where the worksheet column was purposely changed to something else, and change it back.
The SQL Inspector shows a close approximation of what Disco is going to run. The column labels have no meaning in the database, as they can be different from the actual column names in tables, views, and material views. The SQL Inspector allows you to take the code Disco is going to run, and use it in another tool for diagnosing problems, so having the labels in the statement would defeat this purpose. -
Column name change in Interactive Reports
Hi,
I am new to Interactive reporting. We have a report that is resulted from Essbase query. Now in the report, we want to change the column names which are basically the essbase dimension member name. Is it possible to chang ethe names per our requiremnet?
Please help.Hi again,
I think that you may have posted your question in the wrong forum. This one is for Oracle Application Express and maybe that is the reason why you didn't understand my response. If your issue involves Hyperion Interactive Reporting Studio or Hyperion reporting in general then you should ask in this forum instead:
Hyperion Query and Reporting
Covers Hyperion Interactive Reporting, Hyperion Financial Reporting, Hyperion SQR Production Reporting, Hyperion Web Analysis, and respective administration/development topics
Sergio -
[Swing] JTable & Oracle DB: SQL Query for Column Names Change
Hello,
I apologise for the 'stupid' thread subject name.
Now i have a JTable wich i fill with rows from an Oracle DB.
The query is something like this: "SELECT location_id, location_name FROM locations*bold*", and in the table i will have the columns names LOCATION_ID & LOCATION_NAME.
I want to change this query like: "SELECT location_id "Location ID", location_name "Location Name" FROM locations".
The only problem is that i CAN NOT insert "" inside ""
So if anyone know how to fix this 'problem' please share that with me.
Thank you,
B.found it.. \" \"
:) -
Column name changed in reports
I have to do some changes on my existing report, its really a complex report with more number of columns and tables. now its really hard to fix the alias name changed by report builder automatically. any one could help me to fix this problem, means what i have alias name in query that i want to use in report.
Hi,
Could you pl clarify the Q? Do you mean that Reports Buider has automatically added an alias to a column name? This is not expected.
Or do you mean that you need to change the alias of the column without disturbing the report definition? You can alter the data model of the report using the feature "Customization at runtime using XML". For more information, refer to Chapter 16 in Publishing Reports Manual for 10g:
http://www.oracle.com/technology/documentation/reports.html
Navneet. -
Hi,
I want to display the different column name in dashboard other than the column name in result set. for eg: I have the results with column name emp_id. now i want to display this column name as Employee_ID in dashboard. How to do this?
Thanks in Advance...Either change the column name in the Query on the Request Line it does not impact the column selected similar to the SQL Select statement AS
OR
Add a Computed Column in Results referencing emp_id and then Hide emp_id.
Wayne Van Sluys
TopDown Consulting -
Hello,
Can anyone help me out to write a vb.net script.
I need to read the column names from excel and based on that column names I need to create a table in database(I have more than one sheet in excel).
For each sheet columns will be changing and should create a table dynamically for each sheet.
Any help would be appreciated.Refer the below script to read columns in each sheet.
Dim excelfile As String = Dts.Variables("ExcelPath").Value.ToString
Dim connectionstring As String = "Provider=Microsoft.Jet.OLEDB.4.0;" +
"Data Source=" + excelfile + ";Extended Properties=Excel 8.0"
Dim oledbcon As New OleDb.OleDbConnection(connectionstring)
oledbcon.Open()
Dim dt As DataTable
Dim schemaTable As DataTable
Dim OLEDBCMD As New OleDb.OleDbCommand
Dim oledbdatareader As OleDb.OleDbDataReader
Dim columns As String = ""
dt = oledbcon.GetSchema("Tables")
Dim TABCOMMAND(20) As String
Dim TABCOUNT As Integer = 0
For Each row As DataRow In dt.Rows
TABCOMMAND(TABCOUNT) = "SELECT * FROM [" & row.Item("TABLE_NAME").ToString & "]"
OLEDBCMD.CommandText = TABCOMMAND(TABCOUNT)
OLEDBCMD.Connection = oledbcon
oledbdatareader = OLEDBCMD.ExecuteReader(CommandBehavior.KeyInfo)
schemaTable = oledbdatareader.GetSchemaTable()
For Each myfield As DataRow In schemaTable.Rows
For Each myproperty As DataColumn In schemaTable.Columns
If myproperty.ColumnName = "ColumnName" Then
columns = columns & myfield(myproperty).ToString & ","
MsgBox(myfield(myproperty).ToString)
End If
Next
Next
oledbdatareader.Close()
OLEDBCMD.Dispose()
Next
oledbcon.Close()
Regards, RSingh -
Bam Report column Name changing ???
Hi frds,
i want to change column name in bam report. Actually i created Data object with long column names after creating and integrating with Bpel, i saw in report its showing some of the part Only its not showing total column name, can any one tell me how to edit column name in bam report ??
Thanks,
Ravi.Hi Leo,
Use the following syntax: -
INSERT INTO temp (C1) VALUES (:your_page_variable_name);
Cheers,
Mike -
Presentation Layer column name change effects on existing reports ?
Hello Gurus,
I have one requirement where user are not sure about the column names in Presentation Layer.
so they want us to create the reports and once the reports are delivered they will give us the column name as per their requirement.
now i read couple of blogs related to this, that does it affects the exiting reports?
in couple of blogs they says that i won't. becaus BI server creates the alias for the old name and will reflects it wherever it's used in reports..
So can anyone tell me where this alias name has been stored in OBIEE?
and is there any precaution that needs to be done while doing this beacuse we are expecting to create around 40-50 reports and changing the column name after changing the presentation layer name change will increase lots of work..
Thanking You..I've confirmed it on a 10g environment that when you rename the column in the RPD the existing reports reflect the change.
What I was referring to in the statement you highlight is that a column name can be changed when being used as the definition of a report. If somebody specifies an abbreviation of the current name to fit it in a table or chart then it will not be updated from a name change in the RPD.
So long as you build reports using the name provided by the RPD and none of the developers take the liberty of renaming it in the column properties of the request/analyses the single rename should take effect through all the reports you build.
You can also manage the column name by renaming it in a report and using the save as system wide default. But the way you intend to do it would be the best method.
Edited by: James - Projected on 25-May-2012 14:07 -
hI cHRIS,
I used table view column In that i specified my column name in coumn name and my own text in title.. but the data is not coming out,
Since i have used same dataelement stucture for all the column data is not flowing ..
How should i go further
<htmlb:tableView id = "hema"
table = "<%= me->data1 %>" >
<htmlb:tableViewColumn columnName = "ZDATE"
title = "Year" />
<htmlb:tableViewColumn columnName = "VALUE OF VALUATED STOCK"
title = "DM" />
<htmlb:tableViewColumn columnName = "Value"
title = "MLS" />
<htmlb:tableViewColumn columnName = "Value"
title = "SIIT" />
<htmlb:tableViewColumn columnName = "Value"
title = "IMP" />
<htmlb:tableViewColumn columnName = "Value"
title = "CONS" />
<htmlb:tableViewColumn columnName = "Value"
title = "MKTG" />
</htmlb:tableView>
i want my output to display in this way..
year dm idm emp
here except year all the data have same structure. So my output displays same name for all.
Plz share ur ideas to correct me
Thanks in advanceHi:
using same dataelement is not a problem, you should use same data element with different field name and then specified in the column name ( as mentioned in field name), it should work like
<%
if not lt_but000[] is initial.
%>
<htmlb:tableView id = "partner"
table = "<%= lt_but000 %>" >
<htmlb:tableViewColumn columnName="partner" >
</htmlb:tableViewColumn>
<htmlb:tableViewColumn columnName="NAME_FIRST" >
</htmlb:tableViewColumn>
<htmlb:tableViewColumn columnName="NAME_LAST" >
</htmlb:tableViewColumn>
</htmlb:tableView>
<%
endif.
%>
Regards
Shashi -
hello,
i have used one same caloumn in more than 10 reports. Now there is a name change for it.
is it possible to change the column name in all answers report at once... ? any possible ways ......
thanksHi,
Yes. There is one way. If you have not used custom column names for the column you are using in multiple reports, just rename the Presentation Column name in RPD. Make sure the older name appears under the Alias Tab when you go to the Column Properties in RPD (Presentation Layer).
Please let me know if this resolves your issue.
Thanks,
Nabhanil -
Automatic name changes and file and path name limitation when storing files
Dear all I am using Airport Extrem with an attached disc and experience following:
1) Names get changed. Second part of file name gets replaced with some hex numbering
2) Get the error message from time to time that file can't be stored on the Airport Extrem attached disc and that the file name is too long.
Any idea.I've got the same problem with seagate 750 GB drive - Mac OS Extended (Journaled) - over fast ethernet (first gen) AEBS(n)
P.S.- sometimes the folder names get corrected automaticaly, and sometimes folders get duplicated (with different corrupted hex-like name endings) and if I delete one of them, they all vanishes.
Message was edited by: gar_krol -
I got married, changed my Facebook name and gave my account a new password. Now, under settings and Facebook they have my ITunes/Apple ID and under it says "please sign in using (my old Facebook name) and under that is password. Only that old Facebook name has changed but did not update on my iPad settings. Also it will not accept my new password. I cannot erase it. If Apple doesnt want us to use more than one account, what do we do in this situation? Or if our Facebook gets hacked and becomes compromised? This is not okay. I have to be able to access this and because it will accept only one and will not update changes I cannot longer access my account. I buy a lot of Apple products. I won't buy another if it's not corrected. This is horribly frustrating. Not to mention waiting on youtube videos to load is almost as bad as waiting on dial-up. But that's another matter. Is there a way around this or do I need to start looking for products somewhere else? Anyone know? Thanks.
You need to reset the password for the "old" account, and then use that to turn off iCloud. Then you will be able to sign in with your new ID.
You can reset your password at iForgot.apple.com.
If you don't know the answers to the security questions, you will need to start there.
http://support.apple.com/kb/HT5312
-If you established a rescue email address, there will be a link on the "Passwords & Security" page of id.apple.com. Clicking the link will send the reset to your rescue email address (NOTE: This is not the same address as your Apple ID email)
-If there is no link on the page, then you didn't establish a rescue email address. Contact AppleCare at 800.694.7466 (If you are in the US), and ask for account security. You will need to answer some questions to verify your identity, AND you will need access to a computer to generate a temporary support pin.
-If you are not in the US, click http://support.apple.com/kb/HT5699 - Apple ID: Contacting Apple for help with Apple ID account security
HTH -
Company name change and impact on table T882
Hi
We had to change the name of a company. I did this in IMG via "Enterprise structure->Definition->Financial Accounting->Edit,copy,delete,check company code". This created a transport containing also table T882. Our problem is that the field VTRHJ (Balance carried forward to fiscal year) is set to 2006 in DEV and 2008 in production.
My questions are:
Will this transport create a problem?
What can we do to avoid this being transported incorrectly=
Any help appreciated
KirstenHi
I have been made aware of a note (124382) that covers this issue. The note is only listed up to 4.5b, but it gives a small program (ZZ-program) to correct the entry in T882 in production. It is listed as a design error. I don't know why it is not still valid, as it seems like a design error also today. But I will follow the solution given by SAP.
Kirsten
Maybe you are looking for
-
While activation of DSO error SID genarati No fiscal year variant specified
Hi all, While activationg the DSO i am getting error called SIDgenaration " No fiscal year variant specified" I have checked the PSA fiscal year variant is avilable.. How to solve this error please somebody let me know ASAP Regards Kiran
-
How do I stop iTunes from copying my music to the iTunes music file?
We have an Intel iMac running Tiger with a 146 GB hard drive, so imagine my shock when I discovered that we only had 2gb of space left! We are a family and have 5 users with 5 different iTunes libraries on each of our log ins. So I made a Shared Musi
-
Unable to create index ..can anyone help me
Dan, I have created the following table and the values are as following, create table zonetemp( name varchar2(15), SHAPE MDSYS.SDO_GEOMETRY) insert into zonetemp values('Raju', MDSYS.SDO_GEOMETRY(2003,null,null, MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3), M
-
Can ODI use a web service as a source for ETL?
-
I created a slideshow using Keynote complete with all transitions and delays, etc. I exported it to IDVD. Once it was complete I attampted to burn a DVD and got an error message. On checking the map of the DVD, it tells me I have empty drop zones. Ho