易截截图软件、单文件、免安装、纯绿色、仅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
 最新文章 : mssql

求一个mssql的sql语句 - MS-SQL Server / 基础类

判断表中是否有大于10条以上的数据,
如果存在则按最好录入的时间,删除掉多余的数据。。
保持数据表中只有10条最新的数据。。
谢谢。
select ID,count(1) from TB group by ID having count(1)>10


SQL code:
;with t as
(
select rn=row_number()over(order by date desc),*
from tb
)
select * fr ......

Mssql2005 xml 查询 使用 exist - .NET技术 / C#

SQL code:

@uid int
@money float
If not exists(SELECT null from bc_users_table where bet_id=@uid and bet_hk_rationing.exist('/root/items[@straight_bet>'+@money+']') = 1)
--BEGIN
select '1111‘
--RETURN
END
exist 参数 1 必须为 中文字符?
哪位朋友遇� ......

mssql函数翻译 - 其他数据库开发 / MySQL/Postgresql

跪求将以下函数翻译为 mysql 的语法
CREATE FUNCTION workdayadd( 
@date datetime, --基础日期 
@workday int --要增加的工作日数 
)RETURNS datetime 
AS 
BEGIN 
DECLARE @bz int 
--增加整周的天数 
SELECT @bz=CASE WHEN @workday<0 THEN -1 ELSE 1 END& ......

msSql 修改时间字段 - MS-SQL Server / 基础类

表A
SQL code:
autoID outDate type resultDate
1 2010-05-10 11:12:03 1 null
2 2010-05-10 15:10:03 0 null
3 2010-05-12 11:12:03 0 null
4 2010-05-14 11:12:03 ......

mssql null 的问题 - MS-SQL Server / 疑难问题

select case null
when '' then '1' 
when null then '2' --为什么没有在这个位置判断出来
else '3' 
end a 
select 1 a,2 b into #a
select isnull(b,0) b from #a where a=2
--b列没有数据 应该用什么来判断b是空的呢


--b列没有数据 应该用什么来判断b是空的呢
where b is null

NU ......

oracle 如何调用mssql存储过程 - Oracle / 高级技术

oracle 通过BDlink 连接到一台MS SQL,查询都可以,但是不知道如何在oracle通过DBLink调用MS SQL的存储过程,求解~谢谢~
引用
oracle 通过BDlink 连接到一台MS SQL,查询都可以,但是不知道如何在oracle通过DBLink调用MS SQL的存储过程,求解~谢谢~
查询可以的话 那调用存储过程也不是问题 和你的查询是一样的

查询语句是 ......
总记录数:200; 总页数:34; 每页6 条; 首页 上一页 [1] [2] 3 [4] [5] [6] [7] [8] [9] [10]  下一页 尾页
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号