How to get the column count and column name from the
resultset in the database connection program?

Answer Posted / ram

you use following sql query

select column name, count(column name)from table name.

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the methods used in UFT to handle exceptions or run-time errors?

641


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))

1495


How to remove the associated function library?

525


How many types of parameters are available in quicktest professional (qtp)?

577


An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?

648






what is object and child object.. explain ..if possible give some example for better understanding ..

1528


What is the Difference between copy to action and call to action?

575


How can you handle exceptions in qtp?

530


How u will do versioning in QTP?

1449


Which functionalities of QTP used in banking project?

1912


what is stepin & stepout?

1416


I am a new tester that needs to create an automatic script involving security questions. On a webpage I need to select a security question(which are random) from a drop down menu, and then input the answer as the last word from the security question. I have the script set-up to automatically select the first security question from the drop down. The problem I am having is trying to insert the security answer. How do I insert the security answer based on the selection from the security question?

1840


What is 'sleep' in sync point?

615


What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?

691


Explain the difference between call to action and copy action?

515