07 2017 档案
摘要:数据备份: 使用mysqldump命令备份 mysqldump命令可以讲数据库中的数据备份成一个文本文件。表结果和表中的数据将存储在生成的文本中。mysqldump的工作原理很简单。他先查出需要备份的表结构,在在文本中文件中生存一个create语句,然后,将表中的所有记录转换成一条insert语句,
阅读全文
摘要:css:<style> .img-container { position: relative; width: 291px; } .img-container:after{ content: ''; display: inline-block; width: 100%; height: 100%;
阅读全文
摘要:if object_id('[Feng]') is not null drop table [Feng] go create table [Feng] ( [TestName] nvarchar(30) ) insert [Feng] select 'a1,b2,c3,d4,e5' union al
阅读全文
摘要:select 类别, 名称 = ( stuff( (select ',' + 名称 from Table_A where 类别 = A.类别 for xml path('')), 1, 1, '' ) ) from Table_A as A group by 类别 --主要是stuff函数的使用 详
阅读全文

浙公网安备 33010602011771号