阿里电面问到了相关的知识,在网上找到这方面的文章。这几个关键字是查询递归数据的,形成一个树状结构。目前只有oracle支持,其他数据都要结合存储过程实现语法:
select * from some_table [where 条件1] connect by [条件2] start with [条件3....
分类:
数据库 时间:
2014-06-07 03:43:40
阅读次数:
241
把视图省、市、街道表单数据,封装成一个类,作为action参数。如下:
action方法参数类型: namespace MvcApplication1.Models{ public class Customer { public
string Address { get; set; } }} 在自定...
分类:
Web程序 时间:
2014-06-07 02:59:40
阅读次数:
241
Nginx常用来做反向代理,但是作为正向代理大家有没有试过呢?Nginx配置如下:server{
resolver x.x.x.x; listen 82; location / {
proxy_passhttp://$http_host$request_uri; }}注意项:1. 不能有hostna...
分类:
其他好文 时间:
2014-05-30 10:48:33
阅读次数:
237
1. 连接ftp服务器格式:ftp [hostname|
ip-address]a)在linux命令行下输入:ftp192.168.1.1b)服务器询问你用户名和密码,分别输入用户名和相应密码,待认证通过即可。2.
下载文件下载文件通常用get和mget这两条命令。a) get 格式:get [re...
分类:
系统相关 时间:
2014-05-30 04:18:58
阅读次数:
315
In Eclipse, from the Window menu, select Open
Perspective > Other... > DDMS. Select the Kindle Fire tablet, and click
the camera icon. (If the tablet ...
分类:
系统相关 时间:
2014-05-29 20:29:15
阅读次数:
479
The sound of a mosquito can mean trouble in many
parts of the world.The bite of a mosquito can be deadly.Today, we will hear
about some of the disease...
分类:
其他好文 时间:
2014-05-29 18:03:42
阅读次数:
246
Original link: How to check if Directory
already Exists in MFC(VC++)?MSDN Links:CreateDirectory functionGetFileAttributes
functionGetLastError functio...
分类:
其他好文 时间:
2014-05-29 17:49:25
阅读次数:
371
ShortCutToText , TextToShortCut 需 uses
Menus;typeTForm1 = class(TForm)HotKey1: THotKey;Button1: TButton;procedure
Button1Click(Sender: TObject);proced...
分类:
其他好文 时间:
2014-05-29 16:52:29
阅读次数:
322
1.64bit模拟器不能正常工作解决:请将Xcode5 的 Project -> Edit
Active Target -> Build Settings -> Linking -> Other Linker
Flags中的"-ObjC"修改为"-all_load"2.程序死在_mapView = ...
分类:
移动开发 时间:
2014-05-28 13:39:24
阅读次数:
254
http://www.cnblogs.com/sislcb/archive/2008/11/24/1339913.html0.引入MySQLdb库import
MySQLdb1.和数据库建立连接conn=MySQLdb.connect(host="localhost",user="root",pas...
分类:
数据库 时间:
2014-05-28 11:07:39
阅读次数:
280