Search your topic here

EXECUTE AN SQL STATEMENT

EXECUTE AN SQL STATEMENT:

There are three methods to execute the statement, which are execute( ), executeQuery( ) and executeUpdate( ).

Syntax:
stmt.execute( );
stmt.execute( String str);
Syntax:
stmt.executeQuery( );
stmt.executeQuery( String str);
Syntax:
stmt.executeUpdate( );

stmt.executeUpdate( String str );

LEAVE A REPLY