Hi,
Try out this ....
for(int i=0;i<3;i++)
{
for (int j=0;j<=i;j++)
{
if(i==j)
{
cout<<"the diagonal elements are"<<a[i][j];
}
}
}
U too could have even tried...anyways ...try the above
Gauri....
User Profile
Collapse
-
Hi,
No, i dint specify fetch size <0..What ever be the size given, the same error, as said in the previous mail,is reported..
ThankYou,
Gauri....Leave a comment:
-
setFetchSize() in JDBC
Hi,
Can anyone give me a small excutable example on setFetchSize() method in JDBC?
When i am working with it,
<<can not connect to the databasejava.sq l.SQLException: Invalid Fetch Size>>
is the given error report. can u please help me out with a small example?
Thank You,
Gauri.
No activity results to display
Show More
Leave a comment: