Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Reading parameter file and printing Linux/Unix
  • Implementing Listener Security Oracle
  • Unix split command to split files Linux/Unix
  • alter database backup controlfile to trace Oracle
  • USE_NL and INDEX hints example Oracle
  • Find Time Consuming SQL Statements in Oracle 10g Oracle
  • FGA Part-I Oracle
  • Oracle 10g Installation/Applying Patches Tips Oracle
  • Recovering lost SYS password Oracle
  • scp with ssh2 Linux/Unix
  • xargs use Linux/Unix
  • Small sample shell program Linux/Unix
  • changing kernel parameter in Oracle Enterpise Linux Linux/Unix
  • Linux CPU info. Linux/Unix
  • exp syntax in oracle 10g Oracle

moving lob object to other tablespace lob_mvmt.sql

Posted on 05-Jan-2009 By Admin No Comments on moving lob object to other tablespace lob_mvmt.sql

set lines 132

set pagesize 3000

spool lob_mvmt

select ‘alter table ‘ || table_name || ‘ move lob(‘|| column_name || ‘) store as ( tablespace pnet_data ) ;’

from user_tab_columns

where data_type like ‘%LOB%’;

spool off

Oracle, SQL scripts

Post navigation

Previous Post: This is from Temi
Next Post: get_vmstat_solaris

Related Posts

  • dbinv.sql Oracle
  • sesswait.sql Oracle
  • Very Good Oralce Internal Tuning Book Oracle
  • Find sort details from Db find_sort.sql Oracle
  • Query to Generate aggregate on every 30 mins. Oracle
  • DBMS_JOB all example 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 (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • 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

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • PHP code to add WordPress posts in bulk programmatically PHP/MYSQL/Wordpress
  • Histogram information Oracle
  • How to calculate PROCESSES parameter Oracle
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • tar and untar a dolder with all its subfolder. Linux/Unix
  • 284785.1 How to check RAC Option is currently linked into the Oracle Binary Oracle
  • scripts to take listener.log backup Linux/Unix
  • Find Command Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme