上一页 1 2 3 4 5 6 7 8 ··· 10 下一页
  2009年3月10日
摘要: <!--<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">--><html xmlns="http://www.w3.org/1999/xhtml"><head>... 阅读全文
posted @ 2009-03-10 10:42 Good life 阅读(172) 评论(0) 推荐(0) 编辑
  2009年3月4日
摘要: declare @t table( c varchar(10));insert @tselect *from (select 'A' as c union allselect 'B' union allselect 'B' union allselect null union allselect null) t;select count(*) from @t;select count(c) fro... 阅读全文
posted @ 2009-03-04 11:23 Good life 阅读(216) 评论(0) 推荐(0) 编辑
  2009年2月19日
摘要: 一、测试代码:1、aspx:<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org... 阅读全文
posted @ 2009-02-19 11:38 Good life 阅读(974) 评论(0) 推荐(0) 编辑
  2008年12月6日
摘要: http://renaun.com/flex2/posts/CairngormStoreWebMain.html 阅读全文
posted @ 2008-12-06 17:49 Good life 阅读(124) 评论(0) 推荐(0) 编辑
  2008年12月4日
摘要: -- sql serverselect idfrom(select '1' as id union allselect '2' union allselect '3' union allselect '4' union allselect '5' ) torder by case when charindex(id, '3, 2, 4, 1') = 0 then 1000000 else char... 阅读全文
posted @ 2008-12-04 12:39 Good life 阅读(211) 评论(0) 推荐(0) 编辑
  2008年11月29日
摘要: -- take AdventureWorks database as exampledeclare @fromDate datetime, @dueDate datetimeselect @fromDate = '2003-09-01', @dueDate='2003-09-16'select top 100 a.ProductId, convert(nvarchar(10), b.OrderDa... 阅读全文
posted @ 2008-11-29 11:44 Good life 阅读(213) 评论(0) 推荐(0) 编辑
  2008年10月23日
摘要: 一个普通的aspx页面,我们可以很容易地为其设置设置defaultbutton和defaultfocus,具体如下:.aspx:<form id="form1" runat="server"> <div> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <asp:Button I... 阅读全文
posted @ 2008-10-23 10:05 Good life 阅读(617) 评论(2) 推荐(0) 编辑
  2008年8月28日
摘要: -------- begining of the structure of test -------- /* userId userName 1 John1 2 John2 3 John3 4 John4 5 John5 */ ------------- record 1 --------------- declare v_record test%R... 阅读全文
posted @ 2008-08-28 11:58 Good life 阅读(1182) 评论(1) 推荐(0) 编辑
摘要: -------- begining of the structure of test --------/*userId userName1 John12 John23 John34 John45 John5*/ ---------------- part 1 ----------------declare cursor v_cursor is selec... 阅读全文
posted @ 2008-08-28 11:47 Good life 阅读(740) 评论(0) 推荐(0) 编辑
  2008年8月27日
摘要: sqlplus数据显示格式很不方便:n字段名称显示为n行,数据也是如此,并且查询结果每3条数据为一段。如何设置其格式,使其显示结果类似sqlserver的查询分析器那样的格式,象一个数据表的格式。 sql>set linesize 99999 sql>set heading off 阅读全文
posted @ 2008-08-27 18:07 Good life 阅读(720) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 10 下一页