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

vb+sql

在VB中,如何执行下面的SQL语句
Update t_Icitem Set f_102 = IsNull(f_102,0)+1 Where FNumber='0001'
比如:
cn.execute("Update t_Icitem Set f_102 = IsNull(f_102,0)+1 Where FNumber='" & text1.text & "'")

关键是Isnull(f_102,0)+ 1这部分如何处理? ......

简单Sql问题

select a.StuSn,a.StuName,a.StuClass,b.总分,c.主观分,d.客观分,e.*,f.*  from(
          (。。。。。。。) as a
          left join
          (。。。。。。。) as b
          on  a ......

SQL语句

一table,开始和结束时间
start_time  ||  end_time 
  8:30      ||  12:00
12:30      ||  17:00
17:30      ||  22:30

12:00--12:30,17:00--17:30 这是休息时间;

另外一个表记录时间
curtime ......

sql语句问题

myOracleDataAdapter = New OleDbDataAdapter("select fbskd, , floctime," & _
"fcustnum,ftranamt,ftrno,fmemo8,ftermid " & _
"from fjnl_his where fmemo8='001140183987001' ", myConnection)


我想把
fcaldat 写成substr(FLOCTIME,1,6)

ftr ......

sql分组问题

对于两个字段如A,B,怎么样有一条语句实现取出A是有重复的,同时B字段要不相同。

我写了个方法很不好,而且还有个大问题。
select * from tonghang_dianping where dianping in (select dianping from tonghang_dianping group by dianping having count(*)>1) and dianping not in (select dianping from to ......

SQL迷惑

CREATE TABLE [Test_xcmtmp] (
[id] [int] IDENTITY (1, 1) NOT NULL ,
[name] [nvarchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
[subject] [nvarchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
[Source] [numeric](18, 0) NULL
) ON [PRIMARY]
GO
INSERT INTO [Test_xcmtmp] ([name],[subject],[So ......
总记录数:27572; 总页数:4596; 每页6 条; 首页 上一页 [4285] [4286] [4287] [4288] 4289 [4290] [4291] [4292] [4293] [4294]  下一页 尾页
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号