cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding JDBC Adapter

Former Member
0 Kudos

Hi All,

If We r Dealing with JDBC Serder Means

We have "<b>Query Sql Statement & Update Sql Statement "</b> in Processing Parameters.

what is the Use of these ??? When we Will use these ?????

Can Any one Please Explain this

Regards

Vamsi

Accepted Solutions (1)

Accepted Solutions (1)

prabhu_s2
Active Contributor
0 Kudos

<b>Query Sql Statement</b> executes the query and retreives the data for processing.

<b>Update Sql Statement</b> upon retreival of some data u may want to update few fields. in this case u write an update query here

Former Member
0 Kudos

Hi,

>>>><i>Update Sql Statement upon retreival of some data u may want to update few fields. in this case u write an update query here</i>

Q1) If we did this, this will be the Permanant Changes to the database or Temporarly changes ????

Q2) This Update Sql Stement is Mandatory Input to the JDBC Sender or Optional One ???

Regards

Vamsi

prabhu_s2
Active Contributor
0 Kudos

<b>Q1) If we did this, this will be the Permanant Changes to the database or Temporarly changes ????</b>

permanent

<b>

Q2) This Update Sql Stement is Mandatory Input to the JDBC Sender or Optional One ???</b>

updation of DB is optional but mandatory input is required somehting like <TEST> if u are not goping to update any table in DB.

Message was edited by:

Prabhu S

Former Member
0 Kudos

It will be permanent changes.

If u dont wanna update then put <NONE> or <TEST>.

Regards

Sushil

santhosh_kumarv
Active Contributor
0 Kudos

<b>Q1) If we did this, this will be the Permanant Changes to the database or Temporarly changes ????</b>

Temporary...[ But permanant untill u make any changes to that data in future ]

Q2) This Update Sql Stement is Mandatory Input to the JDBC Sender or Optional One ???

Optional....[ But mandatory when u make changes to table content using JDBC]

Regards

Santhosh

Answers (4)

Answers (4)

prabhu_s2
Active Contributor
0 Kudos
santhosh_kumarv
Active Contributor
0 Kudos

Hi Vamsi,

The UPDATE statement is used to modify the data in a table i.e if u make some changes to the existing content of the table u actually UPDATE the table to make the changes effect.

QUERY returns the result of the table selected by the SELECT * statement.

http://www.w3schools.com/sql/sql_update.asp

Regards

Santhosh

former_member614185
Contributor
0 Kudos

>Query Sql Statement used to select some records from your database

-


>Update Sql Statement used to update your database records after your select query fetches records from you DB

Former Member
0 Kudos

Query string is ur select statement i.e. on what conditino u wannt to select the data from database.

Update statement it to update the record so next in next select it should not be picked up or in other words, to set the record as read which has been selected in select query.

Regards

Sushil