db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dag H. Wanvik (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-6580) Document the new SYSCS_UTIL.SYSCS_PEEK_AT_IDENTITY function
Date Fri, 23 May 2014 16:18:02 GMT

    [ https://issues.apache.org/jira/browse/DERBY-6580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14007303#comment-14007303
] 

Dag H. Wanvik commented on DERBY-6580:
--------------------------------------

Is it correct/reasonable that all users be able to peek? I'd think a read and/or write privilege
to the table be required...?

> Document the new SYSCS_UTIL.SYSCS_PEEK_AT_IDENTITY function
> -----------------------------------------------------------
>
>                 Key: DERBY-6580
>                 URL: https://issues.apache.org/jira/browse/DERBY-6580
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.11.0.0
>            Reporter: Rick Hillegas
>            Assignee: Kim Haase
>
> The work on DERBY-6542 has introduced a new system function. This function is used to
check the next value which will be issued for an identity column. It is similar to the existing
SYSCS_UTIL.SYSCS_PEEK_AT_SEQUENCE function for sequences. We need to document this new function:
> BIGINT SYSCS_UTIL.SYSCS_PEEK_AT_IDENTITY
> ( IN SCHEMANAME VARCHAR(128), IN TABLENAME VARCHAR(128) )
> All users have permission to run this function.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message