Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Find total file sizes Linux/Unix
  • When error comes for temporary tablespace with version <= 9i Oracle
  • DBMS_Shared_pool pinning triggers Oracle
  • .profile Linux/Unix
  • Goog notes on X$ tables Oracle
  • perf_today.sql Oracle
  • Some OS level threshold for performance. Linux/Unix
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress
  • Good Doc 28-JUN-2006 Oracle
  • How to see which patches are applied. Oracle
  • Jai Shree Ram Oracle
  • Drop all SPM baselines for SQL handle Oracle
  • arch_configUOCIOTTO.ora Oracle
  • Zip and unzip with tar Linux/Unix
  • currwaitobj.sql SQl_ID and SQL statement you can get from currwaitobj.sql Oracle

CTAS with LONG Column for 9i and higher

Posted on 28-Nov-2005 By Admin No Comments on CTAS with LONG Column for 9i and higher

Executing CTAS statement having TO_LOB(LONG COLUMN).

For example:

create table blah as

select GNT_ID.nextval, 1060 as gnt_ref_id, org.gnt_id, org.gnt_group_note, org.gnt_language,

to_lob(org.gnt_text_string) as gnt_text_string, org.gnt_text_emphasize

from asra_002.gnt_groupnote_txt org

where org.gnt_group_note in (select gnr_note from asra_002.gnr_groupnote_ref)

Oracle, SQL scripts

Post navigation

Previous Post: CTAS with LONG Column for 7.x and 8 and 8i
Next Post: Optimizer_Index init.ora parameter explaination.

Related Posts

  • longtx.sql Oracle
  • SCRIPT TO LIST RECURSIVE DEPENDENCY BETWEEN OBJECTS UTLDTREE.sql Oracle
  • oracle fast start failover best practice Oracle
  • v$event_name Oracle
  • CTAS with LONG Column for 7.x and 8 and 8i Oracle
  • SQLPLUS COPY command Precautions. Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • V$INSTANCE of Oracle in MYSQL MYSQL
  • SQL Server: How to see historical transactions SQL Server
  • Kernel Parameters for Solaris Linux/Unix
  • Create type and Grant on it. Oracle
  • SQL_PLAN.sql for checking real execution plan Oracle
  • Paste command syntax Linux/Unix
  • create PLAN_TABLE command. Oracle
  • myfile Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme