加载中…
  
博文
(2013-12-17 16:11)
标签:

it

分类: DB2

ALTER SEQUENCE statement

The ALTER SEQUENCE statement can be used to change a sequence in any of these ways:
  • Restarting the sequence
  • Changing the increment between future sequence values
  • Setting or eliminating the minimum or maximum values
  • Changing the number of cached sequence numbers
  • Changing the attribute that determines whether the sequence can cycle or not
  • Changing whether sequence numbers must be generated in order of request

Invocation

This statement can be embedded in an application program or issued through the use of dynamic SQL statements. It is an executable statement that can be dynamically prepared only if DYNAMICRULES run behavior is in effect for the package (SQLSTATE 42509).

Authorization

The privileges held by the authorization ID of the statement must include at least one of the following:
  • ALTE
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有