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:
hello

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.
Posted
Comments
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?

   
Comments
Maciej Los 25-Mar-13 7:57am
   
Short and to the point!
+5!
Shanalal Kasim 26-Mar-13 0:32am
   
+5
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