查看Mysql编码两种命令:(1)mysql> show variables like 'character%';+--------------------------+----------------------------+| Variable_name | Value ...
分类:
数据库 时间:
2014-10-21 23:08:52
阅读次数:
265
问题:mysql语句中使用like后面的%(百分号) 是不是越多执行效率越慢!
总用时:0.0489秒 0.0691 0.0485 0.0467
SELECT `goods_name`, `goods_img`, `sku_id`, `import` FROM `goods` WHERE `goods_name` LIKE '%iPhone%iPod%' AND `stime` 1413877244 ORDER BY `flag` DESC
总...
分类:
数据库 时间:
2014-10-21 17:50:59
阅读次数:
240
1、使用游标declare @sql varchar(200), @name varchar(40)declare my_cursor scroll cursor for select name from sysobjects where type = 'u' and name like 'j...
分类:
数据库 时间:
2014-10-21 13:43:42
阅读次数:
209
REPORTZSDR035.INCLUDEZSDR035TOP.TABLES: KNA1,MKPF,MSEG,MEAN.DATA: lt_data like TABLE OF ZSMBLIST WITH HEADER LINE.DATA: BEGIN OF lt_data_out OCCURS 0....
分类:
其他好文 时间:
2014-10-21 11:50:27
阅读次数:
331
REPORTZSDR020.INCLUDEZSDR020TOP.TABLES: ZRLB_H,ZRLB_I,KNA1,/ATU/STOREMASTER,MARA,knvv.DATA: ls_data_out type ZSXSFX, lt_data_out like TABLE OF ZS...
分类:
其他好文 时间:
2014-10-21 11:36:03
阅读次数:
243
# A comment, this is so you can read your program later.# Anything after the # is ignored by python.print "I could have code like this." # and the com...
分类:
其他好文 时间:
2014-10-21 10:14:12
阅读次数:
137
I like to joke that I am who I am today because I did everything wrong in my 20's. I've always been fearless, and it often got me in trouble. I wasn't afraid to start
a business, borrow a bunch of m...
分类:
其他好文 时间:
2014-10-20 23:27:46
阅读次数:
577
print "Hello World!" print "Hello Again" print "I like typing this."print "This is fun." print 'Yay! Printing.'print "I'd much rather you 'not'." prin...
分类:
其他好文 时间:
2014-10-20 21:01:43
阅读次数:
171
The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font ...
分类:
其他好文 时间:
2014-10-20 20:49:08
阅读次数:
280
1、统计一下插入的数据总数SELECT COUNT(giftCertificateId) AS number FROM gift_certificate WHERE giftCertificateNo LIKE 'boc%';SELECT giftCertificateId, COUNT(gc.`g...
分类:
数据库 时间:
2014-10-20 13:25:33
阅读次数:
174