Question

Asked on 2000-02-08 at 12:35:39ID: 25454255

Convert LONG to Char

by: ravi_jallepalli75

Rating7.0Very Good

How to convert LONG datatype to CHAR?

  1. Converstion of long datatype to varchar datatype
    Hi, Is there any query or method to convert Long Datatype into Varchar Datatype in Oracle
  2. formatting a char variable
    I have a pl /sql stored proc that should generate a fixed length data file reading from a table say Tbl. There is a column (Id) in the database table Tbl of type varchar2(3). And I am reading this column into a variable x in stored proc of type char(3). The database table might or moght not have a value for this column Id. Currently I am performi…
  3. Oracle : LONG datatype
    Hi, I have a table with a LONG column that needs to be populated usibg a srored procedure; but the maximum that it stores is 17777 chars. The VC#code is as follows: This works fine on SQL server(with the pkg of course,) but the text is getting truncated to 17777 chars on Oracle 9i. Is there something that I am missing? ....…
  4. convert PL/SQL to SQL
    I would like to convert the following PLSQL block into a simple update statement. Table accounts has around 100 mil rows, the other two tables are very small have around 100 rows each. Can this be done in a simple update statement? Thanks, -sve.
  5. Trying to Convert Record Type to CHAR without …
    Is there a way to take a record type in Oracle and convert it to a CHAR/VARCHAR2 without concatenating all of the fields together? For instance, if I have data in this record / table: TYPE R_Data IS RECORD( Col1 CHAR(1), Col2 CHAR(1), Col3 CHAR(1)); V_Data IS TABLE OF R_Data INDEX BY BINARY_INTE…

Solution

Sign up now to view this solution! It's quick, easy, and secure to subscribe. We will return you to this solution, unlocked, when you’re done.

About this Solution
View This Solution - Start Your 30 Day Free Trial
Zone
General
Tags
long convert
Participating Experts
3
Solution Grade
C

Replies

 by: markgeer

Posted on 2000-02-08 at 14:03:37ID: 28207464

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: ravi_jallepalli

Posted on 2000-02-08 at 14:48:12ID: 28207465

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: ravi_jallepalli

Posted on 2000-02-08 at 14:48:12ID: 28207466

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by:

Posted on 2000-02-09 at 03:09:04ID: 28207467

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: markgeer

Posted on 2000-02-09 at 08:00:25ID: 28207468

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: vishone

Posted on 2000-02-10 at 21:46:46ID: 28207469

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

Stay Connected

Oracle Around the Web

The latest Oracle news, tips, and tricks

Oracle Unveils Netra SPARC T3 Servers

New Carrier-Grade Blade and Rackmount Servers Deliver Better Performance, Density and Power Efficiency for the Communications Industry ...

read more

Oracle fixes 21 flaws in Java SE, Java for Business

Oracle is fixing 21 flaws in its Java SE and Java for Business products in its February critical patch update issued this week ...

read more

Obama’s Silicon Valley “Tech Supper”

Why was he there? Who wasn’t invited and why? What did they talk about? Why was he really there? These are the questions being debated ...

read more

Featured Oracle Experts

slightwv

slightwv has answered more than 2,000 Oracle questions and oversees database management within the U.S. Government. Slightwv

sdstuber

A regular presenter at the Collaborate conference, Oracle developer sdstuber is a top expert in PL/SQL and Oracle 9, 10 and 11. sdstuber

Testimonials

What users are saying about our experts

"The Oracle gurus provide answers, solutions and valuable workarounds"

User: schwertner

"Wow! Excellent, valuable explanation. Hats off to you"

User: aseshu70

"Solution worked fantastic and performs excellent! Thanks heaps"

User: klausbrandlhuber

Top Experts

  1. slightwv

    2,000

    0 points yesterday

    Profile

BrowseBecome an Expert