venkatpavan
Programmer
Hi,
My sample script;
Select A,B,C from Table...doing database connection and getting query results.
If (defined $query_results),
than checking A from database = A from file,B from DB = B from file, than do....something
Else ,Do something else.
In the above script,
Q1: How do I check whether my query results more than one row or only one row or no rows at all.
Q2: How can I assign variables to the query result values,So that I can do above check.
Thanks,
V
My sample script;
Select A,B,C from Table...doing database connection and getting query results.
If (defined $query_results),
than checking A from database = A from file,B from DB = B from file, than do....something
Else ,Do something else.
In the above script,
Q1: How do I check whether my query results more than one row or only one row or no rows at all.
Q2: How can I assign variables to the query result values,So that I can do above check.
Thanks,
V