db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravinder Reddy (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2968) convert lang/renameTable.sql to JUnit
Date Sun, 29 Jul 2007 19:26:53 GMT

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

Ravinder Reddy commented on DERBY-2968:
---------------------------------------

1)
public void testRenameOpenCursoredTable() throws SQLException
{
        Statement s = createStatement();
        assertUpdateCount(s , 0 , "create table t2(c21 int not null primary key)");
        assertUpdateCount(s , 1 , "insert into t2 values(21)");
        assertUpdateCount(s , 1 , "insert into t2 values(22)");
        //s.executeUpdate("get cursor c1 as 'select * from t2'");
        //assertStatementError("X0X95" , s , "rename table t2 to fake");
}
   I am getting syntax error in --- >  get cursor c1 as 'select * from t2' statement.
plzz help me 
Thank You
    
 

> convert lang/renameTable.sql to JUnit
> -------------------------------------
>
>                 Key: DERBY-2968
>                 URL: https://issues.apache.org/jira/browse/DERBY-2968
>             Project: Derby
>          Issue Type: Test
>            Reporter: Ravinder Reddy
>            Assignee: Ravinder Reddy
>         Attachments: DERBY-2968.diff
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message