Click here to Skip to main content
11,710,472 members (83,293 online)
Rate this: bad
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 1:48am
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
Please Sign up or sign in to vote.

Solution 1

Maciej Los at 25-Mar-13 7:57am
Short and to the point!
Shanalal Kasim at 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
0 Sergey Alexandrovich Kryukov 549
1 OriginalGriff 270
2 Peter Leow 134
3 Abhinav S 130
4 Richard MacCutchan 80
0 Abhinav S 60
1 Member 4653839 40
2 barneyman 35
3 Sergey Alexandrovich Kryukov 35
4 Member 11793820 35

Advertise | Privacy | Mobile
Web04 | 2.8.150819.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