Creating blank column in view

Hi guys, I have created a view which obviously gets data from different tables, however I will (in the future) have an additional row in this view obtaining data from somewhere but as of yet that data does not exist, is it possible to create a row in a view and stick a random value in it untill i have the data available to go back and change it. The reason i need this row is that im creating a report and I want to bring in the column with some random txt in it then once the data is available simply change the view which will save me having to change the report if you get my drift?
Any help would be greatly appreciated.

786733 wrote:
Hi guys, I have created a view which obviously gets data from different tables, however I will (in the future) have an additional row in this view obtaining data from somewhere but as of yet that data does not exist, is it possible to create a row in a view and stick a random value in it untill i have the data available to go back and change it. The reason i need this row is that im creating a report and I want to bring in the column with some random txt in it then once the data is available simply change the view which will save me having to change the report if you get my drift?
Any help would be greatly appreciated.I think you want to add a column to the view (as the header suggests) and not an additional row. An addition row would make no difference for any reports. However an additional column will need to be cosidered in a report that is build upon that view.
You can add extra columns to all selects statements. And your view is nothing but a stored select.
example
/* Base select */
select * from dual;
DUMMY
X    
/* Add a string null column colA */
select d.*, '' as colA  from dual d;
DUMMY COLA
X    
/* Add a number column colA */
select d.*, cast(null as number) as colA  from dual d;
DUMMY COLA
X    
/* Add a string column colA with random values*/
select d.*, dbms_random.string('A', 10) as colA  from dual d;
DUMMY COLA
X     QvKJWWdbTw
                                                                                                                                                                                                    

Similar Messages

  • View's height in column goup view

    We create one Column group view which contain 3 collapse view. Modify the layout of column group, set all three collapse view's height as 33.33%.
    Then view the report in Active Viewer. After report loaded, the 3 collapsed view display very well, however a few minutes later, the height of 3 collapsed view become smaller, for example change from 117 to 81, then vertical scroll bar showed and the data in collapse list did not display as we expected .
    Do not know how to workaround this issue

    Sorry, but it's not there anymore as Apple has removed it
    The only thing you can do is send feedback
    http://www.apple.com/feedback/itunesapp.html

  • At max how many columns is advisable to create in a table/view

    Hi All,
    I have two transaction table from which i want to create a simple view or materialized view. But the number of columns is about 200. So i want to know at max how many columns is advisable from the performance point of view.
    Even though i will create 200 columns in a view , for a perticular client installation i may not use all the columns.
    one more thing i will never use 200 columns in the select statement . At a time i will use only 4/5 columns.
    It may happen from this four column one column will be the 1st and 2nd column will be the 200th one.
    I want to know how it affects the performance and in which scenario . Please help if any body knows or already faced this kind of scenario.
    I am using oracle 10g .

    Annapurna Nayak wrote:
    thanks for ur reply .
    We are going to use this view in a report , so if i will create it as simple view it will affect report performance. because the view script is too long ...so every time quring to a view will decrease the performance.
    Are you asking me if it will? I think it probably won't but of course you have the means to test it to be sure, right?
    As u said MV should be done with minimum possible column . what can be the maximum column in MV ..??It would be defined by the limits on:
    * The maximum number of columns that a table can contain
    * The size of the query needed to define the select statement
    * Limitations on queries needed to maintain the data
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/limits003.htm#i288032

  • How to create list of a View's column names and source

    Using SQL 2005, 2008, and 2012
    How to create list of a View's column names and source. For the following example would like to @Print something like the following.  Does anyone already have some code to do this? I realize there are probably some gotchas, but the views that I am looking
    at to use this follows the code snippet pattern below.
    DBACCT.[Account Number]
    dbo.ConvertDate(DBACDT). [Boarding Date]
    DBXES.DBXES
    CREATE VIEW [dbo].[v_ods_DBAL]
    AS
    SELECT DBACCT AS [Account Number], dbo.ConvertDate(DBACDT) AS [Boarding Date], DBXES
    FROM dbo.ods_DBAL

    The column information can be obtained from INFORMATION_SCHEMA.COLUMNS view using logic like below
    SELECT c.COLUMN_NAME,c.DATA_TYPE
    FROM INFORMATION_SCHEMA.COLUMNS c
    WHERE EXISTS (SELECT 1
    FROM INFORMATION_SCHEMA.TABLES
    WHERE TABLE_NAME = c.TABLE_NAME
    AND TABLE_TYPE='VIEW')
    http://technet.microsoft.com/en-us/library/ms188348.aspx
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Created by column value is not showing in XSLT List View After Migration To 2013

    Hello All,
    In my XSLT Created By Column value is not showing. Please help me with this problem. My code is simple I have custom column in XSLT name as 'Reported By' in which I want to show 'Created By' column value. but it is not showing. please help me with that.
    Thanks in advance

    hi
    is anyone has answer for this question.
    thanks...!!!!

  • "Created By" Column is showing empty in SharePoint List

    Hello All,
    I have created a custom list and enabled the "Created By" and "Created" Column to be shown in the list.
    All the users are able to see the "Created" Column populated, but the "Created By" column is blank, no value is populated to it.
    But the Farm Administrator is able to see the values for "Created By" column in the List. I tried providing full control to the Users, provided all permissions, but still the users are unable to see this column populated. I have no clues what to
    be done.
    So I tried a workaround specified in the forum ie., by using a column with calculated value =[Me]. But this gives the login name and not the Proper name, which is not helpful for me. I just want a column which displays who created the item.
    Please help me regarding this issue.
    Thanks,
    Shanky

    Hi Alex,
    Yes, I have checked them too.
    1. This is happening with all lists, as I have modified the permission for the users to the lists only to :
    Add Items
    View Items
    Open Items
    View application Pages
    View Pages
    Open
    This is to make sure that the users wont modify the list or delete it or its items.
    2. This is happening with all the items in the list, not only for other people's items but also for current user's item as well.

  • How to reject external table rows with some blank columns

    How to reject external table rows with some blank columns
    I have an external table and I would like to reject rows when a number of fields are empty. Here are the details.
    CREATE TABLE EXTTAB (
    ID NUMBER(10),
    TSTAMP DATE,
    C1 NUMBER(5,0),
    C2 DATE,
    C3 FLOAT(126)
    ORGANIZATION EXTERNAL (
    TYPE ORACLE_LOADER
    DEFAULT DIRECTORY EXT_DAT_DIR
    ACCESS PARAMETERS (
    RECORDS DELIMITED BY NEWLINE
    LOAD WHEN (NOT (c1 = BLANKS AND c2 = BLANKS AND c3 = BLANKS))
    LOGFILE EXT_LOG_DIR:'exttab.log'
    BADFILE EXT_BAD_DIR:'exttab.bad'
    DISCARDFILE EXT_BAD_DIR:'exttab.dsc'
    FIELDS TERMINATED BY "|"
    LRTRIM
    MISSING FIELD VALUES ARE NULL
    REJECT ROWS WITH ALL NULL
    FIELDS (
    ID,
    TSTAMP DATE 'YYYYMMDDHH24MISS',
    C1,
    C2 DATE 'YYYYMMDDHH24MISS',
    C3
    ) LOCATION ('dummy.dat')
    REJECT LIMIT UNLIMITED
    So, as you can see from the LOAD WHEN clause, I'd like to reject rows when C1, C2 and C3 are empty.
    The above statement works fine and creates the table. However when I am trying to load data using it, the following error is produced:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-00554: error encountered while parsing access parameters
    KUP-01005: syntax error: found "not": expecting one of: "double-quoted-string, identifier, (, number, single-quoted-string"
    KUP-01007: at line 1 column 41
    ORA-06512: at "SYS.ORACLE_LOADER", line 14
    ORA-06512: at line 1
    It seems that external tables driver does not understand the "NOT (...)" condition. Could anyone suggest how I can achieve what I want in a different way?
    Thank you.
    Denis

    Another method would be to simply remove the "LOAD WHEN condition" and create a view on the external table which filters the data.
    CREATE EXTTAB_VIEW AS
    SELECT * FROM EXTTAB
    WHERE not (c1 is null and c2 is null and c3 is null);

  • CRXI Export to text - suppressed section creates blank lines

    I'm using CRXI Proffesional - full version 11.5.11.1470
    I have a report that uses the typical "stealth" subreport to obtain and pass info to the container, but remains invisible in preview mode. The fields in the subreport are all suppressed, the sections in the subreport are suppressed if blank and the subreport itself is suppressed when blank, the section that contains the subreport is also suppressed if blank.
    This has always worked fine to get info into the container from the subreport while not creating any "white space" on the report.
    Print preview and export to pdf both function just fine, omitting the blank lines.
    It seems that exporting this to a text file is now creating blank lines for each occurence of the subreport.
    I have seen this problem in a couple of forums but have not seen a resolution yet.
    Does anybody have any idea how I can stop the exporting of suppressed blank sections ?

    Good morning.
    We've got something to get straight first
    When you say "...from the Report Viewer. The report printed as expected on HP printer...", do you mean the viewer of the .NET app, or the viewer of the CR designer?
    And version 12.0.0.683, is very old (well as far as CR is concerned anyhow   ). That version is SP 1, we are now on SP 2. So that will be the place to start. Get to SP 2 which can be downloaded from here;
    https://smpdl.sap-ag.de/~sapidp/012002523100009038092009E/cr2008win_sp2.exe
    Ludek

  • Blank Column in Query

    Hi There
    Please advice me how to create a blank column in Query?
    Thanks in advance..
    Regards,
    Chandu.

    Hi
    I don't have any IO's regarding that.I just need create a column with some description then user can fill with data.
    How can i run that?
    Thanks in advance.
    Regards,
    Chandu.

  • I need to convert PDF to Excel, however, columns and tabs make many merged cells and many blank columns. In addition to not separate the columns correctly, I see many not separate lines together in the same cell. I'm even thinking that Adobe Acrobat Pro D

    I need to convert PDF to Excel, however, columns and tabs make many merged cells and many blank columns. In addition to not separate the columns correctly, I see many not separate lines together in the same cell. I'm even thinking that Adobe Acrobat Pro DC has limitations. There is no way to define what points in columns to force break column? Nor create many columns that are useless? How does text to column in Excel, fixed size when we import text, and define where the breaks have columns?
    Google Tradutor para empresas:Google Toolkit de tradução para appsTradutor de sitesGlobal Market Finder
    Desativar tradução instantâneaSobre o Google TradutorCelularComunidadePrivacidade e TermosAjudaEnviar feedback

    PDF does not contain columns, rows, formats, styles, or other aspects of word processing or spreadsheet file formats.
    This is because PDF is decidedly not a word processing or spreadsheet file format or something "like" one of those.
    (see ISO 32000 for what PDF "is")
    What can optimize the export of PDF page content is to start with a well-formed tagged PDF (ISO 14289-1, PDF/UA-1 compliant).
    Without that export is what it is and one performs whatever content cleanup is needed using the native application for the export file (MS Word or Excel).
    Be well...

  • Display Blank Column in Bex Analyzer without Error

    Hi Experts,
    i have created a report with several columns.
    To display the coorect descrition i use a new selecion and insert the required infoobject or Key Figure" it is ok.
    Whe want to display two blank columns.
    The problem i have is that there are some errors saying i should define thoses columns.
    How to define a blank cloumn which is displaying the description but empty?
    Thank you for your Input.
    Gilo

    Inside the query designer there should be a "columns" section.  Formulas can be configured either by:
    - creating a structure (dragging a structure from the left or creating a new structure)...or....
    - dragging a key figure from the left window pane over to the "columns" section.
    - you could create a new calculated key figure or restricted key figure, but this is not necessary in our example. 
    Right click on the structure or Key Figures.  There should be 2 options:  New Selection or New Formula.  We chose new formula,  add appropriate text/heading/description and put a =0 in the formula box, prior to clicking OK.    The wider the heading text, the wider the new blank column will look.
    Then right click on the column you just created to change it's properties to = suppress result for both the "calculate result as" and the "calculate single values as"....

  • How to Create Dynamic Columns based on Fiscal Period

    HI BI World;) We are on BI &.0
    I have a requirement to create a time series BI query
    It must take the variable value (range) from the user abd create all months within this range in a time series displaying the key figure value for the respective periods.
    I have so far added the fiscal year period characteristic  to the columns with the key figure under this and the fiscal/year period is on a restiction in the filter area by a variable (range)
    When I run this query it only shows the fiscal periods which have a value for the key figure. Is it possible to show all fiscal periods and have blank columns where there is no value for the respective key figure/period.
    I have tried using master data for the fiscal period but this does not work as has some junk values.
    Any ideas? I need to show alll periods between the dates whether they have values or not.
    Best,
    Stevo
    Points will be awarded.
    Thanks in advance

    Hi,
    Try restricting the fiscal period inside the keyfigure and in the output format try drill across of fiscal period.
    in tne fical period char properties try masterdata relationship option.
    Thanks,
    Arun.

  • BIP report output in PDF and RTF generating some blank columns or � symbols

    Hi Experts,
    I am new to BIP. I have developed some BIP reports in 10.1.3.4.1 version which are working fine in Dev and UAT environment.
    But it's generating some blank columns and some columns with proper data and some columns with"cellphone" kind of symbol in PDF and " �"
    symbols in RTF in Prod environment.
    In all the environments the version of BIP is same.
    So any help in resolving this issue is appreciated.
    Thanks in advance..
    Regards,
    Suresh.A

    All of the complex report logic is handled in your Oracle Report (rdf) file.
    If your Oracle report is working OK, then this report should be generating XML.
    After running your report, go to the View Requests window. Highlight your request, and click the Diagnostics button. Then click the 'View XML' button. If you see XML data, then you should be OK.
    When I faced a similar issue, it was because the '1 step' process didnt work for the particular report I was using. The '1 step' process doesn't work for every report. Which report are you using?
    If the report is submitted via a form (not the concurrent manager request form), then you probably need to use 2 steps to produce the desired output.
    For more information, see the following thread:
    Enhancment to avoid 2 step check printing
    HTH,
    Mark K

  • Thumbnails in Column & List views

    My Finder (v10.4.5) mostly does NOT show the thumbnails of my JPGs in Column & List views, unless those JPGs were created on my computer (Tiger 10.4.6).
    I got it to finally show the thumbnails in Icon view (View > Show View Options > Show Icon Preview + All windows), but I also want to see the little thumbnails in Column and List Views. Anyone know how to do this.
    NOTE: those same JPGs that don't get the thumbnails on my MAC, do show thumbnails on my crappy-*** Windows ME Dell's Explorer.
    By the way, (different Question) is there a way I can set up to be notified via email when somebody replies to my question here in this discussion area?
    Thanks,
    Ted
    PowerBook G4   Mac OS X (10.4.6)   2 GB DDR SDRAM
    PowerBook G4   Mac OS X (10.4.6)   2 GB DDR SDRAM

    With a Finder window open in Column view, when you go to the View menu item and select Show View Options there are not any "Show Icons" or "Show preview column" selections for me to check.
    That is very very strange. Try opening a Finder window, have it in icon view, and the bring up Show View Options, I presume you are getting the options? Now go to View (don't close the options window!) and change to List. A different set of options should appear in the options window, and if you then change the view to Column what happens to the options window?
    If you want to see thumbnails for files that don't have them you either use Column view with a preview column set to display icons, or put the folder in Icon view. The Mac OS Finder does not create thumbnail.db files, as does Windows (I believe many Linux window managers create analogous files). Instead the Finder either reads the thumb from the resource fork of the file (most--maybe all--Mac graphics programs have always had the ability to create custom icons that are a part of the file), or else it will create a thumb "on the fly" for files that don't have them if told to do so in Icon and Column views. In List view it will display a small icon if the file has one, otherwise it just uses the generic icon. Windows is incapable of reading Mac resource forks, where the custom icon is for files created on a Mac, and the Finder is incapable of reading Windows thumbnail.db files. Any file you create on your Mac with a Mac graphics program will have a custom icon, if you set the preference of the program to save the file that way. This includes Image Capture, if you use it to transfer files from your camera. Images you get from a Windows or Linux box, or download from the Internet, do not have a resource fork and so do not have a custom icon.
    Francine
    Francine
    Schwieder

  • How can i delete One Blank Column in my report

    Hi guru's,
    can any one tell me .........
    i'm getting one Blank column in Query output.How can i delete that Blank Column ?
    in the same way Row  Also....
    Thanking  u advancely
    Chandra

    Here is a site with some nice sample code on deleting rows / columns : [http://www.java2s.com/Code/JavaScript/HTML/ModifyingTableColumns.htm|http://www.java2s.com/Code/JavaScript/HTML/ModifyingTableColumns.htm]
    As to where to put the code, edit your web template, then put the code in there. There are script web items that you can use, but be aware that editing javascript in the script item is not too pleasant. I have found the best approach is to rather create the javascript file on my machine, then upload it to the MIME repository, then reference that in the web template.
    Here is how I have referenced the javascript file sitting in our MIME repository:
    < script src="bwmimerep:///sap/bw/mime/Customer/javascript/CustomCalculations.js" />
    I hope this helps you out.
    Cheers,
    Andrew
    Edited by: Andrew Lewis on Jul 18, 2008 9:26 AM

Maybe you are looking for

  • Comparison oin java

    i have this code that write a class Compare3 that provides a static method largest. Method largest should take three Comparable parameters and return the largest of the three (so its return type will also be Comparable) public class Compare3 { public

  • NWBC 3.0 Does not open beyond the splash screen

    I have uninstalled/re-installed and rebooted many times.  Deleted all nwbc.ini files plus anything else I could find. This NWBC version 3.0 used to work on my PC in Nov and early Dec.  Now all I get is the initial splash screen saying that the progra

  • Servlet error: Renderer failed: java.lang.NoClassDefFoundError

    I receive this error in OEM, hostname:1810 on Linux Server. Servlet error: Renderer failed: java.lang.NoClassDefFoundError Any ideas? Thanks.

  • Net Assistant

    I am having trouble trying to keep the netasst window open after running a test connection. I am doing this on a client version of Red Hat 6.1 with Oracle 8i w/the patches applied and trying to connect to a linux server. After the test connection, I

  • The dll mclmcrrt72​.dll could not be founf in the specified path ....

    I got the above error message when I call any kind of dll function. This happens when I configure the Call Library Function Node and want to save the settings for it.