易截截图软件、单文件、免安装、纯绿色、仅160KB

以下SQL語句有問題嗎?

以下SQL語句有問題嗎,
怎么無法實現功能?
VB code:

If Len(Time) = 7 Then '當前時間長度等于7位,表示當前時間<10:00:00
If Left(Time, 1) * 3600 + Mid(Time, 3, 2) * 60 + Mid(Time, 6, 2) < 2800 Then '如果當前時間小于8點,計算一天周期為前一天8點到該天該時間
sql3 = "select SN,Name,Skuno,Barcode,InputDateTime,InStorageUser,Flag from Info where AnalysisID='" & AnalysisIDCombo.Text & "' and (ShoppingInDateTime between # " & (Date - 1) + CDate(Format(80000, #12:00:00 AM#)) & "# and #" & Now & "#) order by ShoppingInDateTime"
GoTo DataGrid1
Else '如果當前時間大于8點,計算一天周期為該天8點到該天該時間
sql3 = "select SN,Name,Skuno,Barcode,InputDateTime,InStorageUser,Flag from Info where AnalysisID='" & AnalysisIDCombo.Text & "' and (ShoppingInDateTime between # " & Date + CDate(Format(80000


相关问答:

门外汉求助...关于后台+SQL+ASP

....接到一个小程序..工作原来大概是这样的...前台是WEB服务器.架构就是ASP+SQL..前台由ASP向SQL添加服务类别(表单).然后又后台程序读取表单..要实时读取..然后显示在服务器上面..从理论上面能行通不?如果可以..后台 ......

sql server 存储过程循环赋值的问题

小弟是个新手 现在有个问题一直不能解决
例如
procedure produce_proc
    @p001 nvarchar(8000),
    @p002 nvarchar(8000),
    @p003 nvarchar(8000),
  & ......

总会碰到怪的问题,sql问题

sql2005
select *from v_ddxx where d_sfsc='0' and (g_ssbm='1001' or g_ssbm='1002') and (xxf>0 and  xxfwzf <>0 ),执行速度慢的要死,但是如果把(xxf>0 and  ......

sql 问题

PB中开发的。

DateTime startTime=DateTime(em_1.Text)
DateTime endTime=DateTime(em_2.Text)

string sql
sql = dw_1.GetSQLSelect()+"Where (StartTime> '"+startTime+&q ......

求一个sql 语句

  table1
  名称      入库数
  CT机        3   
  CT机        5
  X光机      4 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号