Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Good Site for Oracle Internals Oracle
  • v$backup.status information Oracle
  • How to stop OCSSD Daemon Oracle
  • Multiple listeners Oracle
  • Drop tempfiles from database Oracle
  • crontab syntax Linux/Unix
  • Jai Shree Ram Oracle
  • how to find OS block size Oracle
  • How to know current SID Oracle
  • Directory wise folder wise space usage Linux/Unix
  • Changing Instance Name ( No DB_NAME) Oracle
  • rm_backup_arch_file.ksh Linux/Unix
  • find_longsql.sql Oracle
  • Jai Shree Ram Oracle
  • Finding last recovered file on DR and remove all chanracters before any “/” 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

  • Global Unique Identifier Generation in Oracle 9.2 SYS_GUID() Oracle
  • arch_configUOCIOTTO.ora Oracle
  • All About oracle password and security from metalink Oracle
  • EXTPROC Oracle
  • oracle Dba site Oracle
  • True Session Wait Activity in Oracle 10g Verygood Oracle

Leave a Reply Cancel reply

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

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (387)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (336)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024
  • Add new columns in dataframe30-Sep-2023

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • grep multuple patterns Linux/Unix
  • Ports used by Oracle Software Oracle
  • scripts to take listener.log backup Linux/Unix
  • Generating XML from SQLPLUS Oracle
  • Very Good Oralce Internal Tuning Book Oracle
  • AWR settings- MMON is not taking snapshot. Oracle
  • Display the top 5 salaries for each department using single SQL Oracle
  • Oracle 10g Installation/Applying Patches Tips Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme