Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: SQL Server
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 25-Mar-13 2:48am
Comments
Maciej Los at 25-Mar-13 7:53am
   
Do you expect a short answer?
ryanb31 at 25-Mar-13 7:54am
   
What do you want? What was your answer?
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Comments
Maciej Los at 25-Mar-13 7:57am
   
Short and to the point!
+5!
Shanalal Kasim at 26-Mar-13 0:32am
   
+5
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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.
  Permalink  

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



Advertise | Privacy | Mobile
Web01 | 2.8.1411022.1 | Last Updated 25 Mar 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100