[3.2.09] output truncated dbms_metadata

Hello

Sorry for my bad English.

Today I tried to use the dbms_metata package extract the list of privileges of the object for a user

As usual, I run the following command in sql develop:

long value 1000000000
exec dbms_metadata.set_transform_param (dbms_metadata. SESSION_TRANSFORM 'SQLTERMINATOR', TRUE);
Select dbms_metadata.get_granted_ddl ('OBJECT_GRANT', 'USER_TITI') of double;

but when I click on 'run script', the result is truncated.
I have the first line 60, with the latter truncated (missing comma)
(I check with sqlplus, with the same exact command, I have correctly to have 186 lines).

Another user has the same problem?

Published by: 955770 on August 29, 2012 07:03

>
Today I tried to use the dbms_metata package extract the list of privileges of the object for a user
>
The result is of type CLOB data and there is a limit to how many characters that appear. You experience the same problem that others have when returning from CLOB data.

See this other recent thread for possible solutions
Re: Output of script CLOB is truncated

Tags: Database

Similar Questions

  • Is the version of the output parameter 32 bits 12.1.0.2 Oracle ODBC driver truncating values a known issue?

    We test 12.1.0.2 Oracle and ODBC see problems with the stored procedure being cut output parameter values and Associates when we use the 12.1.0.2 driver (we use the 32-bit version). We see a function sequence error every time that happens, too.

    For example, a stored procedure takes a NVARCHAR2 name and it out as a separate NVARCHAR2 output parameter. Using the 12.1.0.2 of the ODBC driver, if we "Basketball", the output can be "Basketball" (with a function sequence error).

    What is happening to many of our stored procedures. We do not get the errors of sequence of function or output truncated if parameters we use the 12.1.0.1 version of the ODBC driver to connect to our 12.1.0.2 database, or if we use the version 11.2.0.4 or 11.2.0.2 ODBC driver.

    Is this a known problem in the 12.1.0.2 ODBC driver?

    Thank you

    Daniel Meyer

    to submit a bug report to MOS

  • The analysis of the output XML of DBMS_METADATA

    I was wondering if someone managed to parse the output of DBMS_METADATA. XML in the columns of relational access to higher values of partition etc without the restrictions of data type LONG dictionary?

    For example, I was hoping I could use something like the following to get the metadata of the partition for the SOMEPARTITIONEDTABLE table:
    SELECT EXTRACTVALUE(dict.xmlddl, '/ROWSET/ROW/TABLE_T/PART_OBJ/PART_LIST/PART_LIST_ITEM')
    FROM   ( SELECT dbms_metadata.get_xml('TABLE','SOMEPARTITIONEDTABLE') AS xmlddl FROM dual ) dict;
    It gives me "ORA-00932: inconsistent data types: expected - got-

    It is not quite that simple, of course, because I actually checked out of/SCHEMA_OBJ/SUBNAME and /HIBOUNDVAL for each PART_LIST_ITEM, so I think I first need to break the XML into a PART_LIST_ITEMs XMLTABLE. Unfortunately, XML syntax makes my head ache.

    The idea is that it would be useful in various maintenance tasks of partition such as archiving scripts without having to install a bunch of types and packages.

    You can try this:

    SELECT x.*
    FROM XMLTable(
     '/ROWSET/ROW/TABLE_T/PART_OBJ/PART_LIST/PART_LIST_ITEM'
     passing xmltype( dbms_metadata.get_xml('TABLE','SOMEPARTITIONEDTABLE') )
     columns
      obj_num number path 'OBJ_NUM',
      subname varchar2(30) path 'SCHEMA_OBJ/SUBNAME',
      hiboundval number path 'HIBOUNDVAL'
    ) x
    ;
    
  • DBMS_METADATA. GET_DDL - how it forms the exit

    I call "DBMS_METADATA. GET_DDL' to get the source code for the package body, see example call below.
    Can I be always sure that this will continue:
    1 return the before schema name the name of the package as, for example, that: "MYSCHEMA". "" COLLECTSTATS ". Or can he return sometimes without schema/owner-name the name of the batch as a "CREATE OR REPLACE PACKAGE BODY"COLLECTSTATS"IS".
    2 he will always be in uppercase letters the part "owner.packagename"?
    3 wil lthere always be quotation marks surrounding the package name and the name of the owner as "MONSCHEMA". "' COLLECTSTATS '?
     select DBMS_METADATA.GET_DDL('PACKAGE_BODY','COLLECTSTATS','MYSCHEMA') from DUAL;
    
    Result:
    
     CREATE OR REPLACE PACKAGE BODY "MYSCHEMA"."COLLECTSTATS" IS
    
        PROCEDURE save_log(p_logrec IN LiveStatsLog%ROWTYPE) IS

    There are a number of things that you can control the output of dbms_metadata using the procedures of set_transform_param. Apparently, at least in 10G, is not one of them, even if I thought it was.

    Consult the manual of the PL/SQL Packages and Types reference for your version of Oracle to see what is available.

    John

  • How can I set the long data type by default

    a query that I want to run:

    exec DBMS_METADATA. SET_TRANSFORM_PARAM (DBMS_METADATA. False SESSION_TRANSFORM, 'SEGMENT_ATTRIBUTES',);

    result:

    E

    ;

    ;

    45

    ;

    45

    ;

    45

    ;

    45

    ;

    S

    45

    I'm not sure but maybe I need set the long size before the race top query. But when I try to put long size gives below error. Also, I put below an explanation so help.

    "The output of DBMS_METADATA.GET_DDL is a LONG data type." When you use SQL * Plus, your output may be truncated by default. "Deliver the following SQL * Plus command before issuing the DBMS_METADATA.GET_DDL statement to make sure your output is not truncated:

    SQL> SET LONG 9999

    error:

    Unhandled SET statement:

    "SET 9999 LONG."

    Change SQL * PLus (login.sql) user profile or the site profile (glogin.sql) and add:

    THE VALUE LONG 9999

    SY.

  • State of the controller H710P degraded, but pdisks and vdisks are OK

    Hi, I have several PowerEdge servers R720 with Mini H710P (embedded) controllers and PERC H710P who have problems. Omreport, the controller is in a non-critical State and a degraded state:

    Controller of
    ID: 1
    Status: No reviews
    Name: PERC adapter H710P
    Location ID: PCI Slot 2
    State: degraded
    Firmware version: 21.3.0 - 0009
    Minimum Firmware Version: 21.3.1 - 0001
    Driver version: 06.806.08.00 - rh3
    The minimum required driver version: not Applicable
    The Storport driver version: not Applicable
    Minimum required: Version of the Storport driver: not Applicable
    Number of connectors: 2
    Regeneration rate: 30%
    BGI rate: 30%
    Consistency check rate: 30%
    Rebuild rate: 30%
    Alarm status: not applicable
    Cluster mode: not Applicable
    SCSI initiator ID: not Applicable
    Cache memory size: 1024 MB
    Patrol read mode: Auto
    Patrol read status: stopped
    Patrol read rate: 30%
    Read the iterations of patrol: 42
    Give up control of consistency error: disabled
    Enable reversible hot spare and replace the: enabled
    Load Balancing: not Applicable
    Auto Member Replace on Predictive Failure: disabled
    Redundant path view: not Applicable
    CacheCade Capable: Yes
    Persistent backup: disabled
    Encryption Capable: Yes
    Currently key encryption: No.
    Encryption mode: no
    Preserved cache: not Applicable
    Spin down drives unconfigured: disabled
    Turn down hot spares: disabled
    Spin down drives configured: disabled
    Automatic disk Power Saving (Idle_c): disabled
    Start time (hh: mm): not Applicable
    Time interval of rotating upward (in hours): not Applicable

    Vdisk is OK:

    Controller PERC H710P adapter (Slot 2)
    ID: 0
    Status: Ok
    Name: Virtual disk 0
    Status: ready
    Hot violated political alternatives: not
    Encrypted: No.
    Layout: RAID-5
    Size: 3 350,25 GB (3597303545856 bytes)
    T10 Protection Information status: No.
    Liquid state of Cache associated with: not Applicable
    Name of the device: / dev/sdc
    Bus protocol: SAS
    Media: HDD
    Political reading: Adaptive Read Ahead
    Political writing: write back
    The cache policy: not Applicable
    Stripe Element Size: 64 KB
    The strategy of Disk Cache: disabled

    And so are the physical disks (output truncated, there are many records!):

    ID: 0:2:7
    Status: Ok
    Name: Physical disk 0:2:7
    Status: ready
    Supply status: leader
    Bus protocol: SAS
    Media: HDD
    Part of the Cache Pool: not Applicable
    Remaining nominal write Endurance: not applicable
    Predicted failure: No.
    Review: LS0A
    Driver version: not Applicable
    Model number: not Applicable
    T10 IP Capable: No.
    Certified: Yes
    Encryption Capable: No.
    Encrypted: Not Applicable
    Progress: Not Applicable
    Mirror Set ID: Non Applicable
    Capacity: 558,38 GB (599550590976 bytes)
    RAID disk space used: 558,38 GB (599550590976 bytes)
    Space disk RAID: 0.00 GB (0 bytes)
    Hot spare: dedicated
    Vendor ID: Dell (TM)
    Product ID: ST600MM0006
    Serial number: S0M4EMF4
    Part No.: CN07YX587262251B0119A02
    Negotiated speed: 6,00 Gbps
    Measuring speed: 6,00 Gbps
    PCIe negotiated link width: not Applicable
    PCIe Maximum link width: not Applicable
    Sector size: 512 b
    The device's write cache: not Applicable
    Date of manufacture: 03
    Week of manufacture: 02
    Manufacturing year: 2015
    SAS address: 5000C5007F103929
    Form factor: not available
    Void Publisher: not available

    I had found a previous thread which suggested updating the firmware, but I can't find a more recent version of the firmware for controllers (embedded or extra).

    If it makes a difference, all servers running RHEL 6.6 (Santiago)

    Lachlandehaas,

    I think you are right in assuming that the problem is caused by the firmware being obsolete. The firmware is actually a few updates behind. You can find the latest version of the update here. Updated the fw on the controller and let me know if the VD shows ONLINE later.

    Let me know what you see

  • How to truncate the output of the field in the column "LONG".

    Hi all

    I have been asked to retrieve all records from a table with a column that has been initially formatted with the format "LONG".

    How can I truncate the output of this area without having to show the Junk characters?

    Very appreciated

    JR

    Wrong forum!

    This forum is ONLY for questions/problems on Sql Developer and your question has NOTHING to do with this product.

    Please mark the thread ANSWERED and repost it in the SQL/PL/SQL forum.

    SQL and PL/SQL

    When you repost you must SHOW an example of what you are wanting to do. You should also explain what you mean by 'LONG Format' - I have never heard such a thing.

  • Truncate output of analytical function?

    For example this query:

    Select month, sum (tot_sales) monthly_sales,.

    AVG (Sum (tot_sales)) (any order by month

    between 1 above and 1 below) rolling_avg

    orders

    where year = 2001 and region_id = 6

    Group by month;

    gives me an output which includes several decimal places for the rolling_avg column.

    Is there a way to truncate this? I tried to use the rounded outside the analytical function and surely enough, it didn't work. I can't think otherwise.

    You can use an external selection on the result of this query

    select trunc(rolling_avg) from
    ( rolling_avg query);
    
  • DBMS_METADATA. GET_DDL does not return the entire procedure. His truncated

    SET echo off; set pagesize 0; SET long 500000; spool GenerateProcedure_Creation.sql begin dbms_metadata.set_transform_param (dbms_metadata.session_transform, 'SQLTERMINATOR', true); dbms_metadata.set_transform_param (dbms_metadata.session_transform, 'PRETTY', false); end; SELECT DBMS_METADATA.GET_DDL(u.object_type,u.object_name,u.owner) DDL from dba_objects u where u.OBJECT_TYPE = 'PROCEDURE' and owner in ('ADMIN'); spool off; 

    This returns some of the procedures as truncated.

    RUN THE FOLLOWING before RUNNING YOUR STATEMENT in sqlplus:

    long value 1000000

    then try

  • Truncated in the output MP4 FLV files

    I have half a dozen isnerted FLV in my presentation. They play very well when I published as a SWF project.

    When I publish as MP4, FLV files is truncated; the last second or so are cut.

    Saw nothing in that regard when searching.

    Any ideas?

    I like some time on the timeline plays FLV files.

    On another less critical note, when published as MP4, loading the FLV is captured in the video. Cheesey.

    OK, my bad. I inserted in the Media drop FLV files, as opposed to video > insert video. The diff between the video and the video of the event was lost for me somewehre along the way.

    Not sure why the Media should get boogered up.

  • Topic get truncated when printing output

    Hi all

    We use oracle Forms 10g ratio. Recently, we migrated from windows to solaris.

    Now, when we ran the report the Arab character get truncated in the label header and the column header label.

    The label of real header was Ariel 12 "BOLD", when I change this label manually in Arabic traditional sound does not get truncated.

    In windows, but its works very well.

    Can you please what to do to avoid this truncation

    Is it possible to changes in the files of the Uifont.

    My fonts from the user interface file is like this


    #
    # $Header: uifont.ali@@/main/22------.
    # Checked in the Mar 8 Jan 15:32:42 PST 2002 by idc.
    # Copyright (c) 1999, 2004, Oracle. All rights reserved.
    # $
    #
    #
    # $Revision: tk2/admin/uifont.ali#0 $
    #
    # Copyright (c) 1994, 2004, Oracle. All rights reserved.
    # All rights reserved.
    #
    # DESCRIPTION:
    #
    # Each line has the form:
    #
    # < face >. < size >. < Style >. < weight >. < width >. < CharSet > =.
    # < face >. < size >. < Style >. < weight >. < width >. < CharSet >
    #
    # < Face > must be the name (string identifier /) of a font type. The
    # < style >, < weight >, < width > and < CharSet > can be either a numeric
    # value or an identifier/channel preset. For example, the two US7ASCII
    # 1 are valid values of < CharSet >, and refer to the same set of characters.
    # The < size > dimension must be an explicit size, in points.
    #
    # The following is a list of recognized names and their digital
    Equivalences: #
    #
    # Numerical value styles
    # 0 plain
    # 1 italic
    # 2 oblique
    # 4 to highlight
    # 8 outline
    # Shadow 16
    # reverse 32
    # 64 overtype
    blink # 128
    #
    # Value digital weight
    # 1 ultralight
    # 2 extralight
    # 3 light
    # Demilight-4
    # Medium 5
    # Demibold 6
    # 7 "BOLD"
    # 8 extrabold
    # 9 "UltraBold".
    #
    # Value digital widths
    # 1, ultra-dense
    # 2 superdense
    # 3 dense
    # 4 semidense
    # Normal 5
    # Semiexpand 6
    # 7 to develop
    # Extraexpand 8
    # Ultraexpand 9
    #
    # Styles can be combined; You can use plus ("+") to delimit the parts of an
    style #. For example,.
    #
    # Arial... Overtype = Helvetica.12.Italic.Bold + Italic
    #
    # are equivalent and or the other will map any Arial that has the two Italic
    # and Overstrike styles to a Helvetica 12 point, bold, italic font.
    #
    # All strings are case-insensitive in cartography. Faces of fonts are likely to
    # be case-sensitive in searches, according to the platform and the surface, so
    # Must be taken with the names used on the right side; but they
    # maps non-alphanumerique.
    #
    # See your platform documentation for a list of all characters supported
    # sets and fonts available.
    #
    #
    # BUGS:
    # o should accept a ratio HHR (e.g. "Helv = Arial.2/3").
    #

    #===============================================================
    # [Global] Put mappings for all surfaces here.

    # Mapping of MS Windows
    # = Helvetica arial
    # 'Courier New' = courier
    # "Times New Roman" = times
    # Modern = helvetica
    # "MS Sans Serif" = helvetica
    # "MS Serif" = times
    # "Small fonts" = helvetica
    # 'WASP 39 L' = times
    # "WASP 39 LC" = times

    # Mapping of Macintosh
    # "New Century Schlbk" = "new century schoolbook".
    # "New York" = times
    #geneva = helvetica


    #===============================================================
    [Printer] # Put maps for all of the printers here.


    #===============================================================
    [Printer: PostScript1] # Put mappings for printers PostScript level 1 here.

    # Example of Kanji font mapping
    ... UltraLight... CSET = "33th-Light-83pv-RKSJ-H... Light... CSET
    ... UltraLight... SJIS = "33th-Light-83pv-RKSJ-H... Light... SJIS
    ... "Extralight"... CSET = "33th-Light-83pv-RKSJ-H... Light... CSET
    ... "Extralight"... SJIS = "33th-Light-83pv-RKSJ-H... Light... SJIS
    ... Light... CSET = "33th-Light-83pv-RKSJ-H... Light... CSET
    ... Light... SJIS = "33th-Light-83pv-RKSJ-H... Light... SJIS
    ... DemiLight... CSET = "33th-Light-83pv-RKSJ-H... Light... CSET
    ... DemiLight... SJIS = "33th-Light-83pv-RKSJ-H... Light... SJIS
    ..... CSET = "GothicBBB-Medium-83pv-RKSJ-H... Way... CSET
    ..... SJIS = "GothicBBB-Medium-83pv-RKSJ-H... Way... SJIS

    # Mapping of MS Windows
    Roman = palatino
    Script = "itc zapf chancery".
    FixedSys = courier
    System = helvetica
    # 'WASP 39 L' = times
    # "WASP 39 LC" = times

    # Mapping of Macintosh
    "Avant Garde" = "itc avant garde gothic.

    # Mapping the pattern display
    fixed = courier
    clean = times
    LucidaTypewriter = courier
    lucidabright = times


    #===============================================================
    [Printer: PostScript2] # Put mappings for PostScript level 2 printers here.

    # Example of Kanji font mapping
    ... UltraLight... CSET = "33th-Light-83pv-RKSJ-H... Light... CSET
    ... UltraLight... SJIS = "33th-Light-83pv-RKSJ-H... Light... SJIS
    ... "Extralight"... CSET = "33th-Light-83pv-RKSJ-H... Light... CSET
    ... "Extralight"... SJIS = "33th-Light-83pv-RKSJ-H... Light... SJIS
    ... Light... CSET = "33th-Light-83pv-RKSJ-H... Light... CSET
    ... Light... SJIS = "33th-Light-83pv-RKSJ-H... Light... SJIS
    ... DemiLight... CSET = "33th-Light-83pv-RKSJ-H... Light... CSET
    ... DemiLight... SJIS = "33th-Light-83pv-RKSJ-H... Light... SJIS
    ..... CSET = "GothicBBB-Medium-83pv-RKSJ-H... Way... CSET
    ..... SJIS = "GothicBBB-Medium-83pv-RKSJ-H... Way... SJIS

    # Mapping of MS Windows
    Roman = palatino
    Script = "itc zapf chancery".
    FixedSys = courier
    System = helvetica
    # 'WASP 39 L' = times
    # "WASP 39 LC" = times

    # Mapping of Macintosh
    "Avant Garde" = "itc avant garde gothic.

    # Mapping the pattern display
    fixed = courier
    clean = times
    LucidaTypewriter = courier
    lucidabright = times


    #===============================================================
    [Printer: PCL5] # Put mappings for printers PCL 5 here.

    Helvetica = universe
    time = "cg times.
    clean = "granite olv.
    fixed = courier
    Lucida = universe
    lucidabright = "cg times.
    LucidaTypewriter = courier
    "new century schoolbook" = universe
    Terminal = "line printer".


    #===============================================================
    [Display] # Put maps for all displayed them here surfaces.


    #===============================================================
    [Display: reason] # Put maps for displays of motive here

    # Don't fix for the bug no 778937 no in NO MOVE!
    Roman... sjis = lucida... Cset
    Script... SJIS = lucidabright... Cset
    FixedSys... sjis = fixed... Cset
    System... sjis = lucida... Cset
    .. .sjis =... .jeuc

    # Mapping of MS Windows
    Roman = lucida
    Script = lucidabright
    FixedSys = fixed
    System = lucida
    # 'WASP 39 L' = times
    # "WASP 39 LC" = times

    # Mapping of Macintosh
    "Avant Garde" = helvetica
    "Bookman" = times


    #===============================================================
    [Screen: CM] # Put maps for all views CM here.

    # They are specific to the DEC and may need location
    *.. Blinking blinking =
    *.. Inverted + Underline.Bold = ReverseBoldUnderline
    *.. Reversed + Underline. = UnderlineReverse
    *.. Underline.Bold = UnderlineBold
    *.. Inverted.Bold = ReverseBold
    *... "BOLD" = "BOLD"
    *.. Underline = underline
    *.. Reversed = reverse
    * = Plain # the police of last resort


    # Oracle Report sections PDF
    # Three new sections have been added:
    # [PDF] - used for aliasing of fonts and multibyte language support
    # [PDF: Embed]-used for embedding fonts Type 1
    # [PDF:Subset] - used for True Type fonts subsetting


    [PDF]

    # This example shows how to rename font helvetica in Courier font
    # helvetica = 'Arial.ttf '.
    # You can specific styles Alias fonts like below
    # helvetica.12... "BOLD"... = Courier.14...
    # 'Lucida Bright. 12. "BOLD" = "New Century Schoolbook".
    # Support for the languages of the far East:
    # ----------------------------------
    # Article PDF may be used in addition to activate support for multi-byte languages
    # built-in reports. To use this feature with Adobe (r) Acrobat (c), you
    # need to install the Asian fonts pack available online on the website of Adobe.
    # ..... SJIS = "HeiseiKakuGo-W5-Acro".
    #
    A Japanese report run with Shift-JIS character set is replaced to
    # Fonts CID HeiseiKakuGo-W5-Acro.

    [PDF: Embed]

    # This example shows how to incorporate the police Type 1 helvetica in the PDF file:
    # helvetica = "helvetica.afm helvetica.pfa".
    # You must specify the .afm file before the .pfa file.
    # The font files must exist in one of the folders that is specified in REPORTS_PATH.


    [PDF:Subset]
    Arial... = 'arial.ttf '.
    Arial... "BOLD"... = 'arialbd.ttf.
    "Arabic Transparent" = "artro.ttf."
    'ArabicTransparent '... "BOLD"... = "artrbdo.ttf."
    Tahoma... = 'tahoma.ttf.
    Tahoma... "BOLD"... = 'tahomabd.ttf.
    "Times New Roman"... = "times.ttf".
    'Times New Roman '... "BOLD"... = 'timesbd.ttf.
    "Traditional Arabic"... = "trado.ttf."
    "Traditional Arabic"... "BOLD"... = "tradbdo.ttf."
    "Courier New" = "cour.ttf.
    'New mail '... "BOLD"... = 'courbd.ttf.
    'WASP 39 L' = 'w39l.ttf. '
    "WASP 39 LC" = "w39lc.ttf."
    #times = "w39l.ttf".
    #times = "w39lc.ttf".

    # This example shows how the subset of Arial True Type fonts in the PDF file:
    # helvetica = 'Arial.ttf '.
    # The True Type font files must exist in one of the folders specified in
    # REPORTS_PATH.

    # TrueType Collection subsetting fonts:
    # In General, a TTC font contains multiple fonts in a single file. For example,.
    # the file TTC, msgothic.ttc consists of three fonts in order.
    # MS Gothic, MS PGothic, and MS UI Gothic. MS PGothic subset, the
    # entry in the PDF:Subset section of uifont.ali would be:
    # "MS PGothic" = "msgothic.ttc, 1.
    #

    # NOTES ON THE PRIORITY OF THE PDF SECTIONS:
    # ------------------------------------
    #
    # If you have entries of the same policy in many PDF, then the policy sections
    # Entry aliasing will take precedence over the entrance of subsetting of fonts. Entries
    # in the creation of subsets of fonts will have precedence over the entries in embedding fonts
    # section.
    #
    # Generics entered for a police must follow more specific entries for the same
    Police of #. For example, if you want the plain of subset helvetica, helvetica "BOLD",
    # italic helvetica and fonts helvetica bold-italics, your entries must be:
    #
    # [PDF:Subset]
    #Arial... "BOLD"... = 'arialbd.ttf.
    #Arial... = 'arial.ttf '.
    #Tahoma... "BOLD"... = 'tahomabd.ttf.
    #Tahoma... = 'tahoma.ttf.
    # 'Times New Roman '... "BOLD"... = 'timesbd.ttf.
    # "Times New Roman"... = "times.ttf".
    # "Traditional Arabic"... "BOLD"... = "tradbdo.ttf."
    # "Traditional Arabic"... = "trado.ttf."
    # 'Courier New '... "BOLD"... = 'courbd.ttf.
    #... = "Courier New" ' cour.ttf "#".

    # If helvetica... entry appears at the top of the list, all styles of
    helvetica font # in the layout will be subset as plain helvetica font.




    Can someone suggest me please on how to avoid this truncation.

    Thanks and greetings
    Srikkanth

    Solved

  • SQLPlus truncates output of sdo_geometry.get_wkt)

    Hello
    I'm just SELECT certain geometries in a text form WKT file. Here's my query:
    SQL> SPOOL test.txt
    SQL> set heading off
    SQL> SELECT bpa.geom.get_wkt() AS wkt FROM sometable bpa WHERE rownum < 20;
    
    POLYGON ((4447140.53 5524045.28, 4447140.23 5524039.01, 4447139.81 5524030.16, 4
    POLYGON ((4511477.74 5539886.53, 4511475.03 5539893.95, 4511475.66 5539892.22, 4
    POLYGON ((4498775.47 5498353.01, 4498706.4 5498250.08, 4498734.02 5498291.24, 44
    POLYGON ((4513154.45 5406475.53, 4513145.56 5406476.08, 4513144.92 5406476.12, 4
    POLYGON ((4476982.53 5402998.39, 4476981.58 5402996.39, 4476981.47 5402994.19, 4
    POLYGON ((4524167.48 5413731.54, 4524169.48 5413729.78, 4524167.35 5413731.66, 4
    POLYGON ((4446506.63 5541947.65, 4446479.58 5541979.87, 4446494.95 5541961.56, 4
    POLYGON ((4433027.68 5544846.82, 4433036.98 5544849.58, 4433033.03 5544848.41, 4
    POLYGON ((4573435.48 5444136.89, 4573415.72 5444136.16, 4573412.91 5444136.45, 4
    POLYGON ((4422226.47 5516390.6, 4422228.2 5516392.84, 4422223.4 5516386.63, 4422
    POLYGON ((4499254.27 5560837.55, 4499189.2 5560874.46, 4499220.72 5560856.58, 44
    POLYGON ((4505027.06 5446480.85, 4505025.14 5446479.0, 4505022.74 5446476.68, 45
    POLYGON ((4516619.23 5448833.21, 4516630.5 5448836.57, 4516602.33 5448828.18, 45
    
    POLYGON ((4514831.61 5544276.5, 4514801.23 5544278.79, 4514790.06 5544279.63, 45
    POLYGON ((4374582.1 5594210.1, 4374640.61 5594299.34, 4374694.83 5594382.58, 437
    POLYGON ((4468030.1 5571713.32, 4468028.64 5571712.42, 4468034.16 5571715.8, 446
    POLYGON ((4517477.25 5465889.51, 4517476.93 5465890.77, 4517475.91 5465894.8, 45
    POLYGON ((4513972.85 5540673.02, 4513966.3 5540676.54, 4513979.65 5540669.36, 45
    POLYGON ((4537466.64 5474602.04, 4537464.63 5474599.88, 4537440.48 5474573.85, 4
    
    19 Zeilen ausgewahlt.
    
    SQL> SPOOL OFF
    As you can see the result WKT geoms get truncated after a certain length. I tried 'column wkt format a160' and ' set linesize 160 "but it doesn't change anything." The contents of test.txt is also truncated and so unnecessary.
    Anyone know how to fix it or work around it?
    Note I can't connect to the DB with SQLDeveloper - there is a firewall preventing that. SQLPlus via SSH only.

    Kind regards

    Christian

    assuming that get_wkt returns a CLOB, you can try
    long game

    -----------
    Sybrand Bakker
    Senior Oracle DBA

  • HP Envy 5530: HP Envy 5530 truncates (chops) image of Snip and Snipping Tool Windows 10, Word 2007

    Hello. My HP Envy 5530 newly purchased printer truncates images captured from Snip, Snipping Tool and screen printing. Image appears perfectly when placed in MS Word, PowerPoint, MS-Paint, etc., however, when printing on the 5530 want appears the image enlarged, as well as 30% or more of the image gets truncated or cut off.  I have tried other "resolutions" posted, but they do not work. I wasn't able to find a driver for the HP 9800, as suggested in another post (HP says it is not available). Everything worked before installing this HP 5530 (I used Lexmark printer). I am on Windows (to date) 10 MS Office 2007 and reinstalled Snip & Snipping Tool. I uninstalled and reinstalled the HP 5530 and I ran the Scan Doctor utility that will return no error found. Does anyone have a similar problem and especially a solution?

    @PoloChrome

    With no idea what you have tried (other "resolutions"), I offer the following to your attention:

    • Ensure your PDF viewer / reader software is on the latest version available for your operating system.  This is not negligible.  Create a Restore Point before the update / modify the software system yiour.
    • Never use copy - paste when you add images to your document (Word) > use Insert
    • Control image format when you change the size of the inserted picture
    • Consider "line spacing" when you insert a picture into the document using "tight" / options "Wrap Text".
    • Keep the image within the borders of the minimum margin - if all else fails, change the margins in "Close" to give more images of space
    • Consider that Office Word 2007 cannot respond to Windows 10 as expected
    • Make sure that you allow updates include patches Office 2007 available (assuming these are available)

    Help, suggestions and examples:

    Manage the print with preview output before printing

    Sections - various, including:

    • Preparation
    • Microsoft Office Word - Options, tips, Observations

      • Images of Word / Art / words are chopped
    • Adobe Reader DC
    • Adobe Flash

    When you see a post that will help you,

    Who inspires you, gives a cool idea,

    Or you learn something new.

    Click the 'Thumbs Up' on this post.

    My answer-click accept as Solution to help others find answers.

  • Call to a single value to an output channel for A Table need help

    I filled an array that contains all the values in all the channels of my series of data. I am now looking to channel calculations to provide weighted averages and an overall average for the value of the trial. These data will be produced in a new table called 'total table. " This Total table should only have one value per channel.

    The question that I am running is 2 times. When you do the arithmetic channel, mainly channel using "ChnSum" DIAdem amounts does not truncate all data in a new set of data. It retains all values and adds the last block with the sum of all of the channel as a whole. I need or be able to get this last value dynamically (because not all my datasets are the same length) or I need to generate a new string that has only the value of the sum. Is there a way to do this?

    Here is what I try to do but kind of pointless. A screenshot of what looks like the output of the table after treatment of this code is attached.

    "Complete total table with values from calculations above.

    For j = 1 to selectData.MultiSelection.Count

    Counter = counter + 1

    length = ChnPropValGet ("[" & selectData.MultiSelection (j).] ") Index & "] / Cumulative fuel ', 'Length')

    If counter = 2 Then

    [A bunch of calculations of the new output channels channel]

    Call View.Sheets ("total table"). Areas ("field:" & Counter). DisplayObj.Columns.Add (ChnFind ("(" & selectData.MultiSelection (j). ("The index &") > 0 "(, longueur-1))"

    End If

    Next

    Any help would be appreciated.

    Thank you

    ~ Nate


  • PDF-export truncates report

    When I export my TDR-report (test.tdr in attachment) to PDF I get only truncated reports (see testDIAdem2012.pdf in the attachment). Export to JPG or WMF format is OK. (see test.jpg in attachment). Even the printer output is as expected.

    It does not matter if I use the Menu\PDF file to the export or the following code

      Pads const = "C:\temp\test. TDR.
    SPDF const = "C:\temp\test.pdf."

    Call PicLoad (pads-r)

    PicWidthInScal = 29.7
    PicHeightInScal = 21
    PrintLeftMarg = 0
    PrintTopMarg = 0
    PrintOrient = "landscape".

    If FileExist (sPDF), THEN call FileDelete (sPDF)
    PDFFileName = sPDF
    PrintName = "winspool, DIAdem PDF Export"
    Call PicPrint ("WinPrint")

    Truncated PicPdfExport results in the same report.

    What can I do to get a whole PDF-report page?

    GEMÜ

    Hi GEMÜ,.

    When chossing the pdf export as part of your report is printed. You can turn off the frame in page layout options.

    Letter: Einstellungen > einrichten Layout > Layout-setting...

    I've attached a screenshot of the box you need to uncheck.

    If this does not resolve your problem, please do not hesitate to come back to me.

    Kind regards

    Vanessa

    AE Munich

Maybe you are looking for

  • Guard throw me back to place the command screen

    After completing the oder on the apple store site I continues to throw himself back to place the order option. Does anyone else have this problem.

  • Firefox could not download the search plugin from

    I installed Firefox 24.0 recently and I am trying to install open www.youtube.com youtube Search Engine by clicking on Add "YouTube Video Search" in the search bar, but I get the following error message: Download errorFirefox could not download the s

  • Qosmio X 770 - 11 c - how to disable on board the speakers when you use Line Out?

    Hello Is it possible to disable on board to intervene when the output line is used. Currently, if I plug in a cable to the socket of hadphone and choose alignment on the realtek Control Panel, sound is output line out as expected, but also through th

  • Importing video in Vista using the Panasonic PV-DV910 camcorder

    I'm trying to import video from my camcorder in Vista using Windows Movie Maker and it gives me an error saying: "import video could not find a compatible digital camera...". "My camcorder is on, on the way to VCR, connected with a Firewire 800 Expre

  • Security of blackBerry Smartphones display

    Hello After a reset, I am not able to choose the picture screen look more safe option. I can only choose jacquard, PIN and password. Disabled there is no shot and photo. The underlying idea is: disabled by the administrator, encriptación policy or cr