Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • On solaris 10, “S” link is not part of $ORACLE_HOME/bin/oracle as default. ( For 9.2.0.8) Oracle
  • How to choose Driver table in SQL statement Oracle
  • Histogram Overview Oracle
  • initUOCIOTTO.ora Oracle
  • Drop all SPM baselines for SQL handle Oracle
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • sess_server.sql Oracle
  • get_vmstat_linux Oracle
  • online_bkup.sql Oracle
  • Committing distributed transaction using commit force Oracle
  • This is im telling Kishore Oracle
  • how to find VIP from ifconfig Linux/Unix
  • How to collect CPU usage on Linux using Shell script Linux/Unix
  • PLSQL Table Syntax 1 Oracle
  • Space padding in korn shell Linux/Unix

Sequence Resetting

Posted on 09-Jan-2009 By Admin No Comments on Sequence Resetting

—————— CS Sequences maintenance——————-

column last_number format 9999999999999999

select * from user_sequences where sequence_name in (‘UOC_ORDER_SEQ_ID’);

select 2300000000 – CurrVAl – 20 LAST_NUMBER from dual;

alter sequence UOC_ORDER_SEQ_ID increment by NOCACHE;

Increment Once.

select UOC_ORDER_SEQ_ID.nextval from dual;

Confirm Value comes to 2300000000. After that

alter sequence UOC_ORDER_SEQ_ID increment by 1 NOCACHE;

alter sequence UOC_ORDER_SEQ_ID maxvalue 2399999999 NOCACHE;

Oracle, SQL scripts

Post navigation

Previous Post: DBMS_SQL for alter session.
Next Post: Oracle 11g RAC on OEL 5 and Vmware 2

Related Posts

  • Good notes for shared pool Oracle
  • Remove duplicate rows from table Oracle
  • normal maintenance for exp-imp and renaming table Oracle
  • Adding Datafile on Primary Server and Impact on Standby Server Oracle
  • Wait time tuning research Oracle
  • Oracle Release Explaination 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
  • Unix split command to split files Linux/Unix
  • oracle_env_10g_CADEV Linux/Unix
  • Jai Shree Ram Oracle
  • How To Limit The Access To The Database So That Only One User Per Schema Are Connected (One Concurrent User Per Schema) Oracle
  • How to know current SID Oracle
  • Settting up get_vmstat.sh for colletinf CPU Usage. Oracle
  • Shuffle an array PHP/MYSQL/Wordpress
  • DB Console Mainenance. Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme