473,473 Members | 2,026 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Sequences cache change

1 New Member
Hello, I have to change cache for all sequences in schema and database.I can not change one by one.My question, is there some script or query which can change cache size for all sequences ??Please help me.

Best regards
May 29 '19 #1
1 1732
zmbd
5,501 Recognized Expert Moderator Expert
Can you explain why you are attempting this?
Sequences are normally one-direction counters alot like the autonumber field in and Access database or the Auto_Increment in MySQL databases

There is a way to set the sequence to a given value but I don't think it's usually advisable

With that said, you might find the following helpful:
https://postgrespro.com/docs/postgre...-altersequence
Jun 5 '19 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: temp | last post by:
Hi All, I wonder could someone help me with this? What I want to do is search through a list of letters and look for adjacent groups of letters that form sequences, not in the usual way of...
3
by: Bite My Bubbles | last post by:
I found the answer! It is a IIS 6 /ASP problem http://support.microsoft.com/default.aspx?scid=kb;en-us;332075
1
by: Franco Bruno Borghesi | last post by:
I've noticed that postgresql 7.4beta2 pgdump dumps sequences like this: CREATE SEQUENCE xxxx INCREMENT BY 1 NO MINVALUE NO MAXVALUE CACHE 1; but postgresql 7.4RC2 doesn't accept this sintax. If...
4
by: Hemant Shah | last post by:
Folks, I have created bunch of sequences in DB2 7.2. How do I list all the defined sequences and if possible their current values? Thanks. --
1
by: GB | last post by:
Hi, Is there a way to get the next sequence number which will be used ? Where is this information stored ? I know how to set it (ALTER TABLE xyz ALTER abc RESTART WITH 123), and I know I...
7
by: C Elson | last post by:
I was hoping someone can help me out. I've searched the pages here and on numerous sites and cannot find an answer that works. I'm trying this code RC4 Encryption/Decryption...
7
by: A.M | last post by:
Hi, How can I change the duration of user control's cache inside asp.net's C# code? Any help would be apprecited, Alan
5
by: Darrel | last post by:
I thought this warranted a new thread. Yesterday I asked about access relatively static content...is it better to read from the DB, or just grab a text file. It was suggested that I use the DB...
0
by: Matthew Hixson | last post by:
I had a bunch of tables that had v_ prepended to their names. I've renamed all of the tables so that they don't have that prefix anymore so that v_address is now addresses. The name of this...
122
by: C.L. | last post by:
I was looking for a function or method that would return the index to the first matching element in a list. Coming from a C++ STL background, I thought it might be called "find". My first stop was...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.