亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 49651 | 回復(fù): 1
打印 上一主題 下一主題

mysql怎么獲取enmu類型的值? [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2018-09-30 14:54 |只看該作者 |倒序?yàn)g覽
enum('GET','HEAD','POST','PUT','DELETE','CONNECT','OPTIONS','TRACE')

類型是這樣樣子的

http表是這樣的
CREATE TABLE `http` (
  `id` bigint(20) DEFAULT NULL,
  `HTTPfield` enum('URL','Accept','Referer','Host','User-Agent','Request Content-Type','Request Transfer-Encoding','Request Body','200 OK','Response','Response Content-Encoding','Response Conten-Type','Response Transfer-Encoding','Response Body') DEFAULT NULL,
  `Keystring` blob,
  `action` enum('Accept','Drop') DEFAULT NULL,
  `isExistContent` tinyint(1) DEFAULT '0' COMMENT '0沒有1有',
  `HTTPrequestfield` enum('GET','HEAD','POST','PUT','DELETE','CONNECT','OPTIONS','TRACE') DEFAULT NULL,
  `HTTPresponsefield` enum('100 Continue','101 Switching Protocols','200 OK','201 Created','202 Accepted','203 Non-Authoritative Informatio','204 No Content','205 Reset Content','206 Partial Content','300 Multiple Choices','301 Moved Permanently','302 Found','303 See Other','304 Not Modified','305 Use Proxy','306 Unused','307 Temporary Redirect','400 Bad Request','401 Unauthorized','402 Payment Required','403 Forbidden','404 Not Found','405 Method Not Allowed','406 Not Acceptable','407 Proxy Authentication Required','408 Request Time-out','409 Conflict','410 Gone','411 Length Required','412 Precondition Failed','413 Request Entity Too Large','414 Request-URI Too Large','415 Unsupported Media Type','416 Requested range not satisfiable','417 Expectation Failed','500 Internal Server Error','501 Not Implemented','502 Bad Gateway','503 Service Unavailable','504 Gateway Time-out','505 HTTP Version not supported') DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1




SHOW COLUMNS FROM http WHERE FIELD='HTTPrequestfield';  命令獲取的是這樣的

Field             Type                                                                  Null    Key     Default  Extra   
----------------  --------------------------------------------------------------------  ------  ------  -------  --------
HTTPrequestfield  enum('GET','HEAD','POST','PUT','DELETE','CONNECT','OPTIONS','TRACE')  YES             (NULL)           




然而我想要的是  
Type
--------------------------------------------------------------------  
GET
HEAD
POST
PUT
DELETE
CONNECT
OPTIONS
TRACE


有沒有什么辦法???

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2018-09-30 14:55 |只看該作者
mysql版本5.1.73
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP