Gossamer Forum
Home : General : Databases and SQL :

counter in interbase

Quote Reply
counter in interbase
Why wont interbase not accept this ... its working just fine with mysql??

public int tæller()
{
int ialt=0;
try
{
ResultSet row = db.select( "SELECT count(*) AS Amount FROM Gaest" );

ialt = row.getInt("Amount");
}
catch( SQLException cs )
{
System.out.println( cs );
}
return ialt;
}

Subject Author Views Date
Thread counter in interbase aslan 4034 Jun 13, 2002, 1:39 AM
Post Re: [aslan] counter in interbase
Stealth 3819 Jun 15, 2002, 7:38 PM