Click here to Skip to main content
11,925,896 members (61,802 online)
Rate this:
Please Sign up or sign in to vote.
See more: SQL Server

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
Maciej Los 25-Mar-13 7:53am
Do you expect a short answer?
ryanb31 25-Mar-13 7:54am
What do you want? What was your answer?
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Maciej Los 25-Mar-13 7:57am
Short and to the point!
Shanalal Kasim 26-Mar-13 0:32am
Rate this: bad
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.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.151126.1 | Last Updated 25 Mar 2013
Copyright © CodeProject, 1999-2015
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