摘要: GetDate()获得的日期由两部分组成,分别是今天的日期和当时的时间(yyyy-mm-dd hh:mi:ss: mmm) 1 使用Convert()函数: select convert(char(10),GetDate(),120) as Date * 第3个参数就是用来设置日期类型数据的显示样式 阅读全文
posted @ 2018-01-12 17:34 飘阳小果 阅读(2849) 评论(0) 推荐(0) 编辑
摘要: 1.INSERT INTO SELECT语句 语句形式为:Insert into Table2(field1,field2,...) select value1,value2,... from Table1 或者:Insert into Table2 select * from Table1 注意: 阅读全文
posted @ 2018-01-12 17:30 飘阳小果 阅读(66032) 评论(1) 推荐(1) 编辑
摘要: ① aspx中嵌入后台处理代码,用<% %> 例1: <div class="panel-body leftPbody"> <div class="panel-group" id="accordion"> <% Response.Write(strListHtml); %> </div> </div 阅读全文
posted @ 2017-12-04 11:29 飘阳小果 阅读(975) 评论(0) 推荐(0) 编辑