Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • eplan.sql Oracle
  • MYSQL and Oracle Comparison for Oracle DBA MYSQL
  • OEM-troubleshooting on 20-MAY-08 Oracle
  • How to change hostname in Linux Linux/Unix
  • Goldengate Tutorial Oracle
  • How can I tell if ASO is installed ? Oracle
  • replace alphabets using sed Linux/Unix
  • Oracle Identifiers Oracle
  • find the files that are 1 day old. Linux/Unix
  • moving lob object to other tablespace lob_mvmt.sql Oracle
  • cp_filesystem.sql Oracle
  • column level grant syntax Oracle
  • plan10g.sql good Oracle
  • Good Doc 28-JUN-2006 Oracle
  • My Test Case On 21-OCT-2005 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

  • perf_today.sql Oracle
  • SQL_PLAN.sql for checking real execution plan Oracle
  • oracle Dba site Oracle
  • Important Script Method for tuning Oracle
  • Sample WW22 listener.ora Oracle
  • How to find the real execution plan and binds used in that explain plan in Oracle 10g?? 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 (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • ORA-01220 Oracle
  • Search and Replace vi editor command. Linux/Unix
  • Absolute file number and relative file number Oracle
  • Remove DOS CR/LFs (^M) Linux/Unix
  • Export With Query Another Example. Oracle
  • In Addition to previous note, following grants needed on PERFSTAT user. Oracle
  • Identical Dblink Issue… Oracle
  • True Session Wait Activity in Oracle 10g Verygood Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme