Click here to Skip to main content
15,042,336 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:

when i am facing interview interviewer asked me one question how can execute a sql query
select * from Table_Name

please give me whole all process when a query executing.
Maciej Los 25-Mar-13 7:53am
Do you expect a short answer?
ZurdoDev 25-Mar-13 7:54am
What do you want? What was your answer?

Maciej Los 25-Mar-13 7:57am
Short and to the point!
Shanalal Kasim 26-Mar-13 0:32am
Depends on the context.
If this is a BindingSource or a DataSource then the process by which you cause the query to be executed is different from using an SqlCommand object to produce a DataReader.

It also depends on teh language.

Sorry, but you will have to read up on your interview details better - we can't answer that without a much, much better idea of the role you are going into, and the use to which the info would be put!

I would suggest you start with google, and work from there.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900