-
关于web中下拉列表的几种实现方法
id,String value)1.使用JSTL的forEach方式select name=”xx” ……..c:forEach items="$" var="p" c:choose&
应用 2005-12-08
-
sqlplus中改变日期的输出格式
工作中碰到用spool导出数据,其中有日期格式的字段,因为format了各列,就不想用to_char把日期再format了,而且用to_char的话还要把要所有的列都写在select语句
应用 2005-12-02
-
精彩的近乎完美的分页存储过程
)asif(@docount=1)beginselect count(id) from luntan where this_id=@this_idendelsebegin
应用 2005-11-18
-
ORACLE中生成流水号
FOR EACH ROWbeginselect EXAMPLE_SEQ.nextval into :new.E
应用 2005-11-16
-
观察目前谁在使用RBS
观察目前谁在使用RBSSELECT r.name rr,nvl(s.username,''no transaction'') us,s.osuser os,s.terminal te
应用 2005-11-13
-
SQL Server SA权限总结经典技术
:1.去掉xp_cmdshell扩展过程的方法是使用如下语句:if exists (select * from dbo.sysobjects where id=object_id(N''[dbo].[xpcmdshell]'') and OBJECTPROPERTY
应用 2005-11-09
-
在Oracle中返回多个结果集
CURSOR 输出参数。以下是返回两个结果集(全部 EMPLOYEES 和 JOBS 记录)的包规范:CREATE OR new PACKAGE SELECT_EMPLO
应用 2005-11-09
-
列出SQLSERVER数据库中所有表及字段信息
程序思想:用SELECT name From sysobjects WHERE xtype = ''u''得到所有表,然后循环打开表,根据Rs_Colums.Fields(I).Name 得到
应用 2005-11-05
-
使用MySQL认证ProFTPD用户
grant select, update on ftpdb.* to proftpd@"%" identified by ''pa
应用 2005-11-03
-
SQL SERVER中对查询结果随机排序
, or to return x number of randomly chosen rows, you can use the RAND function inside the SELECT statement.
应用 2005-10-31