易截截图软件、单文件、免安装、纯绿色、仅160KB
热门标签: c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 最新文章 :

问个SQL语句啊 - MS-SQL Server / 疑难问题

查出cx包裹5的...但是不要查出来15,25,35,之类的

1L正解我蹭分

SQL code:
--> 测试数据:[tb]
if object_id('[tb]') is not null drop table [tb]
go
create table [tb](cx varchar(8))
insert [tb]
select '1,' union all
select '5,12' union all
select '15,23,' union all
select '25,35,' union al ......

ssh2 执行sql 语句错误 - Java / Web 开发


SSH2 中执行代码:
Java code:

Session se = getHibernateTemplate().getSessionFactory().openSession();

Query query = se.createSQLQuery("select * from student");

List<Student> list = query.list();
Syste ......

求sql语句 - MS-SQL Server / 疑难问题

A表 B表
id name id money
1 张三 1 1000
2 李四 2 5000
3 张三 3 3000
4 李四 4 7000
a表id和b表id是主外键关系
完成查询结果
1)  
name money &n ......

关于动态构造sql - MS-SQL Server / 基础类

SQL code:
declare
@s varchar(1000)
set @s = '1,23,a'
declare
@sql varchar(1000)
declare
@temptb table(IDList varchar(8000))
set @sql = 'select col= '''
+ replace(@s,',','''union all select ''')
+ ''''
print (@sql)
exec (@sql)
这里的结果我如何拿出来用啊
SQL code:
输出参数
......

SQL Server创建作业 - MS-SQL Server / 应用实例

创建作业 定时调用几个存储过程,该怎么写?存储过程的参数怎么传?

2005在对象资源管理器里面

SQL语句该怎么写

"命令"中输入要执行的语句:
这个需要你自己写啊 
这里输入存储过程..

我是说用SQL语句如何创建作业
......

求一SQL语句 - 其他数据库开发 / MySQL/Postgresql

有一订单表
SQL code:
t_orders{
oid,
user_id,
booking_time
}
用户拥有的订单数
SQL code:
select o.user_id, count(o.oid) as amount from t_orders o where booking_time between (time1, between2)
group by o.user_id order by amount
====================
user_id amount
10001 1
10002 1
......
总记录数:27572; 总页数:4596; 每页6 条; 首页 上一页 [629] [630] [631] [632] 633 [634] [635] [636] [637] [638]  下一页 尾页
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号