如何执行SQL查询 [英] how can execute a sql query

查看:71
本文介绍了如何执行SQL查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好



当我面对面试时面试官问我一个问题如何执行sql查询

select * from Table_Name



请在执行查询时给我整个所有过程。

解决方案

http://msdn.microsoft.com/en-IN/library/ms190623(v=sql.105)。 aspx [ ^ ]


取决于上下文。

如果这是BindingSource或DataSource,那么您执行查询的过程与使用SqlCommand对象生成DataReader不同。



它还取决于语言。



对不起,但你必须更好地阅读你的面试细节 - 如果没有更好的想法,我们就无法回答你要进入的角色,以及信息的用途!



我建议你从谷歌开始,然后在那里工作。

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.

解决方案

http://msdn.microsoft.com/en-IN/library/ms190623(v=sql.105).aspx[^]


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.


这篇关于如何执行SQL查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆