English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

in above statement st is Statement st = null;

2006-10-10 00:08:51 · 5 answers · asked by Anonymous in Computers & Internet Programming & Design

5 answers

Yes it is null, its just used to create a statement.

2006-10-10 00:11:41 · answer #1 · answered by Asher 3 · 0 0

When this code would be executed, st will be a valid command object. Initializing st in this fashion already sets the connection properties for the command object, that's the only advantage. U dont have to set the connection properties for the st object explicitly as it is done by the con object for you automatically...

2006-10-10 00:27:32 · answer #2 · answered by girishjjain 2 · 0 0

This statement is used to get the reference of a forward only cursor which is capable of doing any query operation from the front end tool.

2006-10-11 06:13:46 · answer #3 · answered by Sudha P 2 · 0 0

Well this line of code assigns reference st to a Statement object.

Now you can use this object to execute SQL queries.

2006-10-10 03:04:02 · answer #4 · answered by curiousj 1 · 0 0

this creates a statement which can be used to run a SQL query.

2006-10-10 19:56:58 · answer #5 · answered by Fierce 1 · 0 0

fedest.com, questions and answers