Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How To Resolve Stranded DBA_2PC_PENDING Entries ID 401302.1 (Very Good prooven) Oracle
  • Read CSV file using PySpark Python/PySpark
  • Giving Grant on v$DATABASE Oracle
  • Facts about SCN and Rollback Segment Oracle
  • Finding last recovered file on DR and remove all chanracters before any “/” Linux/Unix
  • ORA-00064: object is too large to allocate on this O/S during startup Oracle
  • DBMS_JOB all example Oracle
  • usnsql.sql Displays information about UNDO segments with sql statements Oracle
  • catting.sh Linux/Unix
  • Good notes for shared pool Oracle
  • longtx.sql Oracle
  • Test Case for Inserting Multiple (2.3 Million rows in 26 Seconds) Oracle
  • process id based files and processes Linux/Unix
  • oracle_env_10g_CADEV Linux/Unix
  • backspace in SQL Plus not working then..? Linux/Unix

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

  • SQLPLUS COPY command Precautions. Oracle
  • Explain Plan Doesn’T Change For Sql After New Statistics Generated Oracle
  • Clean up Oracle
  • On solaris 10, “S” link is not part of $ORACLE_HOME/bin/oracle as default. ( For 9.2.0.8) Oracle
  • Temporary Tablespace Information and restriction. Oracle
  • Test Case for Inserting Multiple (2.3 Million rows in 26 Seconds) 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
  • CPU Core related projections AWS
  • Good Oracle Architecture In Short and point to point Oracle
  • Oracle Statspack survival Guide Oracle
  • How to remove blank lines using vi editor command Linux/Unix
  • scripts to take listener.log backup Linux/Unix
  • Establishing trusted relationship between dbmonitor( central monitoring) and monitoring targets. Linux/Unix
  • Finding Oracle Patches with opatch Oracle
  • Good Doc 28-JUN-2006 Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme